[SOLVED] Crash / Segfaults after 18.4. update

Complete commands

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Nov 1 15:55:57 2019 from 192.168.1.10
osmc@osmc:~$ sudo apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 Index of /debian stretch InRelease
Hit:4 Index of /debian stretch-updates InRelease
Hit:5 Index of /debian stretch Release
Hit:3 Index of /osmc/osmc/apt stretch InRelease
Reading package lists… Done
osmc@osmc:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I think the command apt update does not install the good version

This whole thing is pretty much garbage. Aside from plowing through Help Pages for installing the OSMC Installer (written during the Jurassic Age) for Ubuntu users - the current version the Installer grabs errors-out as well.
So - to recap: Not only did the latest update totally crash my Pi., the latest version of the release is also a failure. Burn a few more hours of my day re-configuring my Pi because somebody published a beta version of goo.
Can you guys at the minimum update your help pages?

There is no Linux installer for OSMC as reflected on the Downloads page.

The pages are community maintained, so click the ‘Make this page better’ where you see room for improvement

Cheers

Sam

Edit: I just realised you’re the guy from Twitter.

Why do you keep using something just to moan about it? Use something else.

And what is the procedure for return to update 18.3 ?

We don’t recommend downgrading, but you can install an older image from the Download page if you wish to do so.

If you’re still having a problem please post a log

Sam

You can always ask for your money back. No, wait! it was free.

1 Like

Ignore - all he does is moan on Twitter, but still continues to use the software.

2 Likes

And what do you recommend ? Waiting tomorrow ?
Why is the problem resolved by drumlight and others ?

To answer that we would need to see a log. Can you run grab-logs -A?

Maybe your ISP is caching the repository

Sam

Damn, this is so easy complaining about others work … Keep up the good job Sam !

1 Like

Sorry, I don’t understand what is a grab-log and where it is.
I’m accesing on my Raspberry with SSH.

-rw-r–r-- 1 osmc osmc 151402 Nov 1 16:03 ??
drwxr-xr-x 7 osmc osmc 4096 Nov 1 16:03 .
drwxr-xr-x 3 root root 4096 Jan 1 1970 …
-rw------- 1 osmc osmc 2479 Nov 1 18:47 .bash_history
-rw-r–r-- 1 osmc osmc 220 May 15 2017 .bash_logout
-rw-r–r-- 1 osmc osmc 3526 May 15 2017 .bashrc
drwxr-xr-x 8 osmc osmc 4096 May 6 20:54 .kodi
-rw------- 1 osmc osmc 28 Nov 1 16:01 .lesshst
-rw-r–r-- 1 osmc osmc 675 May 15 2017 .profile
drwxr-xr-x 2 osmc osmc 4096 Jan 3 2019 Movies
drwxr-xr-x 2 osmc osmc 4096 Jan 3 2019 Music
drwxr-xr-x 2 osmc osmc 4096 Jan 3 2019 Pictures
drwxr-xr-x 2 osmc osmc 4096 Jan 3 2019 TV Shows
-rw-r–r-- 1 osmc osmc 11771 Nov 1 14:49 udo reboot

At the terminal just type in grab-logs -Aand after a few moments it should come back with a web address of where your logs were uploaded to. We need you to give us that web address so we can try to figure out what went wrong for you.

Ok, the adress is : Logs available at https://paste.osmc.tv/izalagemut

Try running the following

sudo systemctl stop mediacenter
sudo apt-get clean
sudo apt-get install --reinstall rbp2-mediacenter-osmc
sudo systemctl start mediacenter

Problem in nr 3

osmc@osmc:/$ sudo systemctl stop mediacenter
osmc@osmc:/$ sudo apt-get clean
osmc@osmc:/$ sudo apt-get install --reinstall rbp2-mediacenter-osmc
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reinstallation of rbp2-mediacenter-osmc is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
osmc@osmc:/$ sudo systemctl start mediacenter

Is something blocking its access to the internet? That package is your issue as you have 18.4.0-5 and that was replaced in the repository with 18.4.0-6. I ran those commands before posting that and it worked as it should and it downloaded and installed the correct package.

Ok, i will see, normally the internet access is not blocking

osmc@osmc:~$ ping www.raspberrypi-france.fr
PING www.raspberrypi-france.fr (104.24.97.225): 56 data bytes
64 bytes from 104.24.97.225: seq=0 ttl=55 time=34.891 ms
64 bytes from 104.24.97.225: seq=1 ttl=55 time=34.932 ms
64 bytes from 104.24.97.225: seq=2 ttl=55 time=35.624 ms
64 bytes from 104.24.97.225: seq=3 ttl=55 time=35.459 ms
^C
www.raspberrypi-france.fr ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 34.891/35.226/35.624 ms

Try sudo apt-get update again. What we want to see are the lines:

Get:6 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf Packages.diff/Index [2023 B]                                                                                   
Get:7 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf Packages [22.3 kB]

ie the lines should start with Get, rather than Hit or Ign, indicating that you’ve downloaded the latest packages file.

If you’re still seeing Hit, run this:

sudo rm -r /var/lib/apt/lists/*
sudo apt-get update

This will take a while but will force a refresh of all sources. Then try sudo apt-get dist-upgrade again

I just joined the forum to say thanks for the quick fix to this problem. I had the same “sad face” experience last night after performing the upgrade.

4 Likes