Cannot install vlc, broken packages on 14.04
The following is shown when I am trying to (re)-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 (= 3.0.0~~
Depends: libavcodec55 (>= 6:9.1-1) but it is not installable or
Depends: libavutil53 (>= 6:9.1-1) but it is not installable
Recommends: vlc-plugin-notify (= 3.0.0~~
Recommends: vlc-plugin-samba (= 3.0.0~~
E: Unable to correct problems, you have held broken packages.
Note that a week ago I wanted to install acroread and followed a tutorial online (I cannot find it anymore) which did not work (probably because I am on a 64 bits machine). The commands I did back then were:
sudo add-apt-repository "deb http://
sudo apt-get update
sudo apt-get install acroread
sudo add-apt-repository -r "deb http://
sudo apt-get update
I don't know if it is correlated (probably is, but I did not find how to clean this up :(), today vlc disappeared after I did an update through the software updater.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- 2014-11-13
- Last query:
- 2014-11-13
- Last reply:
- 2014-11-13
Probably because you have added a billion PPAs. This will help
https:/
| Manfred Hampl (m-hampl) said : | #2 |
Could be a build problem in one of the PPAs. There currently is an error message on https:/
"Copying failed of libav (6:10~~
What is the output of the terminal commands
apt-cache policy vlc vlc-nox libavcodec55 libavutil53
apt-get --simulate vlc vlc-nox libavcodec55 libavutil53
grep videolan /etc/apt/
grep motumedia /etc/apt/
| gal (gal-l) said : | #3 |
apt-cache policy vlc vlc-nox libavcodec55 libavutil53
vlc:
Installed: (none)
Candidate: 3.0.0~~
Version table:
3.
500 http://
2.
500 http://
500 http://
2.1.2-2build2 0
500 http://
vlc-nox:
Installed: (none)
Candidate: 3.0.0~~
Version table:
3.
500 http://
2.
500 http://
500 http://
2.1.2-2build2 0
500 http://
libavcodec55:
Installed: (none)
Candidate: (none)
Version table:
libavutil53:
Installed: (none)
Candidate: (none)
Version table:
apt-get install --simulate vlc vlc-nox libavcodec55 libavutil53 (i added the install part, figured this was what you meant)
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libavutil53 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavcodec55' has no installation candidate
E: Package 'libavutil53' has no installation candidate
grep videolan /etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
grep motumedia /etc/apt/
empty
| gal (gal-l) said : | #4 |
@actionparsnip: I don't know if it is similar, I don't have that many ppas in others:
- indepedent,
- google talk plugin,
- webupd8team and
- videolan
(anyway I tried to follow their steps and it did not do anything)
Thanks anyway
|
|
#5 |
You could try enabling the ppa:motumedia/
| gal (gal-l) said : | #6 |
Thanks! It worked. So apparently it was not because of the thing with acroread.
Just to be clear for future generation:
sudo add-apt-repository ppa:motumedia/
sudo apt-get update
sudo apt-get install vlc
| gal (gal-l) said : | #7 |
Thanks Manfred Hampl, that solved my question.
Please don't add PPAs. I have seen this far too many times. Manfred is the man at this stuff :)
If you avoid PPAs and stick to the official sources you will have significantly fewer issues with pacages.
| Manfred Hampl (m-hampl) said : | #9 |
Just a final comment:
The root cause in this case seems to have been that the videolan PPA depends on software from another PPA which is an undesired and non-standard case.
I fully agree with actionparsnip that going back from the PPA versions of vlc to the standard Ubuntu ones should have provided an easy solution to your problem, too.
| Allan Deamon (rea-aft) said : | #10 |
This solution doesn't work anymore. The ppa:motumedia/
The version in VLC is very buggy, so I always having to trying (and falling) to install a newer version of it in Ubuntu, or having to change the OS just to use a working version of it. It's really frustrating those "stable" versions which are buggy and you cannot install a unstable bug free version of it.
| Manfred Hampl (m-hampl) said : | #11 |
@Allan Deamon:
Please don't blame Ubuntu if one of the PPA providers decides to abandon one of his PPAs.
A quick search shows that there is a PPA ppa:motumedia/
And if not, please contact the provider of the PPA or videolan.org, because there is the clear statement that there is no support here for software that you install from PPAs or from outside the standard Ubuntu repositories.
You would not experience such problems if you stick to the standard Ubuntu versions.
| Janis Elmeris (janis-elmeris) said : | #12 |
MOTU media's archive didn't work for me, but this one worked: https:/

