[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#204971: marked as done (Wrong priorities with 'Pin-Priority: 0' in /etc/apt/preferences)



Your message dated Sun, 31 Aug 2003 22:47:11 -0400
with message-id <E19teil-0001EF-00@auric.debian.org>
and subject line Bug#204971: fixed in apt 0.5.10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Aug 2003 16:04:40 +0000
>From suontaus@cs.tut.fi Mon Aug 11 11:04:36 2003
Return-path: <suontaus@cs.tut.fi>
Received: from mail.cc.tut.fi [130.230.1.105] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19mF9w-0006Wc-00; Mon, 11 Aug 2003 11:04:36 -0500
Received: from c36a.iraitti.ton.tut.fi (c36a.iraitti.ton.tut.fi [193.166.93.85])
	by mail.cc.tut.fi (8.12.9/8.12.5) with ESMTP id h7BG4YMc025474;
	Mon, 11 Aug 2003 19:04:35 +0300
Message-Id: <[🔎] 200308111604.h7BG4YMc025474@mail.cc.tut.fi>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="ISO-8859-15"
From: Jarkko Suontausta <suontaus@cs.tut.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Wrong priorities with 'Pin-Priority: 0' in /etc/apt/preferences
X-Mailer: reportbug 2.20
Date: Mon, 11 Aug 2003 19:04:33 +0300
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0
	tests=BAYES_20,HAS_PACKAGE,PENISACCENT
	version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)

Package: apt
Version: 0.5.8
Severity: normal

If I have this in my /etc/apt/preferences...
 
 Package: *
 Pin: release a=experimental
 Pin-Priority: 0
  
....then apt sets all packages from experimental as priority 989, instead
of the expected 0 (zero):

 #apt-cache policy openoffice.org1.1
 openoffice.org1.1:
   Installed: (none)
     Candidate: 1.1beta2-2
       Version Table:
            1.1beta2-2 0
	            989 http://ftp.fi.debian.org
 ../project/experimental/contrib Packages

This also happens with other releases (e.g. unstable). If priority is set to
any non-zero value (that I've tried), everything works as expected. There is
no special meaning documented for zero, so I'm sure this is a bug. I'm using Sid.

(Also tried this in an old chroot with apt 0.5.4, it had the same symptoms, but
now the priority was set to 499 instead of the correct 0.)

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Cache-Limit "10000000";
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:: "test -x /usr/sbin/apt-listbugs && /usr/sbin/apt-listbugs -I -l -g apt || test $? -ne 10";
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";

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

# Local repository
#deb file:/root/deb ./

# STABLE
#deb ftp://ftp.fi.debian.org/debian stable main contrib non-free
#deb ftp://ftp.fi.debian.org/debian stable-proposed-updates main contrib non-free
#deb ftp://ftp.fi.debian.org/debian-non-US stable/non-US main contrib non-free

# TESTING
#deb http://ftp.fi.debian.org/debian testing main contrib non-free
#deb http://ftp.fi.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src http://ftp.fi.debian.org/debian testing main contrib non-free

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

# SECURITY
deb http://security.debian.org woody/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
#deb http://security.debian.org sid/updates main contrib non-free

# EXPERIMENTAL
deb http://ftp.fi.debian.org/debian ../project/experimental main contrib

# Uncomment if you want the apt-get source function to work
#deb-src http://ftp.fi.debian.org/debian testing main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US testing non-US

# JRE
deb http://www.tux.org/pub/java/debian unstable non-free

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux c36a 2.4.20-3-k7 #1 Sun Jul 27 21:10:39 EST 2003 i686

Versions of packages apt depends on:
ii  libc6                         2.3.2-2    GNU C Library: Shared libraries an
ii  libgcc1                       1:3.3.1-1  GCC support library
ii  libstdc++5                    1:3.3.1-1  The GNU Standard C++ Library v3

-- no debconf information


---------------------------------------
Received: (at 204971-close) by bugs.debian.org; 1 Sep 2003 02:48:53 +0000
>From katie@auric.debian.org Sun Aug 31 21:48:52 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19tekO-0006Ra-00; Sun, 31 Aug 2003 21:48:52 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19teil-0001EF-00; Sun, 31 Aug 2003 22:47:11 -0400
From: Matt Zimmerman <mdz@debian.org>
To: 204971-close@bugs.debian.org
X-Katie: $Revision: 1.35 $
Subject: Bug#204971: fixed in apt 0.5.10
Message-Id: <E19teil-0001EF-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 31 Aug 2003 22:47:11 -0400
Delivered-To: 204971-close@bugs.debian.org

Source: apt
Source-Version: 0.5.10

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.5.10_all.deb
  to pool/main/a/apt/apt-doc_0.5.10_all.deb
apt-utils_0.5.10_i386.deb
  to pool/main/a/apt/apt-utils_0.5.10_i386.deb
apt_0.5.10.dsc
  to pool/main/a/apt/apt_0.5.10.dsc
apt_0.5.10.tar.gz
  to pool/main/a/apt/apt_0.5.10.tar.gz
apt_0.5.10_i386.deb
  to pool/main/a/apt/apt_0.5.10_i386.deb
libapt-pkg-dev_0.5.10_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.5.10_i386.deb
libapt-pkg-doc_0.5.10_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.5.10_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 204971@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matt Zimmerman <mdz@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 31 Aug 2003 21:12:39 -0400
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source i386 all
Version: 0.5.10
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Matt Zimmerman <mdz@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 204971 205036 205290 205829 205886 205950 207656
Changes: 
 apt (0.5.10) unstable; urgency=low
 .
   * Correct the section in apt_preferences(5) on interpreting priorities
     to show that zero is not a valid priority, and print a warning if such
     a pin is encountered in the preferences file (Closes: #204971)
   * Regenerate French man pages from sgml source (Closes: #205886)
   * Get self-tests compiling again, updated for latest library API
     and g++ 3.3
   * Add version comparison tests for #194327 and #205960
   * Fix error message in version test to output versions in the order in
     which they were compared when the reverse comparison fails
   * Reference the source package bug page rather than the one for the
     binary package 'apt' in the man pages (Closes: #205290)
   * Updated Polish po file from Marcin Owsiany <porridge@debian.org>
     (Closes: #205950)
   * Mention some of the available frontends in apt-get(8) (Closes: #205829)
   * Add apt-config to SEE ALSO section of apt-get (Closes: #205036)
   * Add missing "lang" attributes to refentry tags in French man pages
     (apt-cdrom, apt-extracttemplates, apt-sortpkgs)
   * Change upgraded/newly installed/not fully installed or removed
     messages to be consistent and somewhat shorter (some translations
     exceeded 80 characters even in the simplest case)
   * Make APT::Get::Show-Upgraded (aka apt-get -u) default to true.
   * Updates to Dutch translation from Bart Cornelis <cobaco@linux.be>
     (Closes: #207656)
Files: 
 141b0ef1fdc355d5ea09fa0d38bee2a2 755 admin important apt_0.5.10.dsc
 12bc580b426710c20a5a03e3b8af58d9 922341 admin important apt_0.5.10.tar.gz
 4308d02b88aa304d7a904ed911a3262b 63910 doc optional apt-doc_0.5.10_all.deb
 01aae8e2b77da017c6004001629129ca 95356 doc optional libapt-pkg-doc_0.5.10_all.deb
 63718d1d4fdf1e217cea08e845808739 757182 base important apt_0.5.10_i386.deb
 35a7e24fdd6695ebea14ab12406045a5 62688 libdevel optional libapt-pkg-dev_0.5.10_i386.deb
 5a522b19120d50e71f3fa72778af6e30 164462 admin optional apt-utils_0.5.10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/Up9jArxCt0PiXR4RAv5sAKCvkfbnszA4Q5/iTKbDFpdSpBOHNACeJ//7
65tiVEvuVHElo1iTDQHbYL4=
=fBm2
-----END PGP SIGNATURE-----



Reply to: