I’ve been without internet for about 5 months and haven’t been able to upgrade my Vero4K. Today I got reconnected and tried to upgrade the unit. Unfortunately, I’m met with an ‘unknown package’ error and it cannot update.
I got this when I tried to manually run the update.
osmc@vero:~$ sudo apt-get clean
osmc@vero:~$ sudo apt-get autoclean
Reading package lists… Done
Building dependency tree
Reading state information… Done
osmc@vero:~$ sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 Index of /debian buster InRelease
Hit:4 Index of /debian buster-updates InRelease
Hit:3 Index of /osmc/osmc/apt buster InRelease
Reading package lists… Done
osmc@vero:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libc-devtools : Depends: libgd3 (>= 2.1.0~alpha~) but it is not installed
vero3-device-osmc : Depends: locales but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
osmc@vero:~$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
linux-libc-dev python-apt python-certifi python-chardet python-dbus
python-gi python-gobject python-gobject-2 python-idna python-pexpect
python-pil python-ptyprocess python-requests python-six python-unidecode
python-urllib3 wireless-firmware-osmc
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
locales
Suggested packages:
libgd-tools
Recommended packages:
manpages
The following NEW packages will be installed:
libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
locales
0 upgraded, 9 newly installed, 0 to remove and 87 not upgraded.
2 not fully installed or removed.
Need to get 6062 kB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /debian buster/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
Get:2 Index of /debian buster/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
Get:3 Index of /debian buster/main armhf libxcb1 armhf 1.13.1-2 [132 kB]
Get:4 Index of /debian buster/main armhf libx11-data all 2:1.6.7-1+deb10u2 [299 kB]
Get:7 Index of /debian buster/main armhf libx11-6 armhf 2:1.6.7-1+deb10u2 [698 kB]
Get:5 Index of /osmc/osmc/apt buster/main armhf libc-bin armhf 2.28-110.4 [667 kB]
Get:8 Index of /debian buster/main armhf libxpm4 armhf 1:3.5.12-1 [44.0 kB]
Get:9 Index of /debian buster/main armhf libgd3 armhf 2.2.5-5.2 [117 kB]
Get:6 Index of /osmc/osmc/apt buster/main armhf locales all 2.28-110.4 [4061 kB]
Fetched 6062 kB in 6s (1063 kB/s)
Preconfiguring packages …
dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root’s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
osmc@vero:~$
osmc@vero:~$ osmc@vero:~$ sudo apt-get clean
-bash: osmc@vero:~$: command not found
osmc@vero:~$ osmc@vero:~$ sudo apt-get autoclean
Preconfiguring packages …
dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root’s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
-bash: osmc@vero:~$: command not found
osmc@vero:~$ Reading package lists… Done
-bash: Reading: command not found
osmc@vero:~$ Building dependency tree
-bash: Building: command not found
osmc@vero:~$ Reading state information… Done
-bash: Reading: command not found
osmc@vero:~$ osmc@vero:~$ sudo apt-get update
-bash: osmc@vero:~$: command not found
osmc@vero:~$ Hit:1 http://security.debian.org buster/updates InRelease
-bash: Hit:1: command not found
osmc@vero:~$ Hit:2 Index of /debian buster InRelease
-bash: Hit:2: command not found
osmc@vero:~$ Hit:4 Index of /debian buster-updates InRelease
-bash: Hit:4: command not found
osmc@vero:~$ Hit:3 Index of /osmc/osmc/apt buster InRelease
-bash: Hit:3: command not found
osmc@vero:~$ Reading package lists… Done
-bash: Reading: command not found
osmc@vero:~$ osmc@vero:~$ sudo apt-get dist-upgrade
-bash: osmc@vero:~$: command not found
osmc@vero:~$ Reading package lists… Done
-bash: Reading: command not found
osmc@vero:~$ Building dependency tree
-bash: Building: command not found
osmc@vero:~$ Reading state information… Done
-bash: Reading: command not found
osmc@vero:~$ You might want to run ‘apt --fix-broken install’ to correct these.
-bash: You: command not found
osmc@vero:~$ The following packages have unmet dependencies:
-bash: The: command not found
osmc@vero:~$ libc-devtools : Depends: libgd3 (>= 2.1.0~alpha~) but it is not installed
-bash: syntax error near unexpected token (' osmc@vero:~$ vero3-device-osmc : Depends: locales but it is not installed -bash: vero3-device-osmc: command not found osmc@vero:~$ E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). -bash: syntax error near unexpected token
(’
osmc@vero:~$ osmc@vero:~$ sudo apt --fix-broken install
-bash: osmc@vero:~$: command not found
osmc@vero:~$ Reading package lists… Done
-bash: Reading: command not found
osmc@vero:~$ Building dependency tree
-bash: Building: command not found
osmc@vero:~$ Reading state information… Done
-bash: Reading: command not found
osmc@vero:~$ Correcting dependencies… Done
-bash: Correcting: command not found
osmc@vero:~$ The following packages were automatically installed and are no longer required:
-bash: The: command not found
osmc@vero:~$ linux-libc-dev python-apt python-certifi python-chardet python-dbus
-bash: linux-libc-dev: command not found
osmc@vero:~$ python-gi python-gobject python-gobject-2 python-idna python-pexpect
-bash: python-gi: command not found
osmc@vero:~$ python-pil python-ptyprocess python-requests python-six python-unidecode
-bash: python-pil: command not found
osmc@vero:~$ python-urllib3 wireless-firmware-osmc
-bash: python-urllib3: command not found
osmc@vero:~$ Use ‘sudo apt autoremove’ to remove them.
-bash: Use: command not found
osmc@vero:~$ The following additional packages will be installed:
-bash: The: command not found
osmc@vero:~$ libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
-bash: libc-bin: command not found
osmc@vero:~$ locales
-bash: locales: command not found
osmc@vero:~$ Suggested packages:
-bash: Suggested: command not found
osmc@vero:~$ libgd-tools
-bash: libgd-tools: command not found
osmc@vero:~$ Recommended packages:
-bash: Recommended: command not found
osmc@vero:~$ manpages
-bash: manpages: command not found
osmc@vero:~$ The following NEW packages will be installed:
-bash: The: command not found
osmc@vero:~$ libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
-bash: libc-bin: command not found
osmc@vero:~$ locales
-bash: locales: command not found
osmc@vero:~$ 0 upgraded, 9 newly installed, 0 to remove and 87 not upgraded.
-bash: 0: command not found
osmc@vero:~$ 2 not fully installed or removed.
-bash: 2: command not found
osmc@vero:~$ Need to get 6062 kB of archives.
-bash: Need: command not found
osmc@vero:~$ After this operation, 23.0 MB of additional disk space will be used.
-bash: After: command not found
osmc@vero:~$ Do you want to continue? [Y/n] y
-bash: Do: command not found
osmc@vero:~$ Get:1 Index of /debian buster/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
-bash: Get:1: command not found
osmc@vero:~$ Get:2 Index of /debian buster/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
-bash: Get:2: command not found
osmc@vero:~$ Get:3 Index of /debian buster/main armhf libxcb1 armhf 1.13.1-2 [132 kB]
-bash: Get:3: command not found
osmc@vero:~$ Get:4 Index of /debian buster/main armhf libx11-data all 2:1.6.7-1+deb10u2 [299 kB]
-bash: Get:4: command not found
osmc@vero:~$ Get:7 Index of /debian buster/main armhf libx11-6 armhf 2:1.6.7-1+deb10u2 [698 kB]
-bash: Get:7: command not found
osmc@vero:~$ Get:5 Index of /osmc/osmc/apt buster/main armhf libc-bin armhf 2.28-110.4 [667 kB]
-bash: Get:5: command not found
osmc@vero:~$ Get:8 Index of /debian buster/main armhf libxpm4 armhf 1:3.5.12-1 [44.0 kB]
-bash: Get:8: command not found
osmc@vero:~$ Get:9 Index of /debian buster/main armhf libgd3 armhf 2.2.5-5.2 [117 kB]
-bash: Get:9: command not found
osmc@vero:~$ Get:6 Index of /osmc/osmc/apt buster/main armhf locales all 2.28-110.4 [4061 kB]
-bash: Get:6: command not found
osmc@vero:~$ Fetched 6062 kB in 6s (1063 kB/s)
-bash: syntax error near unexpected token `(’
osmc@vero:~$ Preconfiguring packages …
-bash: Preconfiguring: command not found
osmc@vero:~$ dpkg: warning: ‘ldconfig’ not found in PATH or not executable
-bash: dpkg:: command not found
osmc@vero:~$ dpkg: error: 1 expected program not found in PATH or not executable
-bash: dpkg:: command not found
osmc@vero:~$ Note: root’s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
osmc@vero:~$ sudo apt-get clean
osmc@vero:~$ sudo apt-get autoclean
Reading package lists… Done
Building dependency tree
Reading state information… Done
osmc@vero:~$ sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 Index of /debian buster InRelease
Hit:4 Index of /debian buster-updates InRelease
Hit:3 Index of /osmc/osmc/apt buster InRelease
Reading package lists… Done
osmc@vero:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libc-devtools : Depends: libgd3 (>= 2.1.0~alpha~) but it is not installed
vero3-device-osmc : Depends: locales but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
osmc@vero:~$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
linux-libc-dev python-apt python-certifi python-chardet python-dbus
python-gi python-gobject python-gobject-2 python-idna python-pexpect
python-pil python-ptyprocess python-requests python-six python-unidecode
python-urllib3 wireless-firmware-osmc
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
locales
Suggested packages:
libgd-tools
Recommended packages:
manpages
The following NEW packages will be installed:
libc-bin libgd3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4
locales
0 upgraded, 9 newly installed, 0 to remove and 87 not upgraded.
2 not fully installed or removed.
Need to get 6062 kB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /debian buster/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
Get:2 Index of /debian buster/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
Get:3 Index of /debian buster/main armhf libxcb1 armhf 1.13.1-2 [132 kB]
Get:4 Index of /debian buster/main armhf libx11-data all 2:1.6.7-1+deb10u2 [299 kB]
Get:7 Index of /debian buster/main armhf libx11-6 armhf 2:1.6.7-1+deb10u2 [698 kB]
Get:5 Index of /osmc/osmc/apt buster/main armhf libc-bin armhf 2.28-110.4 [667 kB]
Get:8 Index of /debian buster/main armhf libxpm4 armhf 1:3.5.12-1 [44.0 kB]
Get:9 Index of /debian buster/main armhf libgd3 armhf 2.2.5-5.2 [117 kB]
Get:6 Index of /osmc/osmc/apt buster/main armhf locales all 2.28-110.4 [4061 kB]
Fetched 6062 kB in 6s (1063 kB/s)
Preconfiguring packages …
dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root’s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
-bash: Note:: command not found
Do I need to provide logs, or is the cause obvious?
Thanks