OK - if you promise it will not happen again, then I will do updates - ha ha ha
Yep, everything fixed. Thanks Sam!
Just FYI, I had exactly the same error as the OP and found these in my APT history.log:
Start-Date: 2021-12-27 16:12:59
Commandline: /usr/bin/apt-get-real -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -f -y dist-upgrade
Install: vero364-image-4.9.113-60-osmc:arm64 (4.9.113-60-osmc, automatic)
Upgrade: vero364-kernel-osmc:arm64 (3.9.222, 3.9.227), vero3-secureosmc-osmc:armhf (1.4.0-1, 1.5.0-1), vero3-mediacenter-osmc:armhf (19.3.0-6, 19.3.0-10), base-files-osmc:armhf (3.0.9, 3.1.0), vero3-wifi-osmc:armhf (1.5.0-1, 1.6.0-1), mediacenter-skin-osmc:armhf (19.1.0-19, 19.1.1-8), mediacenter-addon-osmc:armhf (3.0.737, 3.0.739)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2021-12-27 16:13:55
I ran the sudo apt-get -f install
command and got the same results as @Willow1262
I’m not sure if this still indicates a problem, but after running the above, my APT eipp.log is showing the following entries related to this package (note the half-installed / unpacked statuses):
Package: vero364-kernel-osmc
Architecture: arm64
Version: 3.9.227
APT-ID: 85057
Status: unpacked
Depends: vero364-image-4.9.113-60-osmc, vero3-bootloader-osmc:armhf (>= 1.0.0)
Package: vero364-image-4.9.113-60-osmc
Architecture: arm64
Version: 4.9.113-60-osmc
APT-ID: 85056
Status: half-configured
Package: vero3-bootloader-osmc
Architecture: armhf
Version: 1.8.0-1
APT-ID: 84966
Status: installed
Try to see if it’s a similar problem to this one. Error after November update
in my case I had to finish the packages configuration by running:
sudo dpkg --configure --pending
Try check for updates again in My OSMC.
I’ve just tried that via My OSMC and although it appeared to complete successfully (No updates found), the eipp.log hasn’t been updated (nor has apt/history.log or apt/term.log).
I’m not sure if it’s just a cosmetic thing, as running dpkg-query -l vero364-kernel-osmc
shows:
osmc@osmc:/var/log/apt$ dpkg-query -l vero364-kernel-osmc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================-============-============-======================================================================
ii vero364-kernel-osmc:arm64 3.9.227 arm64 Kernel meta package bringing in the latest OSMC kernel for this device
and also
osmc@osmc:/var/log/apt$ dpkg-query -l vero364-image-4.9.113-60-osmc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================================-===============-============-=================================
ii vero364-image-4.9.113-60-osmc:arm64 4.9.113-60-osmc arm64 Linux OSMC kernel
So things appear to be installed OK, it’s just weird that the eipp.log doesn’t seem to think so (despite the timestamp on it being from the time I ran the command to fix it (i.e. sudo apt-get -f install
)
The vero is also playing videos OK, so hopefully the half-configured stuff will go away next time some updates install correctly?
Can you post a log so I can check what’s going on here?
Thanks
Sam
Running sudo dpkg --configure -a
should solve your issue.
Thanks Sam, I ran this and received no output, so I assume it’s done what’s required?
osmc@osmc:~$ sudo dpkg --configure -a
osmc@osmc:~$
Yes, but for good measure, you could do:
sudo apt-get install --reinstall vero364-image-4-9-113-60-osmc:arm64
Thanks Sam, I tried that but it produced the following error:
$ sudo apt-get install --reinstall vero364-image-4-9-113-60-osmc:arm64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vero364-image-4-9-113-60-osmc:arm64
Sorry – there’s a typo there. Try:
I got the same error, but the new command line looks identical to the old?? (Apologies if I’ve missed something?):
sudo apt-get install --reinstall vero364-image-4-9-113-60-osmc:arm64
sudo apt-get install --reinstall vero364-image-4-9-113-60-osmc:arm64
Check my last post where they are decimals and not hyphens in the kernel versioning scheme.
sudo apt-get install --reinstall vero364-image-4.9.113-60-osmc:arm64
Ahh, apologies Sam! For some reason when I expanded the quote it showed the dashes. This worked with the decimals, thank you!!
$ sudo apt-get install --reinstall vero364-image-4.9.113-60-osmc:arm64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-apt python-certifi python-chardet python-dbus python-gi python-gobject python-gobject-2 python-idna python-pexpect python-pil python-pkg-resources python-ptyprocess
python-requests python-six python-unidecode python-urllib3 wireless-firmware-osmc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 24.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.fau.de/osmc/osmc/apt buster/main arm64 vero364-image-4.9.113-60-osmc arm64 4.9.113-60-osmc [24.2 MB]
Fetched 24.2 MB in 2s (12.4 MB/s)
(Reading database ... 55465 files and directories currently installed.)
Preparing to unpack .../vero364-image-4.9.113-60-osmc_4.9.113-60-osmc_arm64.deb ...
Unpacking vero364-image-4.9.113-60-osmc:arm64 (4.9.113-60-osmc) over (4.9.113-60-osmc) ...
Setting up vero364-image-4.9.113-60-osmc:arm64 (4.9.113-60-osmc) ...
11+1 records in
11+1 records out
11739136 bytes (12 MB, 11 MiB) copied, 0.252035 s, 46.6 MB/s
0+1 records in
0+1 records out
112640 bytes (113 kB, 110 KiB) copied, 0.0110529 s, 10.2 MB/s
My eipp log now reports healthy packages:
Package: vero364-kernel-osmc
Architecture: arm64
Version: 3.9.227
APT-ID: 85135
Status: installed
Depends: vero364-image-4.9.113-60-osmc, vero3-bootloader-osmc:armhf (>= 1.0.0)
Package: vero364-image-4.9.113-60-osmc
Architecture: arm64
Version: 4.9.113-60-osmc
APT-ID: 85134
Status: installed
It was me that initially typo’d
Glad this is now working as expected.