Imansible installare VLC su Ubuntu 18.04 – dipendenze mancanti

[email protected]:~$ sudo apt install vlc [sudo] password for tio: Reading package lists... Done Building dependency tree Reading state information... Done 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-bin (= 3.0.1-3build1) but it is not going to be installed Depends: vlc-plugin-base (= 3.0.1-3build1) but 3.0.2-0ubuntu0.1 is to be installed Depends: vlc-plugin-video-output (= 3.0.1-3build1) but 3.0.2-0ubuntu0.1 is to be installed Recommends: vlc-l10n (= 3.0.1-3build1) but it is not going to be installed Recommends: vlc-plugin-notify (= 3.0.1-3build1) but it is not going to be installed Recommends: vlc-plugin-samba (= 3.0.1-3build1) but it is not going to be installed Recommends: vlc-plugin-skins2 (= 3.0.1-3build1) but it is not going to be installed Recommends: vlc-plugin-video-splitter (= 3.0.1-3build1) but it is not going to be installed Recommends: vlc-plugin-visualization (= 3.0.1-3build1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. [email protected]:~$ 

Ho Ubuntu 18.04 con repository principale e universo attivo.

 [email protected]:~$ apt-cache policy vlc vlc-bin vlc-plugin-base vlc-plugin-video-output vlc: Installed: (none) Candidate: 3.0.1-3build1 Version table: 3.0.1-3build1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages vlc-bin: Installed: (none) Candidate: 3.0.1-3build1 Version table: 3.0.1-3build1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages vlc-plugin-base: Installed: 3.0.2-0ubuntu0.1 Candidate: 3.0.2-0ubuntu0.1 Version table: *** 3.0.2-0ubuntu0.1 100 100 /var/lib/dpkg/status 3.0.1-3build1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages vlc-plugin-video-output: Installed: 3.0.2-0ubuntu0.1 Candidate: 3.0.2-0ubuntu0.1 Version table: *** 3.0.2-0ubuntu0.1 100 100 /var/lib/dpkg/status 3.0.1-3build1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [email protected]:~$ 

Con l’aiuto delle risposte da qui l’ho risolto in questo modo:

  1. sudo apt remove vlc*
  2. sudo apt autoclean
  3. sudo apt autoremove
  4. sudo apt install vlc*

Grazie molte persone!

Questi comandi dovrebbero fare il lavoro.

 sudo apt clean sudo apt autoclean sudo apt autoremove sudo apt update sudo apt upgrade sudo apt install vlc*