I got the same problem, the following should help you.
First, edit your sources.list this way :
for a 32 bits x86 architecture.
Second, create the file /etc/apt/preferences, and edit it that way :
Package: *
Pin: release o=apt-build
Pin-Priority: 989
Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 988
Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 987
Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 986
Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 985
Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 99
Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 98
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 97
Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 96
Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 95
Package: *
Pin: release o=Unofficial Multimedia Packages,a=experimental,l=Unofficial Multimedia Packages
Pin-Priority: 94
Package: *
Pin: release o=Debian,a=experimental,l=Debian
Pin-Priority: 93
Then, uninstall completely vlc, by typing these commands :
Code: Select all
# apt-get remove --purge vlc
# apt-get remove --purge ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 libpostproc51 libswscale
# apt-get autoremove
$ rm ~/.vlc/cache/plugins-*.dat
(# mean that you are logged as root, using su, and $ that you're normal user)
Then, reinstall vlc the normal way
It should be ok, and that should work properly for most Debian x86 32 bits architecture.
The problem is a conflict between vlc package and libavcodec51 provide by Debian Multimedia.
The aim of the preferences file (that must be created if never used before), is to tell to apt that you prefer packages from :
1 security
2 Volatile
3 standard
4 multimedia
repository
When you reinstall vlc with this configuration, the lib is taken from another repository that Debian Multimedia, wich isn't "official", even it's a mostly sure repository.
Even if you're not concerned by these explanations, I wanted to found them when I was searching for, and it should help someone.
Last point : please excuse many of my mistake, I'm french.