Error installing: 3-rbp-bootloader-osmc (2.9.0-1)

I have an old image dated march…
I’m gonna load it and see if the 1st line in my fstab was commented.

Otherwise there is no way to correct that?

At this point you’d be better off reinstalling.

Reinstalling?

2 years ago I made some changes (a large amount of scripts) to manage an UPS.
It works fine.

If I need to reinstall it It would took me hours and hours and I am not sure to succeed (I had a stroke about a year ago and can’t read or have intellectual efforts more the 15 minutes).

Will try fisrt to reload an old image and try to fix it.

I had this fstab in my previous system.

/dev/mmcblk0p1 /boot vfat defaults,noatime 0 0
/dev/mmcblk0p2 / ext4 defaults,noatime 0 0
#UUID=9b7cb0d6-4b06-42a2-a949-17c05a3c9b94 /mnt/usbstorage ext4 nofail,defaults 0 0
#UUID=9b7cb0d6-4b06-42a2-a949-17c05a3c9b94 /mnt/usbstorage vfat nofail,defaults 0 0

Is there something incorrect in it?

The above looks fine. The problem was previously you commented this out

#/dev/mmcblk0p1 /boot vfat defaults,noatime 0 0 /dev/mmcblk0p2 / ext4 defaults,noatime 0 0

Okey. Great.
What should I do nox to update the kernel?

So I assume you restored an image based backup of the SD card?
If that is the case just ensure that /boot is mounted (via mount) and then just do a normal full dist-upgrade

Hi all…
first of all I have to apologize for being so annoying with the issues I submitted for help as there were due to my mistakes. So sorry. And thanks again for your patience and your help.

Yes I did a restoration of a previous image (late march, hopefully!) and

df -H gives:

Filesystem Size Used Avail Use% Mounted on
devtmpfs 387M 0 387M 0% /dev
tmpfs 392M 5.3M 387M 2% /run
/dev/mmcblk0p2 15G 4.2G 10G 30% /
tmpfs 392M 0 392M 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs 392M 0 392M 0% /sys/fs/cgroup
/dev/mmcblk0p1 251M 25M 227M 10% /boot
tmpfs 79M 0 79M 0% /run/user/1000

Did then a dist-upgrade and got this:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Finally, have generated a log:
Code: iheneqaluy

I don’t get why the dist-upgrade gave nothing.

Did you do a sudo apt-get update before the sudo apt-get dist-upgrade?

No :neutral_face:
I should?

Well generally you would need to do so to update the local package library.
But anyhow I looked at the log file and for me that looks like something was installed after your restored March image so not sure how/what you restored.

Start-Date: 2018-04-10  16:33:03
Requested-By: osmc (1000)
Install: smb-app-osmc:armhf (1.2.2)
End-Date: 2018-04-10  16:33:16

Start-Date: 2018-04-30  12:00:08
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: rbp2-image-4.14.34-1-osmc:armhf (1, automatic)
Upgrade: perl-base:armhf (5.24.1-3+deb9u2, 5.24.1-3+deb9u3), rbp2-mediacenter-osmc:armhf (17.6.0-24, 17.6.0-38), syncthing:armhf (0.14.45, 0.14.46), perl-modules-5.24:armhf (5.24.1-3+deb9u2, 5.24.1-3+deb9u3), rbp-bootloader-osmc:armhf (2.8.0-1, 2.9.0-1), rbp2-kernel-osmc:armhf (3.9.40, 3.9.74), libperl5.24:armhf (5.24.1-3+deb9u2, 5.24.1-3+deb9u3), armv7-libbluray-osmc:armhf (0.9.3-4, 1.1.0-1), base-files-osmc:armhf (2.5.6, 2.5.8), mediacenter-skin-osmc:armhf (17.0.4-2, 17.0.4-4), perl:armhf (5.24.1-3+deb9u2, 5.24.1-3+deb9u3), mediacenter-addon-osmc:armhf (3.0.657, 3.0.658)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-04-30  12:02:34

Start-Date: 2018-04-30  13:00:28
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
Upgrade: rbp-bootloader-osmc:armhf (2.8.0-1, 2.9.0-1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-04-30  13:00:30

Start-Date: 2018-04-30  14:42:16
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
Upgrade: rbp-bootloader-osmc:armhf (2.8.0-1, 2.9.0-1)
End-Date: 2018-04-30  14:42:21

Start-Date: 2018-04-30  14:42:29
Commandline: /usr/bin/apt-get-real -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -y purge rbp2-image-4.14.26-1-osmc
Purge: rbp2-image-4.14.26-1-osmc:armhf (1)
End-Date: 2018-04-30  14:42:46

Start-Date: 2018-05-02  09:52:41
Commandline: /usr/bin/apt-real autoremove
Requested-By: osmc (1000)
Remove: bluez:armhf (9.99-10), libwebp5:armhf (0.4.1-1.2+b2), armv7-libcrossguid-osmc:armhf (1.0.0-3), python-dbus-dev:armhf (1.2.4-1), libplist2:armhf (1.11-3), libwind0-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libapt-inst1.5:armhf (1.0.9.8.4), libisccc90:armhf (1:9.9.5.dfsg-9+deb8u14), libisccfg90:armhf (1:9.9.5.dfsg-9+deb8u14), libpsl0:armhf (0.5.1-1), libisc95:armhf (1:9.9.5.dfsg-9+deb8u14), libicu52:armhf (52.1-8+deb8u6), liblwres90:armhf (1:9.9.5.dfsg-9+deb8u14), libbind9-90:armhf (1:9.9.5.dfsg-9+deb8u14), libheimbase1-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libmicrohttpd10:armhf (0.9.37+dfsg-1+b1), libntdb1:armhf (1.0-9+b1), libwebpdemux1:armhf (0.4.1-1.2+b2), libgnutls-deb0-28:armhf (3.3.8-6+deb8u7), libass5:armhf (1:0.13.4-2), pkg-config:armhf (0.29-4+b1), libgif4:armhf (4.1.6-11+deb8u1), libhcrypto4-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libdbus-1-dev:armhf (1.10.26-0+deb9u1), libwebpmux1:armhf (0.4.1-1.2+b2), libhogweed2:armhf (2.7.1-5+deb8u2), libhdb9-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libmysqlclient18:armhf (5.5.58-0+deb8u1), python-ntdb:armhf (1.0-9+b1), libdns100:armhf (1:9.9.5.dfsg-9+deb8u14), libnettle4:armhf (2.7.1-5+deb8u2), libxtables10:armhf (1.4.21-2+b1), libroken18-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libasn1-8-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libkrb5-26-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libjasper1:armhf (1.900.1-debian1-2.4+deb8u3), libdpkg-perl:armhf (1.18.24), libhx509-5-heimdal:armhf (7.1.0+dfsg-13+deb9u2), libpng12-0:armhf (1.2.50-2+deb8u3), libssl1.0.0:armhf (1.0.1t-1+deb8u7)
End-Date: 2018-05-02  09:53:01

Uh oh…
I’m gonna reload a previous image dated march 6th…

Reloaded it and
df -H gives

Filesystem Size Used Avail Use% Mounted on
devtmpfs 387M 0 387M 0% /dev
tmpfs 393M 11M 382M 3% /run
/dev/mmcblk0p2 15G 3.9G 11G 28% /
tmpfs 393M 0 393M 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs 393M 0 393M 0% /sys/fs/cgroup
/dev/mmcblk0p1 251M 24M 228M 10% /boot
tmpfs 79M 0 79M 0% /run/user/1000

Did then

sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

and now this is the new log:
Code: qipivoyafo

PS: did not restore a backup of the settings…

Looks all good, I assume you didn’t get a error displayed so you should be successfully on the April Update now.

Everything seems to be normal now.

Thank you so much!
Wish you a nice day.