Your message dated Thu, 1 Apr 2010 13:27:22 +0200 with message-id <20100401132420.GA3162@debian.org> and subject line Re: apt pinning doesn't work for essential packages has caused the Debian Bug report #177952, regarding No way to suppress installation of essential packages 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 177952: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177952 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: base: apt-get dist-upgrade with Pin-Priority of woody>sarge replaces woody's *utils with sarge's coreutils
- From: Miernik <miernik@ctnet.pl>
- Date: Wed, 22 Jan 2003 22:33:45 +0100
- Message-id: <E18bSVG-0004UV-00@tarnica>
Package: base Version: N/A; reported 2003-01-22 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a woody system, but neede to install spamassassin from sarge, because the one in woody is broken. I used Pin-Priorites for that. Here's the contents of the config files: debina:~# cat /etc/apt/sources.list deb ftp://ftp.pl.debian.org/debian/ sid main contrib non-free deb ftp://ftp.pl.debian.org/debian-non-US/ sid/non-US main contrib non-free deb ftp://ftp.pl.debian.org/debian/ woody main contrib non-free deb ftp://ftp.pl.debian.org/debian-non-US/ woody/non-US main contrib non-free deb ftp://ftp.pl.debian.org/debian/ sarge main contrib non-free deb ftp://ftp.pl.debian.org/debian-non-US/ sarge/non-US main contrib non-free debina:~# cat /etc/apt/preferences Package: * Pin: release a=stable Pin-Priority: 600 Package: * Pin: release a=testing Pin-Priority: 70 Package: * Pin: release a=unstable Pin-Priority: 40 I wanted to upgrade to the latest woody 3.0r1: debina:~# apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done The following NEW packages will be installed: coreutils 22 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 14.1MB of archives. After unpacking 5890kB will be used. Do you want to continue? [Y/n] Get:1 ftp://ftp.pl.debian.org sarge/main coreutils 4.5.2-1 [1966kB] coreutils is a package from sarge, which replaces woody's textutils, shellutils and fileutils. apt-get should know from my /etc/apt/preferences that my system is stable/woody, and it should not (yet) replace my woody's *utils with sarge's coreutils (which did not exist in woody). - -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux debina 2.4.18 #4 Sat Dec 28 05:46:45 CET 2002 i686 Locale: LANG=C, LC_CTYPE=pl_PL -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+Lw5Ief2MJBeMWJ0RAloRAJ4pgKsj3zC+GNVfeci6jp26RZoAEACbBdsN nS+4r7bpxHQU+NOWxDp8rJU= =CReI -----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
- To: 177952-close@bugs.debian.org
- Subject: Re: apt pinning doesn't work for essential packages
- From: Julian Andres Klode <jak@debian.org>
- Date: Thu, 1 Apr 2010 13:27:22 +0200
- Message-id: <20100401132420.GA3162@debian.org>
- In-reply-to: <[🔎] l2t796aed871004010406o5c7e0251z624decfdf6fad3d1@mail.gmail.com>
- References: <[🔎] l2t796aed871004010406o5c7e0251z624decfdf6fad3d1@mail.gmail.com>
Version: 0.7.25.3 Closing again. Please do not reopen fixed bugs just because they still exist in older releases. On Thu, Apr 01, 2010 at 02:06:06PM +0300, Teodor MICU wrote: > reopen 177952 > found 177952 0.7.20.2+lenny1 > fixed 177952 0.7.25.3 > thanks > > The main point of these old bug reports is that there is no way of > (willingly) preventing the installation of an essential package. > In our present time we're confronting with the 'diff' -> 'diffutils' > transition of an essential package. I have to keep "testing" in my > sources.list file for a single 'noarch' package (PHP-based > application) that I want to keep it updated. I have no reason to > replace 'diff' with 'diffutils' because of this, so I'm looking for a > solution of preventing an accidental install of 'diffutils' essential > package. > > > You can prevent the installation of new essential packages by > > pinning them to -1: > > > > Package: test-essential > > Pin: version 0.0-0 > > Pin-Priority: -1 > > > > Thus I'm also closing bug #177952; because it is possible > > to "suppress installation of essential packages". Due to > > Bug #216768 this may not always work in practice; but I > > have not checked it further. > > That's the thing, not even using "Pin-Priority: -1" for an essential > package will prevent it from being installed. Either by executing > "apt-get dist-upgrade" or "apt-get install diffutils" the new > essential package is installed even if the pin priority is "-1". > > This bug seems fixed for 'squeeze' but not on 'lenny'. Does a fix for > this qualifies for an update or will be tagged with lenny-ignore? No, it's a wishlist bug. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.Attachment: pgpWYmj6tITsI.pgp
Description: PGP signature
--- End Message ---