Can't install VLC or codecs for Gstreamer after update to 14.10

Asked by Sergio Semeraro

Hi,

I updated my Ubuntu Gnome distro to 14.10.
During the update process, I didnt get vlc updated properly so I tried to do it by command line or Ubuntu Software Center but it tells me that there are unmet dependencies.

The following packages have unmet dependencies:

vlc: Depends: vlc-nox (= 3.0.0~~git20140930+r58027+30~ubuntu14.10.1) but 3.0.0~~git20140930+r58027+30~ubuntu14.10.1 is to be installed
     Depends: libavcodec-extra-56 (>= 6:11) but 6:11-1 is to be installed
     Depends: libavutil54 (>= 6:11~beta1) but 6:11-1 is to be installed
     Depends: libegl1-x11 but it is a virtual package
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-16ubuntu6 is to be installed
     Depends: libgles1 but it is a virtual package
     Depends: libgles2 but it is a virtual package
     Depends: libpulse0 (>= 1:1.0) but 1:4.0-0ubuntu22 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.6+git49-gbc62005+dfsg-1ubuntu1 is to be installed
     Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.6+git49-gbc62005+dfsg-1ubuntu1 is to be installed
     Depends: libstdc++6 (>= 4.9) but 4.9.1-16ubuntu6 is to be installed
     Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed

What I dont understand is the 3.0.0 version that is still there (while I removed the ppa in the source list and updated my packages list through apt-get update)

My source list is:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu utopic main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu utopic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu utopic universe
deb-src http://archive.ubuntu.com/ubuntu utopic universe
deb http://archive.ubuntu.com/ubuntu utopic-updates universe
deb-src http://archive.ubuntu.com/ubuntu utopic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu utopic multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic multiverse
deb http://archive.ubuntu.com/ubuntu utopic-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu utopic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic-security main restricted
deb http://archive.ubuntu.com/ubuntu utopic-security universe
deb-src http://archive.ubuntu.com/ubuntu utopic-security universe
deb http://archive.ubuntu.com/ubuntu utopic-security multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu utopic main
# deb-src http://extras.ubuntu.com/ubuntu utopic main

 and here is what I find in dpkg -l:
rc vlc 2.1.4-0ubuntu14.04.1 amd64 multimedia player and streamer
rc vlc-data 3.0.0~~git20140930+r58027+30~ubuntu14.10.1 all Common data for VLC

Tried follows steps here http://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa

But no success

Thanks for the help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sergio Semeraro
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get --purge remove vlc*
sudo apt-get --purge autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get install vlc

Revision history for this message
Sergio Semeraro (serjossj) said :
#2

followed your steps, now I get:

The following packages have unmet dependencies:

vlc: Depends: vlc-nox (= 2.2.0~pre2-4build1) but 2.2.0~pre2-4build1 is to be installed
     Depends: libavcodec-extra-56 (>= 6:11~beta1) but 6:11-1 is to be installed
     Depends: libavutil54 (>= 6:11~beta1) but 6:11-1 is to be installed
     Depends: libc6 (>= 2.16) but 2.19-10ubuntu2 is to be installed
     Depends: libegl1-x11 but it is a virtual package
     Depends: libfreetype6 (>= 2.2.1) but 2.5.2-2ubuntu1 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-16ubuntu6 is to be installed
     Depends: libgles1 but it is a virtual package
     Depends: libgles2 but it is a virtual package
     Depends: libpulse0 (>= 1:1.0) but 1:4.0-0ubuntu22 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.6+git49-gbc62005+dfsg-1ubuntu1 is to be installed
     Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.6+git49-gbc62005+dfsg-1ubuntu1 is to be installed
     Depends: libstdc++6 (>= 4.9) but 4.9.1-16ubuntu6 is to be installed
     Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

apt-cache policy vlc

Thanks

Revision history for this message
Sergio Semeraro (serjossj) said :
#4

vlc:
  Installed: (none)
  Candidate: 2.2.0~pre2-4build1
  Version table:
     2.2.0~pre2-4build1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I suggest you report a bug. Be sure to enable the universe, multiverse repos. May help.

Revision history for this message
Sergio Semeraro (serjossj) said :
#6

Thanks, I will.
Those repos are already enabled

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

You might try

apt-get --simulate install libavcodec-extra-56 libavutil54 libc6 libegl1-mesa libfreetype6 libgcc1 libgl1-mesa-glx libgles1-mesa libgles2-mesa libpulse0 libqtcore4 libqtgui4 libstdc++6 zlib1g

to check whether there are any unmet dependencies with one of these packages.

Revision history for this message
Sergio Semeraro (serjossj) said :
#8

Thanks Manfred, here is the output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
libfreetype6 is already the newest version.
libgcc1 is already the newest version.
libpulse0 is already the newest version.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
libqtgui4 is already the newest version.
libqtgui4 set to manually installed.
libstdc++6 is already the newest version.
zlib1g is already the newest version.
libgl1-mesa-glx is already the newest version.
libegl1-mesa is already the newest version.
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:
 libavcodec-extra-56 : Depends: libopus0 (>= 1.0.3) but it is not going to be installed
 libgles1-mesa : Depends: libglapi-mesa (= 10.3.0-0ubuntu3) but 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty is to be installed
 libgles2-mesa : Depends: libglapi-mesa (= 10.3.0-0ubuntu3) but 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Ok. You seem to have packages installed from the ricotz PPA which now interfere with the updated versions.

What is the output of

apt-cache policy libopus0 libgles1-mesa libgles2-mesa libglapi-mesa

Revision history for this message
Sergio Semeraro (serjossj) said :
#10

Hi Manfred, here it is, Thanks.

libopus0:
  Installed: (none)
  Candidate: 1.1-0ubuntu1
  Version table:
     1.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libgles1-mesa:
  Installed: (none)
  Candidate: 10.3.0-0ubuntu3
  Version table:
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libgles2-mesa:
  Installed: (none)
  Candidate: 10.3.0-0ubuntu3
  Version table:
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libglapi-mesa:
  Installed: 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty
  Candidate: 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty
  Version table:
 *** 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty 0
        100 /var/lib/dpkg/status
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Maybe re-activating the ppa:xorg-edgers/ppa PPA https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa allows you solving the dependency problem.
Or you could try reverting libglapi-mesa to the Ubuntu original version.

Revision history for this message
Sergio Semeraro (serjossj) said :
#12

Hi again,

after adding PPA and upgraded, here is the last suggested command output:

libopus0:
  Installato: (nessuno)
  Candidato: 1.1-0ubuntu1
  Tabella versione:
     1.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libgles1-mesa:
  Installato: (nessuno)
  Candidato: 10.4.0~git20141023.065256df-0ubuntu0ricotz
  Tabella versione:
     10.4.0~git20141023.065256df-0ubuntu0ricotz 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ utopic/main amd64 Packages
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libgles2-mesa:
  Installato: (nessuno)
  Candidato: 10.4.0~git20141023.065256df-0ubuntu0ricotz
  Tabella versione:
     10.4.0~git20141023.065256df-0ubuntu0ricotz 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ utopic/main amd64 Packages
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
libglapi-mesa:
  Installato: 10.4.0~git20141023.065256df-0ubuntu0ricotz
  Candidato: 10.4.0~git20141023.065256df-0ubuntu0ricotz
  Tabella versione:
 *** 10.4.0~git20141023.065256df-0ubuntu0ricotz 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.0-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages

If i try, trough synaptic, to change version to 10.3.0 utopic, it wants to remove almost everything... (i.e. gnome-shell, calibre, totem, etc)

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

What is now the output of

apt-get --simulate install libavcodec-extra-56 libavutil54 libc6 libegl1-mesa libfreetype6 libgcc1 libgl1-mesa-glx libgles1-mesa libgles2-mesa libopus0 libpulse0 libqtcore4 libqtgui4 libstdc++6 zlib1g

Revision history for this message
Sergio Semeraro (serjossj) said :
#14

Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
libfreetype6 is already the newest version.
libgcc1 is already the newest version.
libpulse0 is already the newest version.
libqtcore4 is already the newest version.
libqtcore4 set to manually installed.
libqtgui4 is already the newest version.
libqtgui4 set to manually installed.
libstdc++6 is already the newest version.
zlib1g is already the newest version.
libgl1-mesa-glx is already the newest version.
libegl1-mesa is already the newest version.
The following packages were automatically installed and are no longer required:
  i965-va-driver:i386 libavresample2:i386 libavutil54:i386 libgsm1:i386
  libmp3lame0:i386 libopencore-amrnb0:i386 libopencore-amrwb0:i386
  libopenjpeg5:i386 librtmp1:i386 libschroedinger-1.0-0:i386 libva1:i386
  libvdpau1:i386 libvo-aacenc0:i386 libvo-amrwbenc0:i386 libx264-142:i386
  libxvidcore4:i386 va-driver-all:i386 vdpau-va-driver:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  i965-va-driver libavresample2 libgsm1 libmp3lame0 libopencore-amrnb0
  libopencore-amrwb0 libopenjpeg5 libschroedinger-1.0-0 libva1 libvo-aacenc0
  libvo-amrwbenc0 libx264-142 libxvidcore4 va-driver-all vdpau-va-driver
Suggested packages:
  opus-tools
The following packages will be REMOVED:
  gstreamer1.0-libav:i386 libavcodec-extra-56:i386 libavformat56:i386
  libopus0:i386
The following NEW packages will be installed:
  i965-va-driver libavcodec-extra-56 libavresample2 libavutil54 libgles1-mesa
  libgles2-mesa libgsm1 libmp3lame0 libopencore-amrnb0 libopencore-amrwb0
  libopenjpeg5 libopus0 libschroedinger-1.0-0 libva1 libvo-aacenc0
  libvo-amrwbenc0 libx264-142 libxvidcore4 va-driver-all vdpau-va-driver
0 upgraded, 20 newly installed, 4 to remove and 0 not upgraded.
Remv gstreamer1.0-libav:i386 [1.4.3-1]
Remv libavformat56:i386 [6:11-1]
Remv libavcodec-extra-56:i386 [6:11-1]
Remv libopus0:i386 [1.1-0ubuntu1]
Inst libavutil54 (6:11-1 Ubuntu:14.10/utopic [amd64])
Inst libavresample2 (6:11-1 Ubuntu:14.10/utopic [amd64])
Inst libgsm1 (1.0.13-4 Ubuntu:14.10/utopic [amd64])
Inst libmp3lame0 (3.99.5+repack1-3ubuntu1 Ubuntu:14.10/utopic [amd64])
Inst libopencore-amrnb0 (0.1.3-2.1 Ubuntu:14.10/utopic [amd64])
Inst libopencore-amrwb0 (0.1.3-2.1 Ubuntu:14.10/utopic [amd64])
Inst libopenjpeg5 (1.5.2-2 Ubuntu:14.10/utopic [amd64])
Inst libopus0 (1.1-0ubuntu1 Ubuntu:14.10/utopic [amd64])
Inst libschroedinger-1.0-0 (1.0.11-2.1 Ubuntu:14.10/utopic [amd64])
Inst libva1 (1.3.1-3 Ubuntu:14.10/utopic [amd64])
Inst libvo-aacenc0 (0.1.3-1 Ubuntu:14.10/utopic [amd64])
Inst libvo-amrwbenc0 (0.1.3-1 Ubuntu:14.10/utopic [amd64])
Inst libx264-142 (2:0.142.2431+gita5831aa-1ubuntu1 Ubuntu:14.10/utopic [amd64])
Inst libxvidcore4 (2:1.3.3-1 Ubuntu:14.10/utopic [amd64])
Inst libavcodec-extra-56 (6:11-1 Ubuntu:14.10/utopic [amd64])
Inst libgles1-mesa (10.4.0~git20141023.065256df-0ubuntu0ricotz xorg-edgers fresh X crack:14.10/utopic [amd64])
Inst libgles2-mesa (10.4.0~git20141023.065256df-0ubuntu0ricotz xorg-edgers fresh X crack:14.10/utopic [amd64])
Inst vdpau-va-driver (0.7.4-3 Ubuntu:14.10/utopic [amd64])
Inst i965-va-driver (1.3.2-1 Ubuntu:14.10/utopic [amd64])
Inst va-driver-all (1.3.1-3 Ubuntu:14.10/utopic [amd64])
Conf libavutil54 (6:11-1 Ubuntu:14.10/utopic [amd64])
Conf libavresample2 (6:11-1 Ubuntu:14.10/utopic [amd64])
Conf libgsm1 (1.0.13-4 Ubuntu:14.10/utopic [amd64])
Conf libmp3lame0 (3.99.5+repack1-3ubuntu1 Ubuntu:14.10/utopic [amd64])
Conf libopencore-amrnb0 (0.1.3-2.1 Ubuntu:14.10/utopic [amd64])
Conf libopencore-amrwb0 (0.1.3-2.1 Ubuntu:14.10/utopic [amd64])
Conf libopenjpeg5 (1.5.2-2 Ubuntu:14.10/utopic [amd64])
Conf libopus0 (1.1-0ubuntu1 Ubuntu:14.10/utopic [amd64])
Conf libschroedinger-1.0-0 (1.0.11-2.1 Ubuntu:14.10/utopic [amd64])
Conf libva1 (1.3.1-3 Ubuntu:14.10/utopic [amd64])
Conf libvo-aacenc0 (0.1.3-1 Ubuntu:14.10/utopic [amd64])
Conf libvo-amrwbenc0 (0.1.3-1 Ubuntu:14.10/utopic [amd64])
Conf libx264-142 (2:0.142.2431+gita5831aa-1ubuntu1 Ubuntu:14.10/utopic [amd64])
Conf libxvidcore4 (2:1.3.3-1 Ubuntu:14.10/utopic [amd64])
Conf libavcodec-extra-56 (6:11-1 Ubuntu:14.10/utopic [amd64])
Conf libgles1-mesa (10.4.0~git20141023.065256df-0ubuntu0ricotz xorg-edgers fresh X crack:14.10/utopic [amd64])
Conf libgles2-mesa (10.4.0~git20141023.065256df-0ubuntu0ricotz xorg-edgers fresh X crack:14.10/utopic [amd64])
Conf vdpau-va-driver (0.7.4-3 Ubuntu:14.10/utopic [amd64])
Conf i965-va-driver (1.3.2-1 Ubuntu:14.10/utopic [amd64])
Conf va-driver-all (1.3.1-3 Ubuntu:14.10/utopic [amd64])

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

The simulation does not show any error any more, it just tells that it has to delete the i386 version of four packages. This should not do any harm, and it should be possible to install the current versions of these packages again, if they are required.

You could now try a simulation of the installation of vlc:

apt-get --simulate install vlc

to check whether there are any remaining error messages.

Fort the sake of completeness please also provide the output of

apt-get --simulate dist-upgrade

(I expect those four i386 packages to be shown for update.)

Revision history for this message
Sergio Semeraro (serjossj) said :
#16

Hi Manfred,

unfortunately still no luck...

thanks for all your suggestions

sudo apt-get --simulate install vlc
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-nox (= 2.2.0~pre2-4build1) but it is not going to be installed
       Depends: libavcodec56 (>= 6:11~beta1) but it is not going to be installed or
                libavcodec-extra-56 (>= 6:11~beta1) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.2.0~pre2-4build1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.0~pre2-4build1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-get --simulate 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.

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

I see.

Next attempt:

sudo dpkg --audit
apt-get --simulate install libavcodec-extra-56 vlc-nox vlc

Revision history for this message
Sergio Semeraro (serjossj) said :
#18

sudo dpkg --audit

nothing shown

sudo apt-get --simulate install libavcodec-extra-56 vlc-nox vlc
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:
 libavcodec-extra-56 : Depends: libopus0 (>= 1.0.3) but it is not going to be installed
 vlc-nox : Depends: libopus0 (>= 1.0.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

Try

apt-get --simulate install libopus0 libavcodec-extra-56 vlc-nox vlc

Revision history for this message
Sergio Semeraro (serjossj) said :
#20

This command seemed ok, so I ran it without simulate and now vlc is installed. What should I do with the bug related to this?

Thanks a lot for your patience Manfred, I owe you a beer!!!

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

If you want, you can change the bug status to "invalid"; this shows that no further work is expected on it. And you could add a comment that the dependency problems could be solved manually.

Revision history for this message
Sergio Semeraro (serjossj) said :
#22

Dependency problem is solved although videos cannot be shift forward.
Thanks again Manfred for your help