0

Whenever I try to install VLC by terminal this shows up.

ankit@ankit-desktop:~$ sudo apt-get install vlc
[sudo] password for ankit: 
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.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
       Recommends: vlc-plugin-pulse (= 2.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I'm using Ubuntu 13.10.

Please tell me what to do?

When I try to install VLC from software center, this message pops up, Package dependencies cannot be resolved.

Tim
  • 32,861
  • 27
  • 118
  • 178
Ankit
  • 1

3 Answers3

1

You have most likely set up a new machine and encrypted your system.

  1. Press ALT and F2 together.
  2. Type--> software-properties-gtk and select it.
  3. Select the other sources tab.
  4. Make sure the boxes that say "canonical partners" and "canonical partners (source code)" are both checked.
  5. Agree to the requested update.

You should now be able to install vlc.

bummi
  • 394
  • 3
  • 9
  • 14
0

Try to run:

sudo apt-get -f install

This should fix broken packages or unmet dependencies. Then you can go about installing vlc.

0

It seems you have Third party PPAs enabled. Disable them. See this question

Now refresh your package list with sudo apt-get update and do sudo apt-get install -f to solve the problem.

Anwar
  • 76,649
  • If your answer is essentially a referral to another question, it would be better to flag this question as a duplicate of the other. – David Foerster May 11 '15 at 23:54
  • @David Foerster: Although the answer might be the same, the question is clearly not. Flagging a question as duplicate should only be done if the question is a duplicate, not if the answer is a duplicate. It is, however advisable to put the relevant info in the answer itself as registered user said. – Merlijn Sebrechts May 12 '15 at 11:07
  • @Anwar Shah: It is advisable to put the relevant information in your answer itself. Also please advise on what ppa he should remove. – Merlijn Sebrechts May 12 '15 at 11:08
  • Well, this is not same answer either. I was referring to answer for as an step for this. The answer is disabling ppa, refreshing and using the last command. @DavidFoerster – Anwar Aug 04 '16 at 18:10