Package libavformat55 missing

Asked by Mayank Singh

I am trying to install VLC on ubuntu 14.04 - trusty (i386 architecture) but vlc know is failing saying :

me@me :~$ sudo apt-get install vlc-nox=3.0.0~~git20141116+r58673+31~ubuntu14.04.1
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-nox : Depends: libavformat55 (>= 6:9.1-1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Where can i get libavformat55 to install from...?? please help

similar question on stackoverflow.com : http://stackoverflow.com/questions/26957117/unmet-dependency-when-installing-vlc-on-ubuntu-14-04/26957447#26957447

Question information

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

What is the ouyput of:

lsb_release -a; uname -a; apt-cache policy vlc vlc-nox

Thanks

Revision history for this message
Mayank Singh (mayank-s-11) said :
#2

here it is :

~$ lsb_release -a; uname -a; apt-cache policy vlc vlc-nox
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Linux mayank 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC 2014 i686 i686 i686 GNU/Linux
vlc:
  Installed: (none)
  Candidate: 3.0.0~~git20141116+r58673+31~ubuntu14.04.1
  Version table:
     3.0.0~~git20141116+r58673+31~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/videolan/master-daily/ubuntu/ trusty/main i386 Packages
     2.2.0+ppa2.4 0
        500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main i386 Packages
     2.1.4+git20141006+r54582+19+11~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/videolan/stable-daily/ubuntu/ trusty/main i386 Packages
     2.1.4-0ubuntu14.04.1 0
        500 http://mirror.kavalinux.com/ubuntu/ trusty-security/universe i386 Packages
     2.1.2-2build2 0
        500 http://mirror.kavalinux.com/ubuntu/ trusty/universe i386 Packages
vlc-nox:
  Installed: (none)
  Candidate: 3.0.0~~git20141116+r58673+31~ubuntu14.04.1
  Version table:
     3.0.0~~git20141116+r58673+31~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/videolan/master-daily/ubuntu/ trusty/main i386 Packages
     2.2.0+ppa2.4 0
        500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main i386 Packages
     2.1.4+git20141006+r54582+19+11~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/videolan/stable-daily/ubuntu/ trusty/main i386 Packages
     2.1.4-0ubuntu14.04.1 0
        500 http://mirror.kavalinux.com/ubuntu/ trusty-security/universe i386 Packages
     2.1.2-2build2 0
        500 http://mirror.kavalinux.com/ubuntu/ trusty/universe i386 Packages

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

Remove the PPA you added and it will install from the Ubuntu repos. If you start adding 3rd party source don't be surprised if you get issues.

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

There are no unmet dependancies for VLC in the Ubuntu repos. This is quite on purpose.

Revision history for this message
Mayank Singh (mayank-s-11) said :
#5

i tried installing vlc through Synaptic Packet Manager and its showed dependency of vlc-nox.....i installed things to remove that.

I am not a core user of ubuntu, can you please tell me how to remove all the unwanted depedencies/PPAs please....then i'll try again

Thanks :)

Revision history for this message
Mayank Singh (mayank-s-11) said :
#6

is there a some command to remove all the 3rd party PPAs associated with vlc?
I can remove it then and have a clean install from repo

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

What is the output of:

egrep 'mc3man|master-daily' /etc/apt/*

Thanks

Revision history for this message
Mayank Singh (mayank-s-11) said :
#8

here it is :

egrep: /etc/apt/apt.conf.d: Is a directory
egrep: /etc/apt/preferences.d: Is a directory
egrep: /etc/apt/sources.list.d: Is a directory
egrep: /etc/apt/trusted.gpg.d: Is a directory

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

Sorry,

egrep -R 'mc3man|master-daily' /etc/apt/*

Revision history for this message
Mayank Singh (mayank-s-11) said :
#10

here it is :

mayank@mayank:~$ sudo egrep -R 'mc3man|master-daily' /etc/apt/*
[sudo] password for mayank:
/etc/apt/sources.list.d/videolan-master-daily-trusty.list.save:deb http://ppa.launchpad.net/videolan/master-daily/ubuntu trusty main
/etc/apt/sources.list.d/videolan-master-daily-trusty.list.save:deb-src http://ppa.launchpad.net/videolan/master-daily/ubuntu trusty main
/etc/apt/sources.list.d/mc3man-trusty-media-trusty.list:deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main
/etc/apt/sources.list.d/mc3man-trusty-media-trusty.list:# deb-src http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main
/etc/apt/sources.list.d/videolan-master-daily-trusty.list:deb http://ppa.launchpad.net/videolan/master-daily/ubuntu trusty main
/etc/apt/sources.list.d/videolan-master-daily-trusty.list:deb-src http://ppa.launchpad.net/videolan/master-daily/ubuntu trusty main
/etc/apt/sources.list.d/mc3man-trusty-media-trusty.list.save:deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main
/etc/apt/sources.list.d/mc3man-trusty-media-trusty.list.save:# deb-src http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main
mayank@mayank:~$

I gotta sleep now....will definateklyrespond back tomorrow...thanks for all you help today...i hope you'll help me solve this out...thanks once again!

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

sudo rm /etc/apt/sources.list.d/mc3man-trusty-media-trusty*

sudo rm /etc/apt/sources.list.d/videolan-master-daily*

sudo apt-get update

sudo apt-get install vlc

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

sudo rm /etc/apt/sources.list.d/mc3man-trusty-media-trusty*

sudo rm /etc/apt/sources.list.d/videolan-master-daily*

sudo apt-get update

sudo apt-get install vlc

Revision history for this message
Mayank Singh (mayank-s-11) said :
#13

Thanks actionparsnip, that solved my question.