Package: apt Followup-For: Bug #454080
It seems package pinning works to some extent but the syntax of the version field is somewhat peculiar. It seems that an asterisk is ignored if it is preceded by a number so you can pin to 3.* or 3.0.* but not 3.0* Also the success of pinning depends on the order of the pins. I had to move the mplayer pin before the other unstable pins for it to take effect. This feature is really poorly documented which may lead to unsuccesfull pinning but I beleive it is working. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Acquire ""; APT::Acquire::Translation "environment"; APT::Update ""; APT::Update::Post-Invoke ""; APT::Update::Post-Invoke:: "[ ! -x /usr/lib/ia32-libs-tools/update-arch-all.list ] || /usr/lib/ia32-libs-tools/update-arch-all.list"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^linux-image.*"; APT::NeverAutoRemove:: "^linux-restricted-modules.*"; APT::Cache-Limit "67108864"; APT::Default-Release "lenny"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; "APT::Periodic::Update-Package-Lists=1"; -- /etc/apt/preferences -- Package: mplayer mplayer-nogui Pin: release a=unstable-i386, o=Unofficial Multimedia Packages Pin-Priority: 997 Package: * Pin: release a=unstable, o=Unofficial Multimedia Packages Pin-Priority: 300 Package: * Pin: release a=unstable Pin-Priority: 300 Package: * Pin: release a=stable Pin-Priority: 900 Package: openoffice.org openoffice.org-1.9.125 openoffice.org-base openoffice.org-base-core openoffice.org-bin openoffice.org-bundled openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-crashrep openoffice.org-debian-files openoffice.org-debian-menus openoffice.org-dev openoffice.org-draw openoffice.org-emailmerge openoffice.org-evolution openoffice.org-filter-binfilter openoffice.org-filter-mobiledev openoffice.org-filter-so52 openoffice.org-gcj openoffice.org-gnome openoffice.org-gtk openoffice.org-help-2.0.0 openoffice.org-help-2.0.1 openoffice.org-help-2.0.2 openoffice.org-help-2.0.3 openoffice.org-help-2.4 openoffice.org-help-de openoffice.org-help-el openoffice.org-help-en openoffice.org-help-es openoffice.org-help-fr openoffice.org-help-it openoffice.org-help-ja openoffice.org-help-ko openoffice.org-help-pt-br openoffice.org-help-sv openoffice.org-help-tr openoffice.org-help-zh-cn openoffice.org-help-zh-tw openoffice.org-hunspell openoffice.org -hyphenation openoffice.org-impress openoffice.org-java openoffice.org-java-common openoffice.org-kde openoffice.org-l10n-1.9.108 openoffice.org-l10n-1.9.114 openoffice.org-l10n-1.9.121 openoffice.org-l10n-2.4 openoffice.org-l10n-en openoffice.org-l10n-en-us openoffice.org-math openoffice.org-mimelnk openoffice.org-officebean openoffice.org-report-builder openoffice.org-report-builder-bin openoffice.org-style-andromeda openoffice.org-style-crystal openoffice.org-style-default openoffice.org-style-galaxy openoffice.org-style-hicontrast openoffice.org-style-industrial openoffice.org-style-tango openoffice.org-thesaurus openoffice.org-unbundled openoffice.org-updatedicts openoffice.org-writer openoffice.org-writer2latex Pin: version 1:3.1.0-* Pin-Priority: 991 Package: libghc6-xmonad-contrib-dev libghc6-xmonad-contrib-doc libghc6-xmonad-contrib-prof libghc6-xmonad-dev libghc6-xmonad-doc libghc6-xmonad-prof xmonad Pin: version 0.8* Pin-Priority: 990 Package: * Pin: release a=unstable-i386 Pin-Priority: 270 Package: * Pin: release a=testing-i386 Pin-Priority: 280 Package: * Pin: release a=stable-i386 Pin-Priority: 290 -- /etc/apt/sources.list -- # deb http://ftp.cz.debian.org/debian/ lenny main deb http://download.videolan.org/pub/videolan/debian sid main deb-src http://download.videolan.org/pub/videolan/debian sid main deb http://ftp.cz.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.cz.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free deb http://ftp.cz.debian.org/debian/ testing main contrib non-free deb-src http://ftp.cz.debian.org/debian/ testing main contrib non-free deb http://ftp.cz.debian.org/debian/ sid main contrib non-free deb-src http://ftp.cz.debian.org/debian/ sid main contrib non-free deb http://ftp.cz.debian.org/debian/ experimental main contrib non-free deb-src http://ftp.cz.debian.org/debian/ experimental main contrib non-free #deb-src http://snapshot.debian.net/archive pool xserver-xorg-video-intel #deb http://www.virtualbox.org/debian etch non-free #deb http://ftp.uni-kl.de/debian-multimedia/ unstable main #deb-src http://ftp.uni-kl.de/debian-multimedia/ unstable main #deb http://ftp.uni-kl.de/debian-multimedia/ testing main #deb-src http://ftp.uni-kl.de/debian-multimedia/ testing main deb http://ucho.ignum.cz/debian-multimedia/ lenny main deb-src http://ucho.ignum.cz/debian-multimedia/ lenny main deb [arch=i386] http://ucho.ignum.cz/debian-multimedia/ unstable main deb-src http://ucho.ignum.cz/debian-multimedia/ unstable main deb [arch=i386] http://ucho.ignum.cz/debian-multimedia/ testing main deb-src http://ucho.ignum.cz/debian-multimedia/ testing main deb http://www.lamaresh.net/apt lenny main #deb http://www.lamaresh.net/apt sid main -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (900, 'stable'), (500, 'testing'), (300, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a ii libc6 2.9-21 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> (no description available) ii aptitude 0.4.11.11-1+b1 terminal-based package manager ii bzip2 1.0.5-1 high-quality block-sorting file co ii dpkg-dev 1.14.25 Debian package development tools ii lzma 4.43-14 Compression method of 7z format in pn python-apt <none> (no description available) -- debconf-show failed -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

