Error Installing: Vero-Image-4.1.12-9-OSMC

It says to report this here.

Before this happened, I was getting messages of a new update available. After I selected Yes, Vero would turn off and stay off. Then I manually updated and got this error.

I might also add that after this, Vero now says it has the November update, and everything seems to work OK. I’m just passing along this error message because it told me to.! :wink:

Apologies for slow reply. Missed this post.

If you can log in via SSH, and run this command

sudo apt-get update
sudo apt-get install

And paste the output here, we should have enough to see what the issue is

Cheers

Sam

login as: osmc
osmc@192.168.2.134’s password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Dec 7 11:29:07 2015 from 192.168.2.50
osmc@osmc:~$ sudo apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://apt.osmc.tv jessie InRelease
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://security.debian.org jessie/updates/contrib armhf Packages
Get:1 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [367 B]
Hit http://security.debian.org jessie/updates/non-free armhf Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.debian.org jessie-updates/non-free armhf Packages
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://ftp.debian.org jessie-updates/main Translation-en
Hit http://ftp.debian.org jessie-updates/non-free Translation-en
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Get:2 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://apt.osmc.tv jessie/main Translation-en
Fetched 2390 B in 11s (211 B/s)
Reading package lists… Done
osmc@osmc:~$
osmc@osmc:~$
osmc@osmc:~$
osmc@osmc:~$ sudo apt-get install
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
armv7-libafpclient-osmc libbluray1 libflac8 libx11-6 libx11-data libxau6
libxcb1 libxdmcp6 vero-image-3.14.14-6-osmc vero-image-3.14.14-7-osmc
vero-image-3.14.37-14-osmc vero-image-3.14.37-3-osmc vero-image-4.1.3-7-osmc
vero-image-4.1.5-2-osmc vero-image-4.1.5-6-osmc
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up vero-image-4.1.12-9-osmc (9) …
Internal Error: Could not find image (/boot/vmlinuz-4.1.12-9-osmc)
dpkg: error processing package vero-image-4.1.12-9-osmc (–configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of vero-kernel-osmc:
vero-kernel-osmc depends on vero-image-4.1.12-9-osmc; however:
Package vero-image-4.1.12-9-osmc is not configured yet.

dpkg: error processing package vero-kernel-osmc (–configure):
dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)
osmc@osmc:~$

That is very peculiar. Can you provide the output of these three commands please:

ls -al /boot
df -h
mount

BTW when posting log files, highlight the log text you pasted in then press the preformatted text button (</>) in the editor, this makes your log much easier to read.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Dec  7 11:41:49 2015 from 192.168.2.50
osmc@osmc:~$ ls -al /boot
total 109063
drwxr-xr-x 12 root root    5120 Jan  1  1970 .
drwxr-xr-x 23 root root    4096 Apr  3  2015 ..
-rwxr-xr-x  1 root root   31744 Apr 12  2015 SPL
-rwxr-xr-x  1 root root 2305999 Mar 19  2015 System.map-3.14.14-6-osmc
-rwxr-xr-x  1 root root 2305974 Mar 20  2015 System.map-3.14.14-7-osmc
-rwxr-xr-x  1 root root 2308988 May 18  2015 System.map-3.14.37-14-osmc
-rwxr-xr-x  1 root root 2308447 Apr 12  2015 System.map-3.14.37-3-osmc
-rwxr-xr-x  1 root root 2479184 Nov 28 15:51 System.map-4.1.12-8-osmc
-rwxr-xr-x  1 root root 2479184 Nov 29 16:18 System.map-4.1.12-9-osmc.dpkg-new
-rwxr-xr-x  1 root root 2411020 Aug  2 21:29 System.map-4.1.3-7-osmc
-rwxr-xr-x  1 root root 2410476 Aug 16 09:37 System.map-4.1.5-2-osmc
-rwxr-xr-x  1 root root 2411013 Sep 15 00:51 System.map-4.1.5-6-osmc
-rwxr-xr-x  1 root root 2413296 Sep 25 01:44 System.map-4.1.7-2-osmc
-rwxr-xr-x  1 root root  136675 Mar 19  2015 config-3.14.14-6-osmc
-rwxr-xr-x  1 root root  136675 Mar 20  2015 config-3.14.14-7-osmc
-rwxr-xr-x  1 root root  136676 May 18  2015 config-3.14.37-14-osmc
-rwxr-xr-x  1 root root  136675 Apr 12  2015 config-3.14.37-3-osmc
-rwxr-xr-x  1 root root  149029 Nov 28 12:03 config-4.1.12-8-osmc
-rwxr-xr-x  1 root root       0 Dec  1 20:19 config-4.1.12-9-osmc
-rwxr-xr-x  1 root root  148233 Aug  2 19:17 config-4.1.3-7-osmc
-rwxr-xr-x  1 root root  148304 Aug 16 07:25 config-4.1.5-2-osmc
-rwxr-xr-x  1 root root  148341 Sep 14 22:39 config-4.1.5-6-osmc
-rwxr-xr-x  1 root root  148354 Sep 24 23:33 config-4.1.7-2-osmc
drwxr-xr-x  2 root root     512 Jan  1  1980 dtb-3.14.14-6-osmc
drwxr-xr-x  2 root root     512 Apr  3  2015 dtb-3.14.14-7-osmc
drwxr-xr-x  2 root root     512 May 24  2015 dtb-3.14.37-14-osmc
drwxr-xr-x  2 root root     512 Apr 12  2015 dtb-3.14.37-3-osmc
drwxr-xr-x  2 root root     512 Dec  1 20:18 dtb-4.1.12-8-osmc
drwxr-xr-x  0 root root       0 Dec  1 20:19 dtb-4.1.12-9-osmc
drwxr-xr-x  2 root root     512 Aug 24 10:40 dtb-4.1.3-7-osmc
drwxr-xr-x  2 root root     512 Aug 30 21:47 dtb-4.1.5-2-osmc
drwxr-xr-x  2 root root     512 Sep 17 02:04 dtb-4.1.5-6-osmc
drwxr-xr-x  2 root root     512 Oct  1 13:46 dtb-4.1.7-2-osmc
-rwxr-xr-x  1 root root   33788 Nov 28 16:44 imx6dl-vero.dtb
-rwxr-xr-x  1 root root    2171 Jan  1  1980 install.log
-rwxr-xr-x  1 root root  200476 Apr 12  2015 u-boot.img
-rwxr-xr-x  1 root root     185 Jan  1  1980 uEnv.txt
-rwxr-xr-x  1 root root 7406800 Mar 19  2015 vmlinuz-3.14.14-6-osmc
-rwxr-xr-x  1 root root 7406536 Mar 20  2015 vmlinuz-3.14.14-7-osmc
-rwxr-xr-x  1 root root 7411256 May 18  2015 vmlinuz-3.14.37-14-osmc
-rwxr-xr-x  1 root root 7409128 Apr 12  2015 vmlinuz-3.14.37-3-osmc
-rwxr-xr-x  1 root root 8962936 Nov 28 15:51 vmlinuz-4.1.12-8-osmc
-rwxr-xr-x  1 root root 8962560 Nov 29 16:18 vmlinuz-4.1.12-9-osmc.dpkg-new
-rwxr-xr-x  1 root root 7436624 Aug  2 21:29 vmlinuz-4.1.3-7-osmc
-rwxr-xr-x  1 root root 7433808 Aug 16 09:37 vmlinuz-4.1.5-2-osmc
-rwxr-xr-x  1 root root 7434936 Sep 15 00:51 vmlinuz-4.1.5-6-osmc
-rwxr-xr-x  1 root root 7441248 Sep 25 01:44 vmlinuz-4.1.7-2-osmc
-rwxr-xr-x  1 root root 8962936 Dec  1 21:27 zImage
osmc@osmc:~$
osmc@osmc:~$
osmc@osmc:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        356M     0  356M   0% /dev
tmpfs           501M  7.6M  493M   2% /run
/dev/mmcblk0p2  7.0G  3.3G  3.3G  50% /
tmpfs           501M     0  501M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           501M     0  501M   0% /sys/fs/cgroup
/dev/mmcblk0p1  240M  107M  133M  45% /boot
tmpfs           101M     0  101M   0% /run/user/1000
osmc@osmc:~$
osmc@osmc:~$
osmc@osmc:~$ mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=364192k,nr_inodes=91048,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,relatime)
/dev/mmcblk0p2 on / type ext4 (rw,noatime,stripe=1024,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
sysfs on /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq type sysfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=102492k,mode=700,uid=1000,gid=1000)
osmc@osmc:~$

Thanks. Can you try the following and paste the output if it fails ?

sudo rm /boot/vmlinuz-4.1.12-9-osmc.dpkg-new
sudo apt-get install vero-image-4.1.12-9-osmc --reinstall

It looks like the first attempt to update the kernel failed in an unusual way, leaving behind the .dpkg-new temp file which dpkg extracts the file as before renaming. I can’t really see how that would have occurred though.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec  9 14:36:57 2015 from 192.168.2.50
osmc@osmc:~$ sudo rm /boot/vmlinuz-4.1.12-9-osmc.dpkg-new
osmc@osmc:~$ sudo apt-get install vero-image-4.1.12-9-osmc --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  armv7-libafpclient-osmc libbluray1 libflac8 libx11-6 libx11-data libxau6
  libxcb1 libxdmcp6 vero-image-3.14.14-6-osmc vero-image-3.14.14-7-osmc
  vero-image-3.14.37-14-osmc vero-image-3.14.37-3-osmc vero-image-4.1.3-7-osmc
  vero-image-4.1.5-2-osmc vero-image-4.1.5-6-osmc
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for vero-image-4.1.12-9-osmc:armhf
osmc@osmc:~$
`indent preformatted text by 4 spaces`

Stranger and stranger! It looks a bit like the package download might be corrupt, or that you have file system corruption. Try this to clear the previous download of this package:

sudo apt-get clean

Then run the following

sudo rm /boot/vmlinuz-4.1.12-9-osmc.dpkg-new
sudo apt-get update
sudo apt-get install vero-image-4.1.12-9-osmc --reinstall

If that doesn’t work please post the output of the failed command and also:

sudo journalctl | paste-log

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec  9 15:26:57 2015 from 192.168.2.50
osmc@osmc:~$ sudo apt-get clean
osmc@osmc:~$ sudo rm /boot/vmlinuz-4.1.12-9-osmc.dpkg-new
rm: cannot remove '/boot/vmlinuz-4.1.12-9-osmc.dpkg-new': No such file or directory
osmc@osmc:~$ sudo apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Get:1 http://ftp.debian.org jessie-updates InRelease [136 kB]
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://apt.osmc.tv jessie InRelease
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://security.debian.org jessie/updates/contrib armhf Packages
Get:2 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [367 B]
Hit http://security.debian.org jessie/updates/non-free armhf Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:3 http://ftp.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:4 http://ftp.debian.org jessie-updates/non-free armhf Packages [32 B]
Get:5 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:6 http://ftp.debian.org jessie-updates/main Translation-en [2506 B]
Get:7 http://ftp.debian.org jessie-updates/non-free Translation-en [14 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:8 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]
Ign http://apt.osmc.tv jessie/main Translation-en
Fetched 141 kB in 11s (12.1 kB/s)
Reading package lists... Done
osmc@osmc:~$
osmc@osmc:~$
osmc@osmc:~$ sudo apt-get install vero-image-4.1.12-9-osmc --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  armv7-libafpclient-osmc libbluray1 libflac8 libx11-6 libx11-data libxau6
  libxcb1 libxdmcp6 vero-image-3.14.14-6-osmc vero-image-3.14.14-7-osmc
  vero-image-3.14.37-14-osmc vero-image-3.14.37-3-osmc vero-image-4.1.3-7-osmc
  vero-image-4.1.5-2-osmc vero-image-4.1.5-6-osmc
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for vero-image-4.1.12-9-osmc:armhf
osmc@osmc:~$

Not sure what’s happened there I’m afraid. It seems as if the APT database might be corrupted, but it’s not a problem I’ve seen before and I’m not sure how you might go about fixing it other than a reinstall.

Unless @sam_nazarko has an idea…

Thanks for all your help with this. I will wait to see what Sam says, if anything.

In the meantime, my Vero appears to work OK. What is not clear to me is what exactly this problem means.

Does it mean I am essentially stuck at a specific point in the progression of updates and unable to update in the future to newer versions? What is involved in a reinstall? Does it hurt? :wink:

I think the filesystem may be corrupted, and fsck needs to be run.

Sam

If you’re feeling brave, you could try the following to run fsck. You might want to back up any important settings first, and you will need a keyboard plugged into your Vero and ideally overscan disabled on your TV. (Otherwise some of the text might be cut off on the screen)

Log in with ssh and run the following command:

sudo systemctl emergency

This should shut the Vero down into an emergency mode showing a command prompt on the TV. Wait about a minute then type on the vero’s keyboard:

mount / -o remount,ro
mount /boot -o remount,ro

This will remount both file systems read only. Then you can force a full fsck of both:

fsck -f -y /boot
fsck -f -y /

The latter could take quite a while. When finished type reboot.

Then try running updates again from ssh:

sudo apt-get clean
sudo apt-get update
sudo apt-get -f -y dist-upgrade

If that doesn’t help, I think you’re in backup and re-install territory…

1 Like

Sorry, am not feeling that brave. It’s not that I can’t do it. I just don’t feel like bothering with it. The things works. I can watch movies and TV shows, listen to music, view photos, read the weather report. If it ain’t broke, don’t fix it.

Well it is definitely broken and in the long run you will run into an issue. So one day you would need to take action. Either try to manually fix the system as explained by dbmandrake or do a full reinstall.
My recommendation would be to do a proper backup and then try what dbmandrake explained as it most likely get you back on a fully working system.

Unfortunately if you are stuck on an old kernel it is broken.

The Kodi, libcec and Kernel versions are tightly coupled on the Vero, this means if you updated to a later version of Kodi and/or libcec but the kernel remains on an old version, things are going to break.

You might get things happen like CEC stops working, video mode selection/switching doesn’t work properly etc.

Well, I could simply turn off the automatic updates, too.

I don’t believe I have the ability to attach a keyboad to Vero. Is it possible to do this via something like Team Viewer or VNC?

This might help you:

I’m sorry, but now I’m confused. I know how to log in using SSH. I’ve been doing that for all of the previous tries to fix this. Are you now saying I can also perform this “emergency” mode fix using SSH instead of using a local keyboard and the TV?