V19 upgrade: sad face loop while installing a package

Hi,

I have decided to upgrade to v19 and unfortunately update didn’t go well. The update stumbled at 62% producing the following message:

"An error occurred while installing the following package:
15-armv7-bluezalsa-osmc (3.1.0-2)

Please report this problem on the OSMC forum, making suse to include debug logs. Attempting to restart Kodi in 30 seconds…"

After this Vero went into a sad face loop.

Following recommendations on the ‘Kodi v19 troubleshooting FAQ’ I have attempted these commands:

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

… which returned these lines:

Hit:1 Index of /debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 Index of /debian buster-updates InRelease
Hit:4 Index of /osmc/osmc/apt buster InRelease
Reading package lists… Done
osmc@Vero4K:~$
osmc@Vero4K:~$ 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:
armv7-network-osmc : Depends: armv7-bluezalsa-osmc but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or speci fy a solution).

Now I am puzzled. Can anyone please advise what I should do now? If logs can help, please tell me how to get them as I don’t know how to generate them out of command line.

Many thanks!

Try the remove commands in this thread and the run upgrade again.

Hi @fzinken,

Thank you for prompt response.

I don’t think I understood what package I have to remove. Could you please clarify?

Regards,
Evgueni

Try this

sudo apt-get remove --purge a2dp-app-osmc pulseaudio-module-bluetooth pulseaudio
sudo dpkg -r armv7-bluez-alsa-app-osmc
sudo dpkg -r armv7-bluez-alsa-osmc
sudo apt-get --fix-broken install
sudo apt-get dist-upgrade

I’m getting this:

osmc@Vero4K:~$ sudo apt-get remove --purge a2dp-app-osmc pulseaudio-module-bluetooth pulseaudio
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package a2dp-app-osmc

The other lines are seems to be ignored.

Actually, I think we already removed a2dp last August :sweat_smile:

You mean the other lines have no output? Did you copy/paste one by one?

This is the full script:

osmc@Vero4K:~$ sudo apt-get remove --purge a2dp-app-osmc pulseaudio-module-bluetooth pulseaudio
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package a2dp-app-osmc
osmc@Vero4K:~$ sudo dpkg -r armv7-bluez-alsa-app-osmc
dpkg: warning: ignoring request to remove armv7-bluez-alsa-app-osmc which isn’t installed
osmc@Vero4K:~$ sudo dpkg -r armv7-bluez-alsa-osmc
dpkg: warning: ignoring request to remove armv7-bluez-alsa-osmc, only the config
files of which are on the system; use --purge to remove them too

And

sudo apt-get --fix-broken install
sudo apt-get dist-upgrade

Oops, my bad! :flushed: Running the last two now…

Ok, the second last two command (fix-broken) really did something and produced a couple of screens of text.

The last dist-upgrade returned this:

osmc@Vero4K:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
armv7-libass-osmc armv7-libnfs-osmc bluez dh-python gnupg-agent libavcodec57 libavresample3 libavutil55 libbind9-140 libcdio13
libdevmapper-event1.02.1 libdns162 libenca0 libevent-2.0-5 libgdbm3 libhdhomerun3 libicu57 libisc160 libisccc140 libisccfg140
libiso9660-8 libltdl7 liblvm2app2.2 liblwres141 libntfs-3g871 liborc-0.4-0 libperl5.24 libprocps6 libpulsedsp
libpython3.5-minimal libpython3.5-stdlib libspeexdsp1 libssl1.0.2 libswresample2 libunistring0 libva-drm1 libva-x11-1 libva1
libvpx4 libwebpmux2 libwebrtc-audio-processing1 libx264-148 libx265-95 pulseaudio-utils python-apt python-certifi python-chardet
python-dbus python-gobject python-idna python-imaging python-pexpect python-pil python-pkg-resources python-ptyprocess
python-requests python-six python-unidecode python-urllib3 python3-distutils python3-lib2to3 python3.5 python3.5-minimal
samba-common vero364-image-3.14.29-158-osmc:arm64 wireless-firmware-osmc
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

What should I do next? On TV I still have sad face loop.

This looks good.

  1. Try run reboot
    if issue still exists
    try the second step of Question 1of the FAQ

I think I’ve made some progress.
Upon reboot I have briefly seen Kodi Matrix v19.1 logo page, then database migration message. Then there was a brief message that Tidal2 add-on is incompatible and is removed, which is fine. But then I’ve got this message:

OSMC Update Error:
Error installing 15-armv7-bluezalsa-osmc (3.1.0-2)
Please report this on the OSMC forum.

I’ve dismissed this message box by clicking OK and can see OSCM skin now.

How do I fix the above error?

Thanks!

That is odd can you check
dpkg -l | grep armv7-bluezalsa-osmc

osmc@Vero4K:~$ dpkg -l | grep armv7-bluezalsa-osmc
ii armv7-bluezalsa-osmc 3.1.0-2 arm hf Bluetooth audio streaming for OSMC

That looks all good. Try another reboot if you still get an error

You are right, after another reboot this error message was not present. I guess it’s all good now.

It’s almost 2am here, and I will continue checking v19 tomorrow.

Many thanks @fzinken for your help, really appreciate it!

Good night!

1 Like

Hi @fzinken,

I still have some issues with v19 upgrade, this time relating to add-ons and the skin of my choice (Aeon Nox SILVO skin, which is supported in v19).

Some add-ons, like YouTube and OzWeather are disabled after upgrade. I can see that updates are available, but any attempts to install them end up with dependency errors.

For example, if I try to update Aeon Nox SiLVO skin, I will first get a screen advising me that the additional add-ons will be installed: Skin Shortcuts and Library Data Provider. Once I click ‘OK’, I will get these error messages:

unidecode
The add-on is not compatible with this version of Kodi

simplejson
The add-on is not compatible with this version of Kodi

Skin Shortcuts
The add-on is not compatible with this version of Kodi

followed by the final message:

Aeon Nox: SiLVO
The dependency on xbmc.python version 2.20.0 could not be satisfied.

In the log file, I think the relevant rows are these:

DEBUG : CAddonInstaller: installing ‘skin.aeon.nox.silvo’ version ‘8.0.0’ from repository ‘repository.xbmc.org
DEBUG : Repository add-on repository.xbmc.org uses plain HTTP for add-on downloads in path Index of /osmc/osmc/download/kodi/addons/matrix - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
ERROR : Add-on ‘script.module.unidecode’ is not compatible with Kodi
DEBUG : CAddonMgr: DisabledReason for script.module.unidecode updated to 2
ERROR : Add-on ‘script.module.simplejson’ is not compatible with Kodi
DEBUG : CAddonMgr: DisabledReason for script.module.simplejson updated to 2
ERROR : Add-on ‘script.skinshortcuts’ is not compatible with Kodi
DEBUG : CAddonMgr: DisabledReason for script.skinshortcuts updated to 2
DEBUG : CAddonInstallJob[script.skinshortcuts]: requires xbmc.python version 2.20.0 which is not available
ERROR : CAddonInstallJob[skin.aeon.nox.silvo]: The dependency on xbmc.python version 2.20.0 could not be satisfied.

Full logs are saved here:
https://paste.osmc.tv/orabucozap

I wonder if you could please help me with these issues?

Many thanks!

Did you try Check for Updates from the context menu (left) when you are in Addon-Browser?

Thanks @fzinken. I tried this:

Add-on Browser → Left context menu → Check for updates.

A brief message pops up in the upper right corner and then disappears:

Add-ons
Add-on updates available

And nothing else happens.

The 2nd menu in the main section of Add-on Browser is ‘Available updates’. If I click on this, I will be taken to a list of add-ons (it says 113 Add-ons in the bottom right corner). ‘Aeon Nox: SiLVO’ is the top one: Version 8.0.0 - Disabled). If I click on this to initiate add-on update I will get the same errors as described above.

Is there anything else I can do?