A few years ago I added this repository to my sources.list:
http://www.deb-multimedia.org/
because it contained packages like acroread or flash player, which were either missing or out of date in the official repos.
However, now I have just realized that some of the packages from that repository are broken, e.g. mencoder. Hence a few questions:
- How can I find out which packages are installed from this particular repository?
- How can I make this repository lower priority, so that only the packages I want are automatically installed/upgraded from there?
EDIT: I edited `/etc/apt/preferences' file as someone suggested:
grzes:/home/ga# cat /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 700
Package: *
Pin: release a=stable
Pin-Priority: 600
Package: *
Pin: release a=unstable
Pin-Priority: 50
Package: *
Pin: origin deb-multimedia.org/
Pin-Priority: 50
but it didn't seem to work (note that I downgraded this package manually):
grzes:/home/ga# apt-cache policy mencoder
mencoder:
Installed: 2:1.0~rc4.dfsg1+svn34540-1+b2
Candidate: 3:1.1-dmo5
Version table:
3:1.1-dmo5 0
50 http://www.deb-multimedia.org/ unstable/main i386 Packages
700 http://www.deb-multimedia.org/ testing/main i386 Packages
*** 2:1.0~rc4.dfsg1+svn34540-1+b2 0
50 http://ftp.uk.debian.org/debian/ unstable/main i386 Packages
700 http://ftp.uk.debian.org/debian/ testing/main i386 Packages
100 /var/lib/dpkg/status
2:1.0~rc3++final.dfsg1-1 0
600 http://ftp.uk.debian.org/debian/ stable/main i386 Packages
apt-cache policy. – scai Aug 3 '12 at 7:53