Page 1 of 1

VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 8:54 pm
by AGID
After i ran the commands apt-get update & upgrade. i got these errors out of no where. i am using buster with latest updates. and pi 3 b+ then i found someone on the forum suggesting running apt-get full-upgrade and when i did i found vlc got uninstalled and now trying to install it i get same error. here is the error:


Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vlc : Depends: vlc-plugin-base (= 3.0.11-0+deb10u1+rpt2) but it is not going to be installed
Recommends: vlc-l10n (= 3.0.11-0+deb10u1+rpt2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Re: VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 9:12 pm
by beta-tester
i just ran into the same issue on my RPi4B with Raspberry Pi OS (2020-05-27)...
vlc is gone and un-fixable, after

Code: Select all

sudo apt update && sudo apt full-upgrade

Code: Select all

sudo apt install --fix-broken --fix-missing -y  vlc
does not help

dpkg shows the folowing in the list:

Code: Select all

dpkg --get-selections | grep  vlc
vlc-plugin-base:armhf				deinstall
trying to uninstall vlc-plugin-base and reinstall vlc gives me the same error message as AGID has

Re: VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 9:43 pm
by HawaiianPi
Yup, VLC is broken now.

It looks like some arm64 packages are now required, and won't install on RasPiOS32.

Switching to the 64-bit kernel doesn't help. :(

EDIT
These 2 arm64 packages seem to be the problem.

Code: Select all

$ apt search vlc
...
vlc-data/testing 3.0.11-0+deb10u1+rpt2+arm64 all
  common data for VLC

vlc-l10n/testing 3.0.11-0+deb10u1+rpt2+arm64 all
  translations for VLC
  ...

Re: VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 10:04 pm
by pidd
I'm getting the opposite, the vlc-data is loading the arm64 package even though I'm NOT on Rpi64, this in turn is the wrong package for vlc-plugin-base and so vlc won't install.

Re: VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 10:07 pm
by HawaiianPi
@pidd,

Yes, see my edit of the post above yours.

Re: VLC after apt-get update & upgrade

Posted: Wed Aug 05, 2020 10:14 pm
by pidd
The vlc-l10n is only a recommended package so not necessary.

Is there a way of forcing the other vlc-data package? - its there in the repo .....EDIT, no its not, it was a few minutes ago!

Re: VLC after apt-get update & upgrade

Posted: Thu Aug 06, 2020 12:30 am
by pidd
VLC is now fixed

Code: Select all

sudo apt update
sudo apt full-upgrade
sudo apt install vlc

Re: VLC after apt-get update & upgrade

Posted: Thu Aug 06, 2020 12:47 am
by HawaiianPi
Yup, I happened to be testing a new RasPiOS32 card on another system, and sudo apt update && sudo apt full-upgrade -y && sudo apt install --reinstall vlc -y fixed it.

Tried it on my main system (USB-MSD booted 4B2), and that also worked. :D

Re: VLC after apt-get update & upgrade

Posted: Thu Aug 06, 2020 11:52 am
by beta-tester
oh yes... i have my VLC player back again...
i can't live without it... :D

Re: VLC after apt-get update & upgrade

Posted: Fri Aug 07, 2020 7:18 pm
by DougieLawson
Put it back with sudo apt install --reinstall vlc.