LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Cannot install vlc backports on Debian Wheezy (https://www.linuxquestions.org/questions/debian-26/cannot-install-vlc-backports-on-debian-wheezy-4175493743/)

Archy1 02-04-2014 06:59 PM

Cannot install vlc backports on Debian Wheezy
 
I am trying to install vlc backports on my laptop running Debian 7.3 x64. On my desktop computer, running the same OS the following commands were sufficient:
Code:

apt-get purge vlc
apt-get -t wheezy-backports install vlc

However, on my laptop, I get this after typing in the above commands:
Code:

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.1.2-2~bpo70+2) but 2.0.3-5 is to be installed
      Depends: libvlccore7 (>= 2.1.0) but it is not going to be installed
      Recommends: vlc-plugin-notify (= 2.1.2-2~bpo70+2) but 2.0.3-5 is to be installed
      Recommends: vlc-plugin-pulse (= 2.1.2-2~bpo70+2) but 2.0.3-5 is to be installed
E: Unable to correct problems, you have held broken packages.

I then tried the fallowing commands but the above error remains:
Code:

apt-get update
apt-get upgrade
apt-get autoremove

Here is the content of sources.list:
Code:

#

# deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20131014-01:37]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20131014-01:37]/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

# wheezy-backports
deb http://ftp.us.debian.org/debian/ wheezy-backports main

# Unofficial:
#deb http://www.deb-multimedia.org wheezy main non-free

(The only thing I installed from deb-multimedia is libdvdcss2)

My desktop OS in a fresh netinstall while my laptop OS was dist-upgraded from 7.2 to 7.3, just in case that's relivent. Both systems had almost the same packages installed before atempting to install vlc backports.

I switched from vlc to vlc backports because vlc was playing audio files with a instruments amount of static noise on both computers. Installing vlc backports fixed the issue on my desktop so I want to do the same for my laptop instead of using mplayer.

Thanks.

AlucardZero 02-04-2014 07:49 PM

Try specifying getting the offending packages from bpo too:

apt-get -t wheezy-backports vlc vlc-nox libvlccore7 vlc-plugin-notify vlc-plugin-pulse

Archy1 02-04-2014 09:09 PM

Got it!

"apt-get -t wheezy-backports install vlc vlc-nox libvlccore7 vlc-plugin-notify vlc-plugin-pulse" gave me the following error:
Code:

The following packages have unmet dependencies:
 libvlccore7 : Depends: vlc-data (= 2.1.2-2~bpo70+2) but 1:2.0.6-dmo1 is to be installed
E: Unable to correct problems, you have held broken packages.

So i then typed in "apt-get -t wheezy-backports install vlc vlc-data vlc-nox libvlccore7 vlc-plugin-notify vlc-plugin-pulse" only to get:
Code:

vlc-data is already the newest version.
"apt-get purge vlc-data" fallowed by "apt-get -t wheezy-backports install vlc vlc-data vlc-nox libvlccore7 vlc-plugin-notify vlc-plugin-pulse" got things going correctly!

Thanks!

linuxbawks 08-09-2014 09:27 PM

May I ask what are you using to upgrade your system?

Code:

apt-get dist-upgrade
OR

Code:

apt-get -t wheezy-backports dist-upgrade
With the former system wants to keep downgrading VLC from backport.

Randicus Draco Albus 08-09-2014 09:52 PM

Why use dist-uprade? It is useful with Testing and Unstable, but Stable only receives security updates, so apt-get upgrade is sufficient. Dist-upgrade upgrades to the next release (from Debian 5 to 6, 6-7, etc).

If you are trying to upgrade to Testing, then that is a different matter.

linuxbawks 08-09-2014 10:00 PM

It doesn't really matter. I get more updates using dist-upgrade.

Curiously the system won't upgrade VLC (1:2.0.6-dmo2) to (2.1.5-1~bpo70+1).

Even if I use apt-get upgrade it reports VLC has been kept back if I install VLC from the bpo.

EDDY1 08-09-2014 11:42 PM

I know that you've solved your problem, but the reason you had the problem is because you are installing from deb-multimedia & backports


All times are GMT -5. The time now is 05:14 AM.