Debian Bug report logs - #317186
apt: Pinning of individual packages does not work.

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt.

Reported by: Philipp Weis <pweis@pweis.com>

Date: Wed, 6 Jul 2005 21:03:09 UTC

Severity: normal

Found in versions 0.6.38, apt/0.6.43.3, apt/0.6.46.2

Done: Julian Andres Klode <jak@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. Full text and rfc822 format available.

Acknowledgement sent to Philipp Weis <pweis@pweis.com>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Philipp Weis <pweis@pweis.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt: Pinning of individual packages does not work.
Date: Wed, 6 Jul 2005 23:02:06 +0200
Package: apt
Version: 0.6.38
Severity: normal

Hi,

apt doesn't respect the pin priority specified in
/etc/apt/preferences. With the attached file, I get

| # apt-cache policy aptitude
| aptitude:
|   Installed: 0.2.15.9-3
|   Candidate: 0.2.15.9-3
|   Package pin: 0.2.15.9-3
|   Version table:
|  *** 0.2.15.9-3 700
|         550 http://ftp.de.debian.org unstable/main Packages
|         100 /var/lib/dpkg/status
|      0.2.15.9-2 700
|         600 http://ftp.de.debian.org sarge/main Packages
|         550 http://ftp.de.debian.org testing/main Packages

I would expect the priority of the unstable version to be 700, as specified in /etc/apt/preferences.

If replace the package name with a wildcard, things work like they should. So with "Package: *" instead of "Package: aptitude", I get

| # apt-cache policy aptitude
| aptitude:
|   Installed: 0.2.15.9-3
|   Candidate: 0.2.15.9-3
|   Version table:
|  *** 0.2.15.9-3 0
|         700 http://ftp.de.debian.org unstable/main Packages
|         100 /var/lib/dpkg/status
|      0.2.15.9-2 0
|         600 http://ftp.de.debian.org sarge/main Packages
|         550 http://ftp.de.debian.org testing/main Packages

What is going on here? Am I doing something wrong?


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "sarge";
APT::Cache-Limit "8388608";
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::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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
Acquire "";
Acquire::http "";
Acquire::http::Timeout "2";

-- /etc/apt/preferences --

Package: aptitude
Pin: release o=Debian,a=unstable
Pin-Priority: 700

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 600

Package: *
Pin: release o=Debian
Pin-Priority: 550

-- /etc/apt/sources.list --

deb	http://ftp.de.debian.org/debian sarge main
#deb	http://ftp2.de.debian.org/debian sarge main
deb-src http://ftp.de.debian.org/debian sarge main
#deb-src http://ftp2.de.debian.org/debian sarge main
deb     http://security.debian.org/ sarge/updates main
deb-src http://security.debian.org/ sarge/updates main
 
# testing
deb     http://ftp.de.debian.org/debian testing main
#deb     http://ftp2.de.debian.org/debian unstable main
deb-src http://ftp.de.debian.org/debian testing main
#deb-src http://ftp2.de.debian.org/debian unstable main
 
# unstable
deb     http://ftp.de.debian.org/debian unstable main
#deb     http://ftp2.de.debian.org/debian unstable main
deb-src http://ftp.de.debian.org/debian unstable main
#deb-src http://ftp2.de.debian.org/debian unstable main

## experimental
#deb     http://ftp.de.debian.org/debian experimental main
##deb     http://ftp2.de.debian.org/debian experimental main
#deb-src http://ftp.de.debian.org/debian experimental main
##deb-src http://ftp2.de.debian.org/debian experimental main


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (550, 'unstable'), (550, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:4.0.0-12   GCC support library
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3

-- no debconf information

-- 
Philipp Weis    pweis@pweis.com    http://pweis.com/



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. Full text and rfc822 format available.

Acknowledgement sent to Sam Morris <sam@robots.org.uk>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. Full text and rfc822 format available.

Message #10 received at 317186@bugs.debian.org (full text, mbox):

From: Sam Morris <sam@robots.org.uk>
To: Debian Bug Tracking System <317186@bugs.debian.org>
Subject: apt: This happens to me too
Date: Fri, 10 Mar 2006 23:37:02 +0000
Package: apt
Version: 0.6.43.3
Followup-For: Bug #317186

I am seeing this too:

If I specify the wildcard '*' as the package:

  Package: *
  Pin: origin www.fbriere.net
  Pin-Priority: -1

then I get the desired result:

  $ apt-cache policy vmware
  vmware:
    Installed: 5.5.1-19175-1
    Candidate: 5.5.1-19175-1
    Version table:
       1:0fbriere.1 0
           -1 http://www.fbriere.net  Packages
   *** 5.5.1-19175-1 0
          100 /var/lib/dpkg/status

However, if I specify 'vmware' as the package name:

  Package: vmware
  Pin: origin www.fbriere.net
  Pin-Priority: -1

then the pin no longer sticks:

  $ apt-cache policy vmware
  vmware:
    Installed: 5.5.1-19175-1
    Candidate: 1:0fbriere.1
    Package pin: 1:0fbriere.1
    Version table:
       1:0fbriere.1 -1
          500 http://www.fbriere.net  Packages
   *** 5.5.1-19175-1 -1
          100 /var/lib/dpkg/status

I notice also that the number after the version number of the output of
apt-cache policy changes to '-1'... the man page for apt-cache does not
explain what it means. This is the first time I have seen it displaying
anything other than '0'. Anyone know what this means?

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Periodic "";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "1";
APT::Periodic::Update-Package-Lists "1";
APT::Archives "";
APT::Archives::MaxAge "7";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "1";
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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then  touch /var/lib/update-notifier/dpkg-run-stamp; fi";

-- /etc/apt/preferences --

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 540

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 530

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 520

Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 510

Package: *
Pin: origin wine.sourceforge.net
Pin-Priority: 600

Package: *
Pin: release o=Christian Marillat,a=testing
Pin-Priority: 600

Package: *
Pin: release o=robots.org.uk
Pin-Priority: 600

Package: vmware
Pin: origin www.fbriere.net
Pin-Priority: 50

-- /etc/apt/sources.list --

# sarge
deb     http://ftp.de.debian.org/debian/         sarge          main contrib non-free 
deb-src http://ftp.de.debian.org/debian/         sarge          main contrib non-free 
deb     http://security.debian.org/              sarge/updates  main contrib non-free  
deb-src http://security.debian.org/              sarge/updates  main contrib non-free

# etch
deb     http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ etch main contrib non-free

# unstable
deb     http://ftp.de.debian.org/debian/ unstable main contrib non-free 
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free  

#experimental
deb     http://ftp.de.debian.org/debian/ experimental main contrib non-free 
deb-src http://ftp.de.debian.org/debian/ experimental main contrib non-free 

#mplayer
deb     ftp://ftp.nerim.net/debian-marillat/ sarge main
deb-src ftp://ftp.nerim.net/debian-marillat/ sarge main
deb http://tonelli.sns.it/pub/mplayer/etch ./
#deb http://tonelli.sns.it/pub/mplayer/sarge ./

# vmware, emulation stuff
deb     http://www.fbriere.net/debian/dists/sarge/ /
#deb-src http://www.fbriere.net/debian/dists/sarge/ /

# mentors
deb-src http://mentors.debian.net/debian/ unstable main  

# my stuff
#deb http://robots.org.uk/debian                        sarge main
deb file:/home/sam/Documents/robots.org.uk/site/public_html/debian sarge main

# slime
#deb http://commonwerx.org/software/contrib/slime/deb ./

# lisp stuff
#deb http://people.debian.org/~pvaneynd/cl-sarge-packages ./

# wine
deb http://wine.sourceforge.net/apt binary/

# xorg
#deb http://people.debian.org/~nobse/xorg-x11/ sarge main

# django
deb http://www.sommitrealweird.co.uk/debian/ unstable django
deb http://www.sommitrealweird.co.uk/debian/ stable django

# fuseftp
#deb http://debian.jox.be ./

# thunderbird
deb http://people.debian.org/~asac/experimental/ ./

# vim: set nowrap

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.5-13   GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-9  GCC support library
ii  libstdc++6                    4.0.2-9    The GNU Standard C++ Library v3

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. Full text and rfc822 format available.

Acknowledgement sent to A Mennucc <mennucc1@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. Full text and rfc822 format available.

Message #15 received at 317186@bugs.debian.org (full text, mbox):

From: A Mennucc <mennucc1@debian.org>
To: Debian Bug Tracking System <317186@bugs.debian.org>
Subject: apt: pinning still buggy
Date: Wed, 1 Nov 2006 18:26:51 +0100
[Message part 1 (text/plain, inline)]
Package: apt
Version: 0.6.46.2
Followup-For: Bug #317186

hi

after I discussed bug  http://bugs.debian.org/396346
I decided to prepare a FAQ on using pinning for mplayer;
but  I found that the preferences 
vvvvvvvvvvvvv
Package: mplayer
Pin: release o=Unofficial Multimedia Packages
Pin-Priority: 450
^^^^^^^^^^^^^
do not work ; while instead 
vvvvvvvvvvvv
Package: *
Pin: release o=Unofficial Multimedia Packages
Pin-Priority: 450
^^^^^^^^^^
works. This is a pity.

a.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "20000000";
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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "which dzhandle >/dev/null && dzhandle restart-pending-instances || true";
DSelect "";
DSelect::Clean "auto";

-- /etc/apt/sources.list --

deb http://ftp.debian.org/debian/ unstable main
deb-src http://ftp.it.debian.org/debian/ unstable main

deb http://www.winischhofer.net/sis/debian/unstable ./

deb http://ftp.it.debian.org/debian etch main non-free contrib

deb http://www.debian-multimedia.org etch main

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring       2006.01.18  GnuPG archive keys of the Debian a
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. (Tue, 03 Feb 2009 00:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jblake@omgwallhack.org:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Tue, 03 Feb 2009 00:24:02 GMT) Full text and rfc822 format available.

Message #20 received at 317186@bugs.debian.org (full text, mbox):

From: Julian Blake Kongslie <jblake@omgwallhack.org>
To: 317186@bugs.debian.org
Subject: Any progress?
Date: Mon, 02 Feb 2009 16:21:33 -0800
[Message part 1 (text/plain, inline)]
Is there any progress on this bug? I'd like to be able to pin specific
packages or patterns like *xorg* to experimental, but anything other
than Package: * seems to be completely ignored.

Thanks,

-- 
-Julian Blake Kongslie
<jblake@omgwallhack.org>

If this is a mailing list, please CC me on replies.
vim: set ft=text :
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. (Tue, 03 Feb 2009 11:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Richter <sjr@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Tue, 03 Feb 2009 11:27:02 GMT) Full text and rfc822 format available.

Message #25 received at 317186@bugs.debian.org (full text, mbox):

From: Simon Richter <sjr@debian.org>
To: jblake@omgwallhack.org, 317186@bugs.debian.org
Subject: Re: Bug#317186: Any progress?
Date: Tue, 3 Feb 2009 12:26:15 +0100
Hi,

On Mon, Feb 02, 2009 at 04:21:33PM -0800, Julian Blake Kongslie wrote:

> Is there any progress on this bug? I'd like to be able to pin specific
> packages or patterns like *xorg* to experimental, but anything other
> than Package: * seems to be completely ignored.

Without having looked at the bug, the default behaviour for apt is to
install packages from experimental if the currently installed version is
higher than the highest available version from non-experimental (that is,
the default priority for experimental is set that way).

So if you just add experimental to the sources, you can manually install
the packages you want from experimental once and get upgrades automatically
until unstable gets updated, after which it will fall back to tracking
unstable, which is most often the desired behaviour (if you installed the
experimental version in order to get a specific fix or feature, there is no
reason to stay on the experimental "branch" after the changes went into
unstable).

   Simon




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. (Tue, 03 Feb 2009 11:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Tue, 03 Feb 2009 11:33:02 GMT) Full text and rfc822 format available.

Message #30 received at 317186@bugs.debian.org (full text, mbox):

From: "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>
To: jblake@omgwallhack.org, 317186@bugs.debian.org
Subject: Re: Bug#317186: Any progress?
Date: Tue, 03 Feb 2009 13:40:20 +0200
[Message part 1 (text/plain, inline)]
Julian Blake Kongslie wrote:
> Is there any progress on this bug? I'd like to be able to pin specific
> packages or patterns like *xorg* to experimental, but anything other
> than Package: * seems to be completely ignored.
APT's pinning has several pity bugs, so expect this (and most of others) bug
fixed at some future when someone rewrote needed parts of code.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#317186; Package apt. (Tue, 03 Feb 2009 11:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Tue, 03 Feb 2009 11:48:03 GMT) Full text and rfc822 format available.

Message #35 received at 317186@bugs.debian.org (full text, mbox):

From: "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>
To: Simon Richter <sjr@debian.org>, 317186@bugs.debian.org
Cc: jblake@omgwallhack.org
Subject: Re: Bug#317186: Any progress?
Date: Tue, 03 Feb 2009 13:55:22 +0200
[Message part 1 (text/plain, inline)]
Simon Richter wrote:
> Hi,
> 
> On Mon, Feb 02, 2009 at 04:21:33PM -0800, Julian Blake Kongslie wrote:
> 
>> Is there any progress on this bug? I'd like to be able to pin specific
>> packages or patterns like *xorg* to experimental, but anything other
>> than Package: * seems to be completely ignored.
> 
> Without having looked at the bug, the default behaviour for apt is to
> install packages from experimental if the currently installed version is
> higher than the highest available version from non-experimental (that is,
> the default priority for experimental is set that way).
> 
> So if you just add experimental to the sources, you can manually install
> the packages you want from experimental once and get upgrades automatically
> until unstable gets updated, after which it will fall back to tracking
> unstable, which is most often the desired behaviour (if you installed the
> experimental version in order to get a specific fix or feature, there is no
> reason to stay on the experimental "branch" after the changes went into
> unstable).
Simon, this is completely wrong. experimental packages have pin '1' for
default, which less than '100' that installed version have, so no any version
s from experimental will be installed automatically by apt (unless pinned
properly).

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Julian Andres Klode <jak@debian.org>:
You have taken responsibility. (Tue, 19 Apr 2011 08:30:03 GMT) Full text and rfc822 format available.

Notification sent to Philipp Weis <pweis@pweis.com>:
Bug acknowledged by developer. (Tue, 19 Apr 2011 08:30:03 GMT) Full text and rfc822 format available.

Message #40 received at 317186-close@bugs.debian.org (full text, mbox):

From: Julian Andres Klode <jak@debian.org>
To: Philipp Weis <pweis@pweis.com>, 317186-close@bugs.debian.org
Subject: Re: Bug#317186: apt: Pinning of individual packages does not work.
Date: Tue, 19 Apr 2011 10:27:35 +0200
[Message part 1 (text/plain, inline)]
On Wed, Jul 06, 2005 at 11:02:06PM +0200, Philipp Weis wrote:
> Package: apt
> Version: 0.6.38
> Severity: normal
> 
> Hi,
> 
> apt doesn't respect the pin priority specified in
> /etc/apt/preferences. With the attached file, I get
> 
> | # apt-cache policy aptitude
> | aptitude:
> |   Installed: 0.2.15.9-3
> |   Candidate: 0.2.15.9-3
> |   Package pin: 0.2.15.9-3
> |   Version table:
> |  *** 0.2.15.9-3 700
> |         550 http://ftp.de.debian.org unstable/main Packages
> |         100 /var/lib/dpkg/status
> |      0.2.15.9-2 700
> |         600 http://ftp.de.debian.org sarge/main Packages
> |         550 http://ftp.de.debian.org testing/main Packages
> 
> I would expect the priority of the unstable version to be 700, as specified in /etc/apt/preferences.

As you just proved yourself, the priority of the unstable version is 700, as
indicated by the Package pin and the 700 at the right side of the version.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 18 May 2011 07:42:24 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 06:47:14 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.