Debian Bug report logs - #351056
apt-get always install the same two packages during upgrade or dist-upgrade

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Przemek Swiderski <jam-debian@dom.vizavi.pl>

Date: Thu, 2 Feb 2006 14:48:01 UTC

Severity: important

Tags: patch

Merged with 362461, 366790, 378816, 469876, 497508, 498470, 574072

Found in versions apt/0.6.45, apt/0.6.46.4-0.1, apt/0.7.25.3

Fixed in versions apt/0.7.26~exp3, apt/0.8.0

Done: Michael Vogt <mvo@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#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Przemek Swiderski <jam-debian@dom.vizavi.pl>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


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

From: Przemek Swiderski <jam-debian@dom.vizavi.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-get always install the same two packages during upgrade or dist-upgrade
Date: Thu, 2 Feb 2006 15:33:23 +0100 (CET)
Package: apt
Version: 0.6.43.2
Severity: important


When i make upgrade two packages upgrades:

	ssc:/# apt-get upgrade
	Reading package lists... Done
	Building dependency tree... Done
	The following packages will be upgraded:
		python-twisted python2.3-twisted
	2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
	Need to get 0B/648kB of archives.
	After unpacking 0B of additional disk space will be used.
	Do you want to continue [Y/n]? y
	Reading package fields... Done
	Reading package status... Done
	Retrieving bug reports... Done
	Reading changelogs... Done
	(Reading database ... 252067 files and directories currently installed.)
	Preparing to replace python2.3-twisted 2.1.0-3 (using .../python2.3-twisted_2.1.0-3_all.deb) ...
	Unpacking replacement python2.3-twisted ...
	Preparing to replace python-twisted 2.1.0-3 (using .../python-twisted_2.1.0-3_all.deb) ...
	Unpacking replacement python-twisted ...
	Setting up python2.3-twisted (2.1.0-3) ...

	Setting up python-twisted (2.1.0-3) ...

	ssc:/# echo $?
	0

Second running apt-get upgrade - it looks identically as above - apt upgrades the same two packages.

	The following packages will be upgraded:
		python-twisted python2.3-twisted
	[...]

The same problem durring: apt-get install python2.3-twisted
Apt install this package again, and again.

Problem exist in apt, and in aptitude. But dpkg is ok:

	dpkg -iE /var/cache/apt/archives/python2.3-twisted_2.1.0-3_all.deb
	Version 2.1.0-3 of python2.3-twisted already installed, skipping.


some probably useful information:

ssc:/# apt-cache policy python2.3-twisted                                        
python2.3-twisted:
  Installed: 2.1.0-3
  Candidate: 2.1.0-3
  Version table:
     2.1.0-3 0
        500 http://http.us.debian.org unstable/main Packages
 *** 2.1.0-3 0
        100 /var/lib/dpkg/status
     2.0.1-5 0
        500 http://http.us.debian.org testing/main Packages

ssc:/# dpkg -l python2.3-twisted
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  python2.3-twisted      2.1.0-3                Event-based framework for internet applications (transitiona




-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::Download-Only "false";
APT::Get::Simulate "false";
APT::Get::Force-Yes "false";
APT::Get::Fix-Broken "false";
APT::Get::Fix-Missing "false";
APT::Get::Show-Upgraded "true";
APT::Get::No-Upgrade "false";
APT::Get::Print-URIs "false";
APT::Cache "";
APT::Cache::Important "false";
APT::CDROM "";
APT::CDROM::Rename "false";
APT::CDROM::NoMount "false";
APT::CDROM::Fast "false";
APT::CDROM::NoAct "false";
APT::Ingore-Hold "false";
APT::Immediate-Configure "true";
Dir "/";
Dir::State "/var/state/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::xstatus "xstatus";
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::gzip "/bin/gzip";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::apt-get "/usr/bin/apt-get";
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:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
DPkg::Run-Directory "/";
Acquire "";
Acquire::Queue-Mode "host";
Acquire::Retries "0";
Acquire::http "";
Acquire::http::Proxy "";
Acquire::http::Proxy::http.us.debian.org "DIRECT";
Acquire::http::Timeout "120";
Acquire::http::No-Cache "false";
Acquire::http::Max-Age "2";
Acquire::http::No-Store "false";
Acquire::ftp "";
Acquire::ftp::ProxyLogin "";
Acquire::ftp::ProxyLogin:: "USER $(PROXY_USER)";
Acquire::ftp::ProxyLogin:: "PASS $(PROXY_PASS)";
Acquire::ftp::ProxyLogin:: "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
Acquire::ftp::ProxyLogin:: "PASS $(SITE_PASS)";
Acquire::ftp::Timeout "120";
Acquire::ftp::Passive "true";
Acquire::ftp::Passive::http.us.debian.org "true";
Acquire::ftp::Proxy "";
Acquire::ftp::Proxy::Passive "true";
Acquire::cdrom "";
Acquire::cdrom::Mount "/cdrom";
DSelect "";
DSelect::Clean "auto";
DSelect::Options "-f";
DSelect::UpdateOptions "";
DSelect::PromptAfterUpdate "no";
Debug "";
Debug::pkgProblemResolver "false";
Debug::pkgAcquire "false";
Debug::pkgAcquire::Worker "false";
Debug::pkgDPkgPM "false";
Debug::pkgInitialize "false";
Debug::NoLocking "false";
Debug::Acquire "";
Debug::Acquire::Ftp "false";

-- (no /etc/apt/preferences present) --


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

deb http://metro.lezajsk.info/gg2/sid/ ./
#madwifi
deb ftp://debian.marlow.dk/ sid madwifi
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb http://http.us.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian testing main contrib non-free
# amule
deb http://gunnm.org/~soda/ unstable main contrib

-- 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.15-11-k7
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

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

Versions of packages apt recommends:
pn  debian-archive-keyring        <none>     (no description available)

-- no debconf information



Bug reassigned from package `apt' to `python-twisted'. Request was from Matt Zimmerman <mdz@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#351056; Package python-twisted. (full text, mbox, link).


Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #12 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: Przemek Swiderski <jam-debian@dom.vizavi.pl>, 351056@bugs.debian.org
Subject: Re: Bug#351056: apt-get always install the same two packages during upgrade or dist-upgrade
Date: Thu, 2 Feb 2006 07:02:27 -0800
reassign 351056 python-twisted
thanks

On Thu, Feb 02, 2006 at 03:33:23PM +0100, Przemek Swiderski wrote:
> Package: apt
> Version: 0.6.43.2
> Severity: important
> 
> 
> When i make upgrade two packages upgrades:
> 
> 	ssc:/# apt-get upgrade
> 	Reading package lists... Done
> 	Building dependency tree... Done
> 	The following packages will be upgraded:
> 		python-twisted python2.3-twisted

This is a bug in python-twisted; the maintainer is already aware of it.

-- 
 - mdz



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#351056; Package python-twisted. (full text, mbox, link).


Acknowledgement sent to Mark Robinson <mark@zl2tod.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #17 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Mark Robinson <mark@zl2tod.net>
To: Przemek Swiderski <jam-debian@dom.vizavi.pl>, 351056@bugs.debian.org
Subject: Re: Bug#351056: apt-get always install the same two packages during upgrade or dist-upgrade
Date: Fri, 03 Feb 2006 13:37:02 +1300
This is fixed in 2.1.0-4 which is now on some unstable mirrors.



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#351056; Package python-twisted. (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@cs.tu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #22 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@cs.tu-berlin.de>
To: 351056@bugs.debian.org
Cc: control@bugs.debian.org
Subject: apt doesn't handle an epoch 0
Date: Sat, 15 Apr 2006 01:41:06 +0200
reassign 351056 apt
thanks

the error is fixed in twisted, however it may be worthwhile to fix apt
to handle an epoch value zero.



Bug reassigned from package `python-twisted' to `apt'. Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #29 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: 351056@bugs.debian.org
Cc: 351056-subscribe@bugs.debian.org
Subject: many packages involved, not just python-twisted
Date: Thu, 20 Apr 2006 05:01:52 -0400
I've seen this problem come up from time to time before, but now I have it
on a large scale:

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libdirectfb-0.9-24
The following packages will be upgraded:
  afio alsa-oss anacron aptitude arping bc bmon cabextract cramfsprogs cvs dialog diff digikam
  digikamimageplugins dirmngr discover dosfstools echoping ed fdutils firefox ftp gettext
  gettext-base gnome-bin gnupg-agent gnupg2 gpart gpgsm gstreamer0.10-plugins-base
  gstreamer0.10-x gstreamer0.8-mad gstreamer0.8-misc gstreamer0.8-oss gstreamer0.8-vorbis
  gtk-engines-industrial gtk-engines-qtpixmap gtk-engines-thinice gtk-theme-switch
  gtk2-engines-gtk-qt hal hspell html2text ifupdown iptables k9copy kchmviewer kile kipi-plugins
  klinkstatus knights ksensors libart-2.0-2 libartsc0-dev libaudiofile0 libavc1394-0 libbonobo2-0
  libbonobo2-common libcap1 libdbus-glib-1-2 libdbus-qt-1-1c2 libdigest-sha1-perl libdiscover2
  libdvdread3 libedit2 libgcrypt11 libgdbm3 libgii0 libgii0-target-x libgnokii2 libgnome32
  libgnomeui32 libgpg-error-dev libgpg-error0 libgsm1 libgstreamer-gconf0.8-0
  libgstreamer-plugins-base0.10-0 libgstreamer-plugins0.8-0 libgstreamer0.10-0 libgstreamer0.8-0
  libgtk1.2 libidl0 libieee1284-3 libimlib2 libjasper-1.701-1 libjpeg62-dev libkexif1 libkipi0
  libkrb5-dev liblocale-gettext-perl libmad0 libmad0-dev libmeanwhile1 libmodplug0c2 libnet1
  libnss-db libopencdk8 liborbit0 liborbit2 libpcap0.7 libpopt-dev libpopt0 libpth2 libqt3-mt
  libquicktime0 libraw1394-5 libselinux1 libshout3 libsqlite0 libswfdec0.3 libtext-charwidth-perl
  libtext-iconv-perl lockfile-progs lynx mailx mathopd mawk mplayer-nogui mt-st ncompress nvi
  ocaml orpie pinentry-qt pppoe python2.3-qt3 python2.3-sip4-qt3 qt3-dev-tools screen sgt-puzzles
  shared-mime-info sharutils spamc tcptraceroute telnet time util-linux vsftpd w3m wget xchm
  xinetd
142 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/69.1MB of archives.
After unpacking 1573kB of additional disk space will be used.
Do you want to continue [Y/n]?
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 112239 files and directories currently installed.)
Preparing to replace diff 2.8.1-11 (using .../diff_2.8.1-11_amd64.deb) ...
Unpacking replacement diff ...
Setting up diff (2.8.1-11) ...
(Reading database ... 112239 files and directories currently installed.)
Preparing to replace util-linux 2.12r-8 (using .../util-linux_2.12r-8_amd64.deb) ...
Unpacking replacement util-linux ...
Setting up util-linux (2.12r-8) ...

(Reading database ... 112239 files and directories currently installed.)
Preparing to replace liblocale-gettext-perl 1.05-1 (using .../liblocale-gettext-perl_1.05-1_amd64.deb) ...
Unpacking replacement liblocale-gettext-perl ...
Preparing to replace mawk 1.3.3-11 (using .../mawk_1.3.3-11_amd64.deb) ...
Unpacking replacement mawk ...
Preparing to replace libgtk1.2 1.2.10-18 (using .../libgtk1.2_1.2.10-18_amd64.deb) ...
Unpacking replacement libgtk1.2 ...
Preparing to replace libsqlite0 2.8.16-1 (using .../libsqlite0_2.8.16-1_amd64.deb) ...
Unpacking replacement libsqlite0 ...
Preparing to replace screen 4.0.2-4.1 (using .../screen_4.0.2-4.1_amd64.deb) ...
Unpacking replacement screen ...
Preparing to replace libselinux1 1.30-1 (using .../libselinux1_1.30-1_amd64.deb) ...
Unpacking replacement libselinux1 ...

... and so on.  You get the picture.  Every time I run apt-get dist-upgrade,
the same set of packages gets reinstalled.  I've been monkeying around with
my sources.list file; it doesn't seem that that should matter, but maybe it
does.

Thanks, Andrew.




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #34 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
To: Andrew Schulman <andrex@alumni.utexas.net>
Cc: 351056@bugs.debian.org, 351056-subscribe@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 14:39:28 +0200
Andrew Schulman <andrex@alumni.utexas.net> writes:

> I've seen this problem come up from time to time before, but now I have it
> on a large scale:

You have two builds of the same package/version. Apt-get wants to
install one of them but your cache already contains the other one. So
every upgrade reinstalls the wrong one.

apt-get clean; apt-get upgrade

MfG
        Goswin



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #39 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>, 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 12:49:23 -0400
> You have two builds of the same package/version. Apt-get wants to
> install one of them but your cache already contains the other one. So
> every upgrade reinstalls the wrong one.

Well I don't understand that; and if it's true it seems to still be a bug.  
We still have the behavior that apt-get is trying to reinstall the same 
packages over and over again with the same versions as are currently 
installed.  Why do those package files have the same package name and 
version number, if they're really different?  But maybe that's not 
apt-get's fault; I don't know enough about it to know.

Anyway if an occasional 'apt-get clean' is all that's needed to work around 
the problem, I can live with that.  However...

> apt-get clean; apt-get upgrade

No, this does not fix the problem.  apt-get still wants to reinstall all of 
the same packages.

Thanks,
Andrew.



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #44 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
To: Andrew Schulman <andrex@alumni.utexas.net>
Cc: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>, 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 19:22:41 +0200
Andrew Schulman <andrex@alumni.utexas.net> writes:

>> You have two builds of the same package/version. Apt-get wants to
>> install one of them but your cache already contains the other one. So
>> every upgrade reinstalls the wrong one.
>
> Well I don't understand that; and if it's true it seems to still be a bug.  
> We still have the behavior that apt-get is trying to reinstall the same 
> packages over and over again with the same versions as are currently 
> installed.  Why do those package files have the same package name and 
> version number, if they're really different?  But maybe that's not 
> apt-get's fault; I don't know enough about it to know.

For example because you did rebuild a package localy with the same
version. Or like amd64 now the official repository is a rebuild of the
same versions the unofficial archive has.

> Anyway if an occasional 'apt-get clean' is all that's needed to work around 
> the problem, I can live with that.  However...
>
>> apt-get clean; apt-get upgrade
>
> No, this does not fix the problem.  apt-get still wants to reinstall all of 
> the same packages.

Once or more than once?

MfG
        Goswin



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #49 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Cc: 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 13:58:42 -0400
> >> apt-get clean; apt-get upgrade
> >
> > No, this does not fix the problem.  apt-get still wants to reinstall
> > all of the same packages.
>
> Once or more than once?

Every time.  I run apt-get clean, and then every time I run apt-get 
dist-upgrade it wants to reinstall the same list of packages.  A.



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #54 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
To: Andrew Schulman <andrex@alumni.utexas.net>
Cc: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>, 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 20:16:30 +0200
Andrew Schulman <andrex@alumni.utexas.net> writes:

>> >> apt-get clean; apt-get upgrade
>> >
>> > No, this does not fix the problem.  apt-get still wants to reinstall
>> > all of the same packages.
>>
>> Once or more than once?
>
> Every time.  I run apt-get clean, and then every time I run apt-get 
> dist-upgrade it wants to reinstall the same list of packages.  A.

Does 'apt-cache policy foobar' list a version twice for the packages?

e.g.:
mrvn@frosties:~% apt-cache policy bash
bash:
  Installed: 3.0-14
  Candidate: 3.0-14
  Version Table:
 *** 3.0-14 0
        100 /var/lib/dpkg/status
     2.05b-26 0
        500 http://storage stable/main Packages
     2.05b-26 0
        500 http://storage stable-i386/main Packages

Those are two bash 2.05b-26 packages that apt considers different.


mrvn@frosties:~% apt-cache policy libc6
libc6:
  Installed: 2.3.2.ds1-22
  Candidate: 2.3.2.ds1-22
  Version Table:
 *** 2.3.2.ds1-22 0
        500 http://storage stable/main Packages
        100 /var/lib/dpkg/status

Those two apt considers equal.

MfG
        Goswin



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #59 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Cc: 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 15:47:28 -0400
> > I run apt-get clean, and then every time I run apt-get
> > dist-upgrade it wants to reinstall the same list of packages.  A.
>
> Does 'apt-cache policy foobar' list a version twice for the packages?

Yes:

$ apt-cache policy screen
screen:
  Installed: 4.0.2-4.1
  Candidate: 4.0.2-4.1
  Version table:
     4.0.2-4.1 0
        300 http://http.us.debian.org unstable/main Packages
     4.0.2-4.1 0
        200 http://amd64.debian.net stable/main Packages
     4.0.2-4.1 0
        990 http://amd64.debian.net testing/main Packages
 *** 4.0.2-4.1 0
        100 /var/lib/dpkg/status

Same for all of the other packages in the list.  So is this apt-get's 
fault, or the package archives?  If it's the package archives, then all 
users with these same lines in their sources.list files should be having 
the same symptoms as me.

Thanks, Andrew.



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #64 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
To: Andrew Schulman <andrex@alumni.utexas.net>
Cc: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>, 351056@bugs.debian.org
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Mon, 24 Apr 2006 22:14:13 +0200
Andrew Schulman <andrex@alumni.utexas.net> writes:

>> > I run apt-get clean, and then every time I run apt-get
>> > dist-upgrade it wants to reinstall the same list of packages.  A.
>>
>> Does 'apt-cache policy foobar' list a version twice for the packages?
>
> Yes:
>
> $ apt-cache policy screen
> screen:
>   Installed: 4.0.2-4.1
>   Candidate: 4.0.2-4.1
>   Version table:
>      4.0.2-4.1 0
>         300 http://http.us.debian.org unstable/main Packages
>      4.0.2-4.1 0
>         200 http://amd64.debian.net stable/main Packages
>      4.0.2-4.1 0
>         990 http://amd64.debian.net testing/main Packages
>  *** 4.0.2-4.1 0
>         100 /var/lib/dpkg/status
>
> Same for all of the other packages in the list.  So is this apt-get's 
> fault, or the package archives?  If it's the package archives, then all 
> users with these same lines in their sources.list files should be having 
> the same symptoms as me.
>
> Thanks, Andrew.

Compare the md5sums of the debs. They should all differ (to produce
this output).

I don't get why stable and testing differ though. That should not even
be possible. They are the same file on the same fs.

goswin@ivanova:~$ grep-dctrl -X -P screen /org/amd64.debian.net/ftp/debian/dists/{stable,testing}/main/binary-amd64/Packages -s Package,Version,MD5sum   
Package: screen
Version: 4.0.2-4.1
MD5sum: 4913a5102ecb102d6ec43109084d1232

Package: screen
Version: 4.0.2-4.1
MD5sum: 4913a5102ecb102d6ec43109084d1232


In what order do you have them in sources.list? Maybe they only get
merged properly in some orders.

Which package does apt-get download? The amd64.debian.net one as the
pining dictates or the ftp.debian.org one as it is first? Maybe it
wants one but the downloader screws up and picks the other since it
has the same version.

MfG
        Goswin



Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #69 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: 351056@bugs.debian.org, Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Subject: Re: Bug#351056: many packages involved, not just python-twisted
Date: Fri, 28 Apr 2006 10:51:18 -0400
> > $ apt-cache policy screen
> > screen:
> >   Installed: 4.0.2-4.1
> >   Candidate: 4.0.2-4.1
> >   Version table:
> >      4.0.2-4.1 0
> >         300 http://http.us.debian.org unstable/main Packages
> >      4.0.2-4.1 0
> >         200 http://amd64.debian.net stable/main Packages
> >      4.0.2-4.1 0
> >         990 http://amd64.debian.net testing/main Packages
> >  *** 4.0.2-4.1 0
> >         100 /var/lib/dpkg/status
>
> Compare the md5sums of the debs. They should all differ (to produce
> this output).

Yup:

$ wget http://http.us.debian.org/debian/pool/main/s/screen/screen_4.0.2-4.1_amd64.deb
$ wget http://amd64.debian.net/debian/pool/main/s/screen/screen_4.0.2-4.1_amd64.deb
$ md5sum screen_4.0.2-4.1_amd64.deb*
de0af8737338542645f9c0e14295ac79  screen_4.0.2-4.1_amd64.deb
4913a5102ecb102d6ec43109084d1232  screen_4.0.2-4.1_amd64.deb.1

> I don't get why stable and testing differ though. That should not even
> be possible. They are the same file on the same fs.
>
> goswin@ivanova:~$ grep-dctrl -X -P screen
> /org/amd64.debian.net/ftp/debian/dists/{stable,testing}/main/binary-amd6
>4/Packages -s Package,Version,MD5sum Package: screen
> Version: 4.0.2-4.1
> MD5sum: 4913a5102ecb102d6ec43109084d1232
>
> Package: screen
> Version: 4.0.2-4.1
> MD5sum: 4913a5102ecb102d6ec43109084d1232

??

> In what order do you have them in sources.list?

deb http://http.us.debian.org/debian/ unstable main contrib non-free
deb http://amd64.debian.net/debian    stable   main contrib non-free
deb http://amd64.debian.net/debian    testing  main contrib non-free

>  Maybe they only get
> merged properly in some orders.

Good guess.  I changed the order to move the http.us.debian.org line
to the end, and now the problem is at least partly resolved:

$ apt-cache policy screen
screen:
  Installed: 4.0.2-4.1
  Candidate: 4.0.2-4.1
  Version table:
 *** 4.0.2-4.1 0
        200 http://amd64.debian.net stable/main Packages
        990 http://amd64.debian.net testing/main Packages
        100 /var/lib/dpkg/status
     4.0.2-4.1 0
        300 http://http.us.debian.org unstable/main Packages

$ apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

> Which package does apt-get download? The amd64.debian.net one as the
> pining dictates or the ftp.debian.org one as it is first? 
> wants one but the downloader screws up and picks the other since it
> has the same version.

It downloads the one from amd64.debian.net.



Merged 351056 366790. Request was from Manoj Srivastava <srivasta@golden-gryphon.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 351056 362461 366790. Request was from Loïc Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Kai Henningsen <kai-bugs@colo.khms.westfalen.de>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #78 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Kai Henningsen <kai-bugs@colo.khms.westfalen.de>
To: Debian Bug Tracking System <351056@bugs.debian.org>
Subject: Re: apt-get always install the same two packages during upgrade or dist-upgrade
Date: Mon, 21 Aug 2006 11:13:21 +0200
Package: apt
Version: 0.6.45
Followup-For: Bug #351056

I currently see this with the following packages:

# LANG= apt-get -um upgrade
Reading package lists...
Building dependency tree...
The following packages will be upgraded:
  libart-2.0-2 lsbappchk pax
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 167kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Get:1 http://ftp.debian.org etch/main libart-2.0-2 2.3.17-1 [65.1kB]
Get:2 http://ftp.debian.org etch/main pax 1:1.5-15 [58.6kB]
Get:3 http://ftp.debian.org etch/main lsbappchk 1.3.4-1 [42.9kB]


Reading package fields... 0%
                            
Reading package fields... 33%
                             
Reading package fields... 66%
                             
Reading package fields... Done

                              
Reading package status... 0%
                            
Reading package status... 0%
                            
Reading package status... 33%
                             
Reading package status... Done

                              
Retrieving bug reports... 0% [0/3]
                                  
Retrieving bug reports... 0% [0/3]
                                  
Retrieving bug reports... 33% [1/3]
                                   
Retrieving bug reports... 66% [2/3]
                                   
Retrieving bug reports... Done
Lese Changelogs...
Fetched 167kB in 1s (163kB/s)
(Reading database ... 87243 files and directories currently installed.)
Preparing to replace libart-2.0-2 2.3.17-1 (using .../libart-2.0-2_2.3.17-1_amd64.deb) ...
Unpacking replacement libart-2.0-2 ...
Preparing to replace pax 1:1.5-15 (using .../pax_1%3a1.5-15_amd64.deb) ...
Unpacking replacement pax ...
Preparing to replace lsbappchk 1.3.4-1 (using .../lsbappchk_1.3.4-1_amd64.deb) ...
Unpacking replacement lsbappchk ...
Setting up libart-2.0-2 (2.3.17-1) ...

Setting up pax (1.5-15) ...
Setting up lsbappchk (1.3.4-1) ...
# apt-cache policy libart-2.0-2 lsbappchk pax
libart-2.0-2:
  Installiert:2.3.17-1
  Mögliche Pakete:2.3.17-1
  Versions-Tabelle:
     2.3.17-1 0
        984 http://85.10.192.16 sarge/main Packages
        984 http://amd64.debian.net sarge/main Packages
     2.3.17-1 0
        985 http://ftp.debian.org etch/main Packages
     2.3.17-1 0
        500 http://ftp.debian.org sid/main Packages
     2.3.17-1 0
        985 ftp://ftp.uni-erlangen.de etch/main Packages
     2.3.17-1 0
        500 ftp://ftp.uni-erlangen.de sid/main Packages
     2.3.17-1 0
        985 http://ftp.us.debian.org etch/main Packages
     2.3.17-1 0
        500 http://ftp.us.debian.org sid/main Packages
     2.3.17-1 0
        985 http://download.hetzner.de etch/main Packages
     2.3.17-1 0
        500 http://download.hetzner.de sid/main Packages
 *** 2.3.17-1 0
        100 /var/lib/dpkg/status
lsbappchk:
  Installiert:1.3.4-1
  Mögliche Pakete:1.3.4-1
  Versions-Tabelle:
     1.3.4-1 0
        984 http://85.10.192.16 sarge/main Packages
        984 http://amd64.debian.net sarge/main Packages
     1.3.4-1 0
        985 http://ftp.debian.org etch/main Packages
     1.3.4-1 0
        500 http://ftp.debian.org sid/main Packages
     1.3.4-1 0
        985 ftp://ftp.uni-erlangen.de etch/main Packages
     1.3.4-1 0
        500 ftp://ftp.uni-erlangen.de sid/main Packages
     1.3.4-1 0
        985 http://ftp.us.debian.org etch/main Packages
     1.3.4-1 0
        500 http://ftp.us.debian.org sid/main Packages
     1.3.4-1 0
        985 http://download.hetzner.de etch/main Packages
     1.3.4-1 0
        500 http://download.hetzner.de sid/main Packages
 *** 1.3.4-1 0
        100 /var/lib/dpkg/status
pax:
  Installiert:1:1.5-15
  Mögliche Pakete:1:1.5-15
  Versions-Tabelle:
     1:1.5-15 0
        984 http://85.10.192.16 sarge/main Packages
        984 http://amd64.debian.net sarge/main Packages
     1:1.5-15 0
        985 http://ftp.debian.org etch/main Packages
     1:1.5-15 0
        500 http://ftp.debian.org sid/main Packages
     1:1.5-15 0
        985 ftp://ftp.uni-erlangen.de etch/main Packages
     1:1.5-15 0
        500 ftp://ftp.uni-erlangen.de sid/main Packages
     1:1.5-15 0
        985 http://ftp.us.debian.org etch/main Packages
     1:1.5-15 0
        500 http://ftp.us.debian.org sid/main Packages
     1:1.5-15 0
        985 http://download.hetzner.de etch/main Packages
     1:1.5-15 0
        500 http://download.hetzner.de sid/main Packages
 *** 1:1.5-15 0
        100 /var/lib/dpkg/status

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
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";

-- /etc/apt/preferences --

Package: *
Pin: release a=testing
Pin-Priority: 985

Package: *
Pin: release a=etch
Pin-Priority: 985

Package: *
Pin: release v=3.1*
Pin-Priority: 984


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

deb file:/var/cache/apt-build/repository apt-build main

# Hetzner Debian APT-Proxy
deb http://85.10.192.16:9999/debian-amd64 sarge main contrib non-free

# Debian.org security updates
deb http://security.debian.org/ stable/updates main contrib non-free

#
deb http://amd64.debian.net/debian	sarge	main contrib non-free
deb-src http://amd64.debian.net/debian	sarge	main contrib non-free
deb http://amd64.debian.net/debian	sarge-proposed-updates	main contrib non-free
deb-src http://amd64.debian.net/debian	sarge-proposed-updates	main contrib non-free
deb http://ftp.debian.org/debian	etch	main contrib non-free
deb-src http://ftp.debian.org/debian	etch	main contrib non-free
deb http://ftp.debian.org/debian	etch-proposed-updates	main contrib non-free
deb-src http://ftp.debian.org/debian	etch-proposed-updates	main contrib non-free
deb http://ftp.debian.org/debian	sid	main contrib non-free
deb-src http://ftp.debian.org/debian	sid	main contrib non-free
#deb ftp://ftp.mowgli.ch/pub/debian sarge unofficial
#deb-src ftp://ftp.mowgli.ch/pub/debian sarge unofficial
#deb ftp://ftp.mowgli.ch/pub/debian sid unofficial
#deb-src ftp://ftp.mowgli.ch/pub/debian sid unofficial
#deb ftp://ftp.nerim.net/debian-marillat/ etch main
#deb-src ftp://ftp.nerim.net/debian-marillat/ etch main
#deb ftp://ftp.nerim.net/debian-marillat/ sid main
#deb-src ftp://ftp.nerim.net/debian-marillat/ sid main
deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ etch main contrib non-free
deb-src ftp://ftp.uni-erlangen.de/pub/Linux/debian/ etch main contrib non-free
deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ sid main contrib non-free
deb-src ftp://ftp.uni-erlangen.de/pub/Linux/debian/ sid main contrib non-free
deb http://ftp.us.debian.org/debian	etch	main contrib non-free
deb-src http://ftp.us.debian.org/debian	etch	main contrib non-free
deb http://ftp.us.debian.org/debian	etch-proposed-updates	main contrib non-free
deb-src http://ftp.us.debian.org/debian	etch-proposed-updates	main contrib non-free
deb http://ftp.us.debian.org/debian	sid	main contrib non-free
deb-src http://ftp.us.debian.org/debian	sid	main contrib non-free
#deb-src http://hetzner:download@download.hetzner.de/debian/mirror/ etch main contrib non-free
deb http://hetzner:download@download.hetzner.de/debian/mirror/ etch main contrib non-free
#deb-src http://hetzner:download@download.hetzner.de/debian/mirror/ sid main contrib non-free
deb http://hetzner:download@download.hetzner.de/debian/mirror/ sid main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates 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
deb http://security.debian.org/debian-security	etch/updates	main contrib non-free
deb-src http://security.debian.org/debian-security	etch/updates	main contrib non-free
deb http://security.debian.org/debian-security	sarge/updates	main contrib non-free
deb-src http://security.debian.org/debian-security	sarge/updates	main contrib non-free
deb http://www.gws-online.de/download/woody/ ./
deb-src http://www.gws-online.de/download/woody/ ./

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (985, 'testing'), (984, 'proposed-updates'), (984, 'stable'), (500, 'testing-proposed-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

Versions of packages apt recommends:
ii  debian-archive-keyring        2006.01.18 GnuPG archive keys of the Debian a

-- no debconf information



Merged 342901 351056 362461 366790. Request was from Loïc Minier <lool@dooz.org> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #342901 from all other report(s). Request was from Bill Allombert <allomber@math.u-bordeaux.fr> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Magnus Holmgren <holmgren@lysator.liu.se>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #87 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Magnus Holmgren <holmgren@lysator.liu.se>
To: 351056@bugs.debian.org
Subject: FIX for #351056, apt always reinstalling packages because identical versions are not merged in the cache
Date: Fri, 3 Aug 2007 21:14:11 +0200
[Message part 1 (text/plain, inline)]
tags 351056 + patch
thanks

This patch should fix the bug. Previously, pkgCacheGenerator::MergeList() 
would stop when it found a Version less than or equal to the one being added, 
but if the hashes didn't match at first, it would always add a new Version, 
even if there was a Version with a matching Hash. My patch loops until a 
matching Version and Hash is found *or* the new version is greater than the 
remaining old ones, which makes the second loop unnecessary.

-- 
Magnus Holmgren        holmgren@lysator.liu.se
[same_version_not_merged.patch (text/x-diff, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Tags added: patch Request was from "Magnus Holmgren" <magnus@kibibyte.se> to control@bugs.debian.org. (Sat, 08 Sep 2007 09:48:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Matt Domsch <Matt_Domsch@dell.com>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #94 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Matt Domsch <Matt_Domsch@dell.com>
To: Magnus Holmgren <holmgren@lysator.liu.se>
Cc: 351056@bugs.debian.org
Subject: Re: FIX for #351056, apt always reinstalling packages because identical versions are not merged in the cache
Date: Fri, 7 Dec 2007 22:57:37 -0600
On Fri, Aug 03, 2007 at 09:14:11PM +0200, Magnus Holmgren wrote:
> tags 351056 + patch
> thanks
> 
> This patch should fix the bug. Previously, pkgCacheGenerator::MergeList() 
> would stop when it found a Version less than or equal to the one being added, 
> but if the hashes didn't match at first, it would always add a new Version, 
> even if there was a Version with a matching Hash. My patch loops until a 
> matching Version and Hash is found *or* the new version is greater than the 
> remaining old ones, which makes the second loop unnecessary.

FYI, I am seeing this problem as well, but this patch, while it
applies cleanly, does not resolve it for me.  I've tried after apt-get
clean and after removing the /var/cache/apt/*.bin files, and I've
tried applying only the first patch hunk, with no success.

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (full text, mbox, link).


Acknowledgement sent to Magnus Holmgren <holmgren@lysator.liu.se>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (full text, mbox, link).


Message #99 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Magnus Holmgren <holmgren@lysator.liu.se>
To: Matt Domsch <Matt_Domsch@dell.com>
Cc: 351056@bugs.debian.org
Subject: Re: FIX for #351056, apt always reinstalling packages because identical versions are not merged in the cache
Date: Sat, 8 Dec 2007 12:38:40 +0100
[Message part 1 (text/plain, inline)]
On lördagen den 8 december 2007, you stated the following:
> FYI, I am seeing this problem as well, but this patch, while it
> applies cleanly, does not resolve it for me.  I've tried after apt-get
> clean and after removing the /var/cache/apt/*.bin files, and I've
> tried applying only the first patch hunk, with no success.

I, too, still see similar symptoms, but I believe the cause to be different. 
My patch fixes the code that groups identical package versions together; 
without patching, it sometimes fails to do that, i.e. it fails to see that a 
version of higher priority is in fact identical to the installed version. By 
patching apt-cache.cc so that apt-cache policy prints the hash value of each 
version group I can see that pkgCacheGenerator::MergeList() works correctly. 
Perhaps the hash calculation is broken?

-- 
Magnus Holmgren        holmgren@lysator.liu.se
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#351056; Package apt. (Sun, 09 Nov 2008 10:09:18 GMT) (full text, mbox, link).


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>. (Sun, 09 Nov 2008 10:10:29 GMT) (full text, mbox, link).


Message #104 received at 351056@bugs.debian.org (full text, mbox, reply):

From: "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>
To: 351056@bugs.debian.org, 362461@bugs.debian.org, 366790@bugs.debian.org, Magnus Holmgren <holmgren@lysator.liu.se>, Matt Domsch <Matt_Domsch@dell.com>, Kai Henningsen <kai-bugs@colo.khms.westfalen.de>, Andrew Schulman <andrex@alumni.utexas.net>, David Liontooth <liontooth@cogweb.net>, "Ken Yee" <kenkyee@excite.com>, Jack Malmostoso <jackmalmostoso@freesurf.ch>, Larry Doolittle <ldoolitt@recycle.lbl.gov>
Subject: state of apt "endless-upgrade" bug
Date: Sun, 09 Nov 2008 11:48:37 +0200
[Message part 1 (text/plain, inline)]
Hello people!

Is anyone experienced this bug when using apt >= 0.7.10 ? If yes, does 'apt-get clean'
resolve it? If no, does patch [1] resolve it?

[1]
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=87;filename=same_version_not_merged.patch;att=1;bug=351056

-- 
Eugene V. Lyubimkin aka JackYF
Ukrainian C++ developer, Debian 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#351056; Package apt. (Sun, 09 Nov 2008 10:18:24 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Schulman <andrex@alumni.utexas.net>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Sun, 09 Nov 2008 10:18:24 GMT) (full text, mbox, link).


Message #109 received at 351056@bugs.debian.org (full text, mbox, reply):

From: Andrew Schulman <andrex@alumni.utexas.net>
To: "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>
Cc: 351056@bugs.debian.org
Subject: Re: state of apt "endless-upgrade" bug
Date: Sun, 9 Nov 2008 05:02:33 -0500
On Sunday 09 November 2008 04:48:37 Eugene V. Lyubimkin wrote:

> Is anyone experienced this bug when using apt >= 0.7.10 ?

No, I can no longer reproduce this bug.  Looking back over my earlier 
comments, it seems that it was caused by multiple package files being 
available from multiple sources including amd64.debian.net, but I've long 
since removed that source from my sources.list.  I don't know if it's even 
available any more.

Thanks for continuing to work on this bug, though.
Andrew.




Tags removed: patch Request was from jackyf.devel@gmail.com to control@bugs.debian.org. (Sun, 16 Nov 2008 10:00:36 GMT) (full text, mbox, link).


Forcibly Merged 351056 362461 366790 378816. Request was from "Eugene V. Lyubimkin" <jackyf.devel@gmail.com> to control@bugs.debian.org. (Fri, 21 Nov 2008 13:36:09 GMT) (full text, mbox, link).


Forcibly Merged 351056 362461 366790 378816 469876 497508. Request was from jackyf.devel@gmail.com to control@bugs.debian.org. (Sun, 07 Dec 2008 10:39:06 GMT) (full text, mbox, link).


Forcibly Merged 351056 362461 366790 378816 469876 497508 498470. Request was from "Eugene V. Lyubimkin" <jackyf.devel@gmail.com> to control@bugs.debian.org. (Fri, 19 Dec 2008 12:15:03 GMT) (full text, mbox, link).


Forcibly Merged 351056 362461 366790 378816 469876 497508 498470 574072. Request was from David Kalnischkies <kalnischkies+debian@gmail.com> to control@bugs.debian.org. (Wed, 17 Mar 2010 14:09:08 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from David Kalnischkies <kalnischkies+debian@gmail.com> to control@bugs.debian.org. (Wed, 17 Mar 2010 14:09:13 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from David Kalnischkies <kalnischkies+debian@gmail.com> to control@bugs.debian.org. (Thu, 01 Apr 2010 21:27:15 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:12 GMT) (full text, mbox, link).


Notification sent to Przemek Swiderski <jam-debian@dom.vizavi.pl>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:12 GMT) (full text, mbox, link).


Message #128 received at 351056-close@bugs.debian.org (full text, mbox, reply):

From: Michael Vogt <mvo@debian.org>
To: 351056-close@bugs.debian.org
Subject: Bug#351056: fixed in apt 0.7.26~exp3
Date: Sat, 03 Apr 2010 13:40:45 +0000
Source: apt
Source-Version: 0.7.26~exp3

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.7.26~exp3_all.deb
  to main/a/apt/apt-doc_0.7.26~exp3_all.deb
apt-transport-https_0.7.26~exp3_i386.deb
  to main/a/apt/apt-transport-https_0.7.26~exp3_i386.deb
apt-utils_0.7.26~exp3_i386.deb
  to main/a/apt/apt-utils_0.7.26~exp3_i386.deb
apt_0.7.26~exp3.dsc
  to main/a/apt/apt_0.7.26~exp3.dsc
apt_0.7.26~exp3.tar.gz
  to main/a/apt/apt_0.7.26~exp3.tar.gz
apt_0.7.26~exp3_i386.deb
  to main/a/apt/apt_0.7.26~exp3_i386.deb
libapt-pkg-dev_0.7.26~exp3_i386.deb
  to main/a/apt/libapt-pkg-dev_0.7.26~exp3_i386.deb
libapt-pkg-doc_0.7.26~exp3_all.deb
  to main/a/apt/libapt-pkg-doc_0.7.26~exp3_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 351056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@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.8
Date: Thu, 01 Apr 2010 17:30:43 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.26~exp3
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 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: 314334 316390 351056 352667 383257 486222 500560 512046 512318 536029 558103 567669 570962 571037 572259 572364 572615 573293 573592 573946 574558 574944 574962
Changes: 
 apt (0.7.26~exp3) experimental; urgency=low
 .
   [ Christian Perrier ]
   * German translation update. Closes: #571037
   * Spanish manpages translation update. Closes: #573293
   * Dutch translation update. Closes: #573946
   * Polish manpages translation update. Closes: #574558
   * Add "manpages-pl (<< 20060617-3~)" to avoid file conflicts with
     that package that was providing some manpages for APT utilities.
 .
   [ David Kalnischkies ]
   * [BREAK] merge MultiArch-ABI. We don't support MultiArch,
     but we support the usage of the new ABI so libapt users
     can start to prepare for MultiArch (Closes: #536029)
   * Ignore :qualifiers after package name in build dependencies
     in the library by default, but try to honour them in apt-get
     as we have some sort of MultiArch support ready (Closes: #558103)
   * add translation of the manpages to PT (portuguese)
     Thanks to Américo Monteiro!
   * Switch to dpkg-source 3.0 (native) format
   * apt-pkg/depcache.cc:
     - remove Auto-Installed information from extended_states
       together with the package itself (Closes: #572364)
   * cmdline/apt-mark:
     - don't crash if no arguments are given (Closes: #570962)
   * debian/control:
     - remove some years old and obsolete Replaces
     - add automake/conf build-depends/conflicts as recommend by
       the autotools-dev README (Closes: #572615)
   * apt-pkg/contrib/mmap.{h,cc}:
     - add char[] fallback for filesystems without shared writable
       mmap() like JFFS2. Thanks to Marius Vollmer for writing
       and to Loïc Minier for pointing to the patch! (Closes: #314334)
   * doc/apt_preferences.5.xml:
     - fix two typos and be more verbose in the novice warning.
       Thanks to Osamu Aoki for pointing it out! (Closes: #567669)
     - fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!
     - origin can be used to match a hostname (Closes: #352667)
     - remove wrong pin-priority is optional remark (Closes: #574944)
   * apt-pkg/deb/dpkgpm.cc:
     - fix error message construction in OpenLog()
     - if available store the Commandline in the history
   * cmdline/apt-get.cc:
     - add a --only-upgrade flag to install command (Closes: #572259)
     - fix memory leaks in error conditions in DoSource()
     - try version match in FindSrc first exact than fuzzy (LP: #551178)
   * apt-pkg/contrib/cmndline.cc:
     - save Commandline in Commandline::AsString for logging
   * apt-pkg/deb/debversion.cc:
     - consider absent of debian revision equivalent to 0 (Closes: #573592)
   * doc/makefile, doc/*:
     - generate subdirectories for building the manpages in on the fly
       depending on the po files we have.
   * apt-pkg/pkgcachegen.cc:
     - merge versions correctly even if multiple different versions
       with the same version number are available.
       Thanks to Magnus Holmgren for the patch! (Closes: #351056)
   * ftparchive/writer.cc:
     - write LongDescriptions if they shouldn't be included in Packages
       file into i18n/Translation-en by default.
   * doc/po/de.po:
     - correct a few typos in the german manpage translation.
       Thanks to Chris Leick and Georg Koppen! (Closes: #574962)
   * apt-pkg/contrib/strutl.cc:
     - convert all toupper calls to tolower_ascii for a little speedup
 .
   [ Jean-Baptiste Lallement ]
   * apt-pkg/contrib/strutl.cc:
     - always escape '%' (LP: #130289) (Closes: #500560)
     - unescape '%' sequence only if followed by 2 hex digit
     - username/password are urlencoded in proxy string (RFC 3986)
 .
   [ Julian Andres Klode ]
   * cmdline/apt-cache.cc:
     - Change behavior of showsrc to match the one of show (Closes: #512046).
   * cmdline/apt-key:
     - Honor Apt::GPGV::TrustedKeyring (Closes: #316390)
   * cmdline/apt-mark:
     - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
   * apt-inst/contrib/arfile.h:
     - Add public ARArchive::Members() which returns the list of members.
   * apt-pkg/policy.cc:
     - Always return a candidate if there is at least one version pinned > 0
       (Closes: #512318)
   * ftparchive/apt-ftparchive.cc:
     - Read default configuration (Closes: #383257)
   * debian/rules:
     - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
       libapt-pkg-4.9.
 .
   [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
     - fix backgrounding when dpkg runs (closes: #486222)
   * cmdline/apt-mark:
     - show error on incorrect aguments (LP: #517917), thanks to
       Torsten Spindler
   * cmdline/apt-get.cc:
     - if apt-get source foo=version or foo/distro can not be found,
       error out (LP: #502641)
   * apt-pkg/packagemanager.cc:
     - better debug output
   * doc/examples/configure-index:
     - add missing Debug::pkgPackageManager option
Checksums-Sha1: 
 e7c360358322b886317869d8e030eb42935b6088 1296 apt_0.7.26~exp3.dsc
 6dc73a06690e4e7d9489c03434c2d712cc202f46 2797544 apt_0.7.26~exp3.tar.gz
 eeda8472a6f0a1448f6d2ea598d12a5cbed07a78 224746 apt-doc_0.7.26~exp3_all.deb
 4ce0cd85664685b49055714988434f0c436d5b62 136328 libapt-pkg-doc_0.7.26~exp3_all.deb
 bec8e4527083d53a1c7dbebcf49ff2ae0402f5c6 1958384 apt_0.7.26~exp3_i386.deb
 30abc1070ba1b9a6e4c4b25c702f5b8a9d010c5c 127168 libapt-pkg-dev_0.7.26~exp3_i386.deb
 1184ac795005a143bb53e531e657427150e62a9c 256662 apt-utils_0.7.26~exp3_i386.deb
 83a38f7c40ce1e5d56b06bddfee1ffc28011433a 72390 apt-transport-https_0.7.26~exp3_i386.deb
Checksums-Sha256: 
 74eafab3c250e7880e13c84cce5979e752ab3724a040272df1e22ed7341a1f0c 1296 apt_0.7.26~exp3.dsc
 4d6d202a11fe19fd3adf1796cc5a7ca5272422fa59f3bc42fa856adb36c53f17 2797544 apt_0.7.26~exp3.tar.gz
 8f7099fef8a1fade01e59d58c9a2fa8d5089951d3c967654d91779fda41081aa 224746 apt-doc_0.7.26~exp3_all.deb
 d365f216c36731928b8c9dd215a746d0b4e3618e7d4cf9df5cd6309beac18709 136328 libapt-pkg-doc_0.7.26~exp3_all.deb
 fe0565c7142c56880c7cdd4e01a0507f98ed49311883e4f812b0c4b58309f737 1958384 apt_0.7.26~exp3_i386.deb
 9ad110fdca7bb756688eba867eca70aee035161f45d00cf89c3cfc4e07383120 127168 libapt-pkg-dev_0.7.26~exp3_i386.deb
 9a73543c7929be398c58cf31ec68afee128d6474894675c92dd60a489aabe211 256662 apt-utils_0.7.26~exp3_i386.deb
 93ab85d709d3c9fa16d780f4aafdb72f18fd62c3c053043896954434f67a73b9 72390 apt-transport-https_0.7.26~exp3_i386.deb
Files: 
 c415727401d80f152aaeb5daecbb8289 1296 admin important apt_0.7.26~exp3.dsc
 60435d361e1290399cab52351d249427 2797544 admin important apt_0.7.26~exp3.tar.gz
 e81fffc8223066b10fc783ecfd8c6c8a 224746 doc optional apt-doc_0.7.26~exp3_all.deb
 5cfab1c47b528eeefe199474c0eac0c9 136328 doc optional libapt-pkg-doc_0.7.26~exp3_all.deb
 43dc64a1652cf39bc76b9417f2b625f6 1958384 admin important apt_0.7.26~exp3_i386.deb
 f02a3c41eeb1d7ed37f9f2f6d5c1b21f 127168 libdevel optional libapt-pkg-dev_0.7.26~exp3_i386.deb
 d4a5c686ce77e840ec38d1524ec96ab7 256662 admin important apt-utils_0.7.26~exp3_i386.deb
 83a40028a4a41ae2ecdc3fb668abcd05 72390 admin optional apt-transport-https_0.7.26~exp3_i386.deb

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

iEYEARECAAYFAku0xOEACgkQliSD4VZixzSJywCgh+y8pcjt/Aj6fnTLJbLaM/QC
tWgAnA/t4+t8N/eNz2M6rg790S3NJdiU
=QUUE
-----END PGP SIGNATURE-----





Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:12 GMT) (full text, mbox, link).


Notification sent to David Liontooth <liontooth@cogweb.net>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:13 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:13 GMT) (full text, mbox, link).


Notification sent to Larry Doolittle <ldoolitt@recycle.lbl.gov>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:13 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:13 GMT) (full text, mbox, link).


Notification sent to Rick Frankel <rick@rickster.com>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:13 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:14 GMT) (full text, mbox, link).


Notification sent to CSights <csights@fastmail.fm>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:14 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:14 GMT) (full text, mbox, link).


Notification sent to Christoph Martin <martin@uni-mainz.de>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:14 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:15 GMT) (full text, mbox, link).


Notification sent to Tobia Conforto <tobia.conforto@linux.it>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:15 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Sat, 03 Apr 2010 13:42:16 GMT) (full text, mbox, link).


Notification sent to Sten Heinze <shze@gmx.de>:
Bug acknowledged by developer. (Sat, 03 Apr 2010 13:42:16 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:30 GMT) (full text, mbox, link).


Notification sent to Przemek Swiderski <jam-debian@dom.vizavi.pl>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:30 GMT) (full text, mbox, link).


Message #168 received at 351056-close@bugs.debian.org (full text, mbox, reply):

From: Michael Vogt <mvo@debian.org>
To: 351056-close@bugs.debian.org
Subject: Bug#351056: fixed in apt 0.8.0
Date: Tue, 24 Aug 2010 18:47:14 +0000
Source: apt
Source-Version: 0.8.0

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.8.0_all.deb
  to main/a/apt/apt-doc_0.8.0_all.deb
apt-transport-https_0.8.0_i386.deb
  to main/a/apt/apt-transport-https_0.8.0_i386.deb
apt-utils_0.8.0_i386.deb
  to main/a/apt/apt-utils_0.8.0_i386.deb
apt_0.8.0.dsc
  to main/a/apt/apt_0.8.0.dsc
apt_0.8.0.tar.gz
  to main/a/apt/apt_0.8.0.tar.gz
apt_0.8.0_i386.deb
  to main/a/apt/apt_0.8.0_i386.deb
libapt-pkg-dev_0.8.0_i386.deb
  to main/a/apt/libapt-pkg-dev_0.8.0_i386.deb
libapt-pkg-doc_0.8.0_all.deb
  to main/a/apt/libapt-pkg-doc_0.8.0_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 351056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@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.8
Date: Tue, 24 Aug 2010 16:32:19 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.8.0
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 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: 115520 150831 188407 195018 196021 236270 314334 316390 319006 319710 329814 351056 352667 383257 444222 448216 463260 486222 490347 499897 500560 512046 512318 523920 525783 531492 536029 538917 545699 547724 550564 558103 564137 566166 567669 568294 569488 570962 571037 571541 572259 572364 572615 573293 573592 573946 574558 574944 574962 576420 576752 577116 577117 577168 577226 577759 577804 578135 578267 578385 578657 578959 581159 581742 583517 586904 587725 588610 589642 590041 590438 590513 592366 592628 593430
Changes: 
 apt (0.8.0) unstable; urgency=low
 .
   [ Michael Vogt ]
   * merge of the debian-expermental-ma branch
   * refresh po/pot files in doc/ and po/
 .
   [ Programs translations ]
   * Swedish (Daniel Nylander). Closes: #592366
   * French (Christian Perrier)
 .
   [ Manpages translations ]
   * French (Christian Perrier)
 .
 apt (0.8.0~pre2) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * apt-pkg/contrib/strutl.cc:
     - fix error checking for vsnprintf in its safe variant
   * methods/bzip2.cc:
     - fix error checking for read in case of failing bzip2/lzma/whatever
   * debian/apt.cron.daily:
     - create backups for our extended_states file (Closes: #593430)
   * apt-pkg/init.cc:
     - set the default values for dir::etc::trusted options correctly
   * ftparchive/writer.cc:
     - init valid-until correctly to prevent garbage entering Release file
   * apt-pkg/deb/debsystem.cc:
     - set dir::state::status based at least on dir
   * apt-pkg/deb/dpkgpm.cc:
     - use the InstVer instead of the CurrentVer for the autobit transfer
   * methods/http.cc:
     - some http servers violate HTTP1.1 by not issuing a Reason-Phrase
       (or at least a space after the code) especially for 200, but lets
       be nice and ignore it as we don't need the reason in general
   * apt-pkg/acquire-item.cc:
     - don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work
       in combination with the AddFd methods of our hashclasses
 .
 apt (0.8.0~pre1) experimental; urgency=low
 .
   [ Programs translations ]
   * Swedish translation update. Closes: #592366
 .
   [ Michael Vogt ]
   * merge of the debian-expermental-ma branch
   * refresh po/pot files in doc/ and po/
   * apt-pkg/pkgcache.cc:
     - re-evaluate the architectures cache when the cache is (re)opened
 .
   [ Colin Watson ]
   * apt-pkg/cdrom.cc:
     - fix off-by-one error in DropBinaryArch
 .
   [ Julian Andres Klode ]
   * apt-pkg/contrib/fileutl.cc:
     - Add WriteAtomic mode.
     - Revert WriteEmpty to old behavior (LP: #613211)
   * apt-pkg, methods:
     - Convert users of WriteEmpty to WriteAtomic.
   * apt-pkg/depcache.cc:
     - Only try upgrade for Breaks if there is a newer version, otherwise
       handle it as Conflicts (by removing it) (helps for #591882).
   * debian/control:
     - Add dependency on gnupg to apt, apt-key uses it.
 .
   [ David Kalnischkies ]
   * apt-pkg/algorithms.cc:
     - let the problem resolver install packages to fix or-groups
       as a needed remove nuked another or-member (helps for #591882)
     - change the debug outputs to display also arch of the
       package and version dependencies information
   * cmdline/apt-get.cc:
     - let APT::Get::Arch-Only in build-dep default to false again
       (Closes: #592628) Thanks Mohamed Amine IL Idrissi for report!
     - purge packages in 'rc' state, thanks Rogier! (Closes: #150831)
   * apt-pkg/pkgcache.cc:
     - fix LongDesc handling in LANG=C environment
 .
 apt (0.7.26~exp12) experimental; urgency=low
 .
   [ Michael Vogt ]
   * debian/control:
     - add dependency on zlib-dev for libapt-pkg-dev
 .
   [ David Kalnischkies ]
   * apt-pkg/cacheset.cc:
     - [ABI BREAK] add an ErrorType option to CacheSetHelper
   * cmdline/apt-cache.cc:
     - use Notice instead of Error in the CacheSetHelper messages
       for compat reasons. Otherwise tools like sbuild blow up
     - return success in show if a virtual package was given
   * debian/control:
     - remove libcurl3-gnutls-dev alternative as the package is gone
     - increase needed version of libcurl4-gnutls-dev to >= 7.19.0
       as we use CURLOPT_{ISSUERCERT,CRLFILE} (Closes: #589642)
 .
 apt (0.7.26~exp11) experimental; urgency=low
 .
   [ Julian Andres Klode ]
   * apt-pkg/deb/dpkgpm.cc:
     - Write architecture information to history file.
     - Add to history whether a change was automatic or not.
   * apt-pkg/contrib/fileutl.cc:
     - Add FileFd::OpenDescriptor() (needed for python-apt's #383617).
   * cmdline/apt-get.cc:
     - Support large filesystems by using statvfs64() instead of statvfs()
       and statfs64() instead of statfs() (Closes: #590513).
   * apt-pkg/cdrom.cc:
     - Use link() instead of rename() for creating the CD database backup;
       otherwise there would be a short time without any database.
 .
   [ David Kalnischkies ]
   * apt-pkg/depcache.cc:
     - handle "circular" conflicts for "all" packages correctly
   * cmdline/apt-cache.cc:
     - be able to omit dependency types in (r)depends (Closes: #319006)
     - show in (r)depends the canidate per default instead of newest
     - share the (r)depends code instead of codecopy
   * apt-pkg/cacheset.cc:
     - move them back to the library as they look stable now
     - add a 'newest' pseudo target release as in pkg/newest
   * apt-pkg/pkgcache.cc:
     - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)
   * test/integration/*:
     - add with bug#590041 testcase a small test "framework"
   * apt-pkg/orderlist.cc:
     - try to install another or-group member in DepRemove before
       breaking the or group (Closes: #590438)
     - configure also the replacement before remove by adding Immediate flag
 .
   [ Michael Vogt ]
   * apt-pkg/contrib/error.{cc,h}
     - docstring cleanup
     - add inline DumpError() to avoid subtle API break
 .
 apt (0.7.26~exp10) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * apt-pkg/contrib/error.{cc,h}:
     - remove constness of va_list parameter to fix build on amd64 and co
       Thanks Eric Valette! (Closes: #588610)
   * apt-pkg/deb/debmetaindex.cc:
     - do not query each architecture for flat file archives
     - fix typo preventing display of architecture in Info()
   * methods/bzip2.cc:
     - add a copycat of the old gzip.cc as we need it for bzip2 and lzma
 .
   [ Martin Pitt ]
   * debian/rules:
     - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right
       CXXFLAGS.
   * apt-pkg/contrib/fileutl.{h,cc}:
     - Add support for reading of gzipped files with the new "ReadOnlyGzip"
       OpenMode. (Closes: #188407)
     - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
     - [ABI BREAK] This adds a new private member to FileFd, but its
       initialization is in the public header file.
   * configure.in:
     - Check for zlib library and headers.
   * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc,
     apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h,
     cmdline/apt-cache.cc:
     - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode.
   * apt-pkg/deb/debindexfile.cc:
     - If we do not find uncompressed package/source/translation indexes, look
       for gzip compressed ones.
   * apt-pkg/acquire-item.cc:
     - If the Acquire::GzipIndexes option is true and we download a gzipped
       index file, keep it as it is (and rename to .gz) instead of
       uncompressing it.
   * doc/apt.conf.5.xml:
     - Document the new Acquire::GzipIndexes option.
   * doc/po/apt-doc.pot, doc/po/de.po:
     - German translation of new Acquire::GzipIndexes option.
   * Add test/test-indexes.sh:
     - Test behaviour of index retrieval and usage, in particular with
       uncompressed and gzip compressed indexes.
   * methods/gzip.cc: With FileFd now being able to read gzipped files, there
     is no need for the gzip method any more to spawn an external gzip process.
     Rewrite it to use FileFd directly, which makes the code a lot simpler, and
     also using less memory and overhead.
 .
 apt (0.7.26~exp9) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * doc/apt.conf.5.xml:
     - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
   * apt-pkg/contrib/fileutl.cc:
     - do not fail von double close()
 .
 apt (0.7.26~exp8) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * cmdline/cacheset.cc:
     - doesn't include it in the library for now as it is too volatile
     - get the candidate either from an already built depcache
       or use the policy which is a bit faster than depcache generation
     - get packages by task^ with FromTask()
     - only print errors if all tries to get a package by string failed
     - factor out code to get a single package FromName()
     - check in Grouped* first without modifier interpretation
   * cmdline/apt-get.cc:
     - use the cachsets in the install commands
     - make the specify order of packages irrelevant (Closes: #196021)
   * apt-pkg/orderlist.cc:
     - untouched packages are never missing
   * apt-pkg/packagemanager.cc:
     - packages that are not touched doesn't need to be unpacked
   * debian/control:
     - remove intltool's dependency as it is an ubuntu artefact
   * apt-pkg/depcache.cc:
     - SetCandidateVer for all pseudo packages
     - SetReInstall for the "all" package of a pseudo package
     - use the new MatchAgainstConfig for the DefaultRootSetFunc
     - always mark the all package if a pseudo package is marked for install
   * apt-pkg/contrib/error.{cc,h}:
     - complete rewrite but use the same API
     - add NOTICE and DEBUG as new types of a message
     - add a simple stack handling to be able to delay error handling
   * apt-pkg/aptconfiguration.cc:
     - show a deprecation notice for APT::Acquire::Translation
   * apt-pkg/contrib/configuration.{cc,h}:
     - add a wrapper to match strings against configurable regex patterns
   * apt-pkg/contrib/fileutl.cc:
     - show notice about ignored file instead of being always silent
     - add a Dir::Ignore-Files-Silently list option to control the notice
   * apt-pkg/policy.h:
     - add another round of const& madness as the previous round accidentally
       NOT overrides the virtual GetCandidateVer() method (Closes: #587725)
   * apt-pkg/pkgcachegen.{cc,h}:
     - make the used MMap moveable (and therefore dynamic resizeable) by
       applying (some) mad pointer magic (Closes: #195018)
 .
   [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
     - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
 .
   [ Julian Andres Klode ]
   * methods/ftp.h:
     - Handle different logins on the same server (Closes: #586904).
   * apt-pkg/deb/deblistparser.cc:
     - Handle architecture wildcards (Closes: #547724).
   * apt-pkg/versionmatch.cc:
     - Support matching pins by regular expressions or glob() like patterns,
       regular expressions have to be put between to slashes; for example,
       /.*/.
   * apt-pkg/contrib/fileutl.cc:
     - Make FileFd replace files atomically in WriteTemp mode (for cache, etc).
   * debian/control:
     - Set Standards-Version to 3.9.0
 .
 apt (0.7.26~exp7) experimental; urgency=low
 .
   * apt-pkg/cachefile.h:
     - make pkgPolicy public again, libapt-pkg-perl (and probably
       others) get unhappy without that
 .
 apt (0.7.26~exp6) experimental; urgency=low
 .
   [ Michael Vogt ]
   * merge the remaining Ubuntu change:
     - on gpg verification failure warn and restore the last known
       good state
     - on failure display the IP of the server (useful for servers
       that use round robin DNS)
     - support Original-Maintainer in RewritePackageOrder
     - enable cdrom autodetection via libudev by default
     - show message about Vcs in use when apt-get source is run for
       packages maintained in a Vcs
     - better support transitional packages with mark auto-installed.
       when the transitional package is in "oldlibs" the new package
       is not marked auto installed (same is true for section
       metapackages)
     - provide new "deb mirror://archive.foo/mirrors.list sid main"
       method expects a list of mirrors (generated on the server e.g.
       via geoip) and will use that, including cycle on failure
     - write apport crash file on package failure (disabled by default
       on debian until apport is available)
     - support mirror failure reporting (disabled by default on debian)
 .
   [ David Kalnischkies ]
   * apt-pkg/deb/dpkgpm.cc:
     - write Disappeared also to the history.log
     - forward manual-installed bit on package disappearance
   * apt-pkg/deb/debsystem.cc:
     - add better config item for extended_states file
   * apt-pkg/pkgcache.h:
     - switch {,Install-}Size to unsigned long long
   * apt-pkg/depcache.cc:
     - do the autoremove mark process also for required packages to handle
       these illegally depending on lower priority packages (Closes: #583517)
     - try harder to find the other pseudo versions for autoremove multiarch
     - correct "Dangerous iterator usage" pointed out by cppcheck
     - deal with long long, not with int to remove 2GB Limit (LP: #250909)
     - deprecate AddSize with Multiplier as it is unused and switch to
       boolean instead to handle the sizes more gracefully.
     - switch i{Download,Usr}Size from double to (un)signed long long
   * apt-pkg/aptconfiguration.cc:
     - remove duplicate architectures in getArchitectures()
   * apt-pkg/indexrecords.{cc,h}:
     - backport forgotten Valid-Until patch from the obsolete experimental
       branch to prevent replay attacks better, thanks to Thomas Viehmann
       for the initial patch! (Closes: #499897)
     - add a constant Exists check for MetaKeys
   * apt-pkg/acquire-item.cc:
     - do not try PDiff if it is not listed in the Meta file
     - sent Last-Modified header also for Translation files
   * apt-pkg/cacheiterator.h:
     - let pkgCache::Iterator inherent std::iterator
   * ftparchive/writer.h:
     - add a virtual destructor to FTWScanner class (for cppcheck)
   * apt-pkg/cacheset.{cc,h}:
     - add simple wrapper around std::set for cache structures
     - move regex magic from apt-get to new FromRegEx method
     - move cmdline parsing from apt-cache to new FromCommandLine method
     - support special release-modifier 'installed' and 'candidate'
   * apt-pkg/contrib/cmdline.cc:
     - fix segfault in SaveInConfig caused by writing over char[] sizes
   * apt-pkg/pkgcache.cc:
     - get the best matching arch package from a group with FindPreferredPkg
   * cmdline/apt-cache.cc:
     - make the search multiarch compatible by using GrpIterator instead
     - use pkgCacheFile and the new CacheSets all over the place
     - add --target-release option (Closes: #115520)
     - accept pkg/release and pkg=version in show and co. (Closes: #236270)
     - accept package versions in the unmet command
   * cmdline/apt-get.cc:
     - use unsigned long long instead of double to store values it gets
   * apt-pkg/cachefile.{cc,h}:
     - split Open() into submethods to be able to build only parts
     - make the OpProgress optional in the Cache buildprocess
     - store also the SourceList we use internally for export
   * doc/apt.conf.5.xml:
     - document the new Valid-Until related options
   * apt-pkg/contrib/strutl.cc:
     - split StrToTime() into HTTP1.1 and FTP date parser methods and
       use strptime() instead of some self-made scanf mangling
     - use the portable timegm shown in his manpage instead of a strange
       looking code copycat from wget
   * ftparchive/writer.cc:
     - add ValidTime option to generate a Valid-Until header in Release file
   * apt-pkg/policy.cc:
     - get the candidate right for a not-installed pseudo package if
       his non-pseudo friend is installed
   * apt-pkg/indexcopy.cc:
     - move the gpg codecopy to a new method and use it also in methods/gpgv.cc
 .
 apt (0.7.26~exp5) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * cmdline/apt-get.cc:
     - rerun dpkg-source in source if --fix-broken is given (Closes: #576752)
     - don't suggest held packages as they are installed (Closes: #578135)
     - handle multiple --{tar,diff,dsc}-only options correctly
     - show at the end of the install process a list of disappeared packages
   * cmdline/apt-cache.cc:
     - use GroupCount for package names in stats and add a package struct line
   * methods/rred.cc:
     - use the patchfile modification time instead of the one from the
       "old" file - thanks to Philipp Weis for noticing! (Closes: #571541)
   * debian/rules:
     - remove targets referring to CVS or arch as they are useless
     - use $(CURDIR) instead of $(pwd)
     - use dpkg-buildflags if available for CXXFLAGS
   * README.arch:
     - remove the file completely as it has no use nowadays
   * apt-pkg/depcache.cc:
     - be doublesure that the killer query is empty before starting reinstall
   * methods/gpgv.cc:
     - remove the keyrings count limit by using vector magic
   * contrib/mmap.cc:
     - clarify "MMap reached size limit" error message, thanks Ivan Masár!
   * doc/apt.ent
     - add entities for the current oldstable/stable/testing codenames
   * doc/sources.list.5.xml:
     - use stable-codename instead of stable in the examples (Closes: #531492)
   * doc/apt_preferences.5.xml:
     - adapt some examples here to use current codenames as well
     - add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347)
   * debian/libapt-pkg-doc.doc-base.cache:
     - remove yet another reference to the removed cache.sgml
   * doc/apt-get.8.xml:
     - do not say explicit target_release_{name,version,codename}, it should
       be clear by itself and 'man' can break lines again (Closes: #566166)
     - remove the gnome-apt reference as it is removed from unstable
   * apt-pkg/deb/dpkgpm.cc:
     - add 'disappear' to the known processing states, thanks Jonathan Nieder
   * apt-pkg/packagemanager.h:
     - export info about disappeared packages with GetDisappearedPackages()
 .
   [ Michael Vogt ]
   * methods/http.{cc,h}:
     - code cleanup, use enums instead of magic ints
 .
   [ Jari Aalto ]
   * debian/rules:
     - spell out some less known options to reduce manpage consultation-rate
     - Use POSIX command substitution: $(<command sequence>)
     - Remove EOL whitespace (Closes: #577804)
 .
   [ Julian Andres Klode ]
   * apt-pkg/acquire-item.cc:
     - Fix pkgAcqFile::Custom600Headers() to always return something.
 .
 .
   [ Christian Perrier ]
   * Slovak translation update. Closes: #581159
   * Italian translation update. Closes: #581742
   * Swedish translation update. Closes: #592366
 .
 apt (0.7.26~exp4) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * apt-pkg/depcache.cc:
     - rewrite the pseudo package reinstaller to be more intelligent
       in his package choices
   * apt-pkg/packagemanager.cc:
     - don't try to "unpack" pseudo packages twice
   * apt-pkg/contrib/fileutl.cc:
     - add a parent-guarded "mkdir -p" as CreateDirectory()
   * apt-pkg/acquire.{cc,h}:
     - add a delayed constructor with Setup() for success reporting
     - check for and create directories in Setup if needed instead of
       error out unfriendly in the Constructor (Closes: #523920, #525783)
     - optional handle a lock file in Setup()
   * apt-pkg/acquire-item.cc:
     - Acquire::ForceHash to force method for expected hash
   * cmdline/apt-get.cc:
     - remove the lock file handling and let Acquire take care of it instead
     - display MD5Sum in --print-uris if not forced to use another method
       instead of displaying the strongest available (Closes: #576420)
     - regex for package names executed on Grp- not PkgIterator
     - show non-candidates as fallback for virtual packages (Closes: #578385)
     - set also "all" to this version for pseudo packages in TryToChangeVer
   * apt-pkg/deb/dpkgpm.cc:
     - remove Chroot-Directory from files passed to install commands.
       Thanks to Kel Modderman for report & patch! (Closes: #577226)
   * ftparchive/writer.cc:
     - remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
   * cmdline/apt-cache.cc:
     - align Installed and Candidate Version in policy so they can be compared
       easier, thanks Ralf Gesellensetter for the pointer! (Closes: #578657)
   * doc/apt.ent:
     - Add a note about APT_CONFIG in the -c description (Closes: #578267)
   * doc/po/de.po:
     - correct typos in german apt_preferences manpage, thanks Chris Leick!
   * apt-pkg/sourcelist.cc:
     - be less strict and accept [option=value] as well
   * apt-pkg/contrib/configuration.cc:
     - error out if #clear directive has no argument
   * doc/files.sgml:
     - sync documentation with status quo, regarding files/directories in
       use, extended_states and uri schemes.
   * doc/cache.sgml:
     - drop the file in favor of inplace documentation with doxygen
   * apt-pkg/pkgcache.h:
     - enhance the Groups ABI by providing a ID as the other structs does
     - check also the size of the Group struct then checking for the others
 .
   [ Jari Aalto ]
   * cmdline/apt-get.cc:
     - replace backticks with single quotes around fix-broken command
       in the broken packages message. (Closes: #577168)
   * dselect/install:
     - modernize if-statements not to use 'x' (Closes: #577117)
     - replace backticks with POSIX $() (Closes: #577116)
 .
   [ Michael Vogt ]
   * [ Abi break ] apt-pkg/acquire-item.{cc,h}:
     - add "IsIndexFile" to constructor of pkgAcqFile so that it sends
       the right cache control headers
   * cmdline/apt-get.cc:
     - fix crash when pkg.VersionList() is empty
   * apt-pkg/depcache.cc:
     - fix incorrect std::cout usage for debug output
   * test/libapt/getlanguages_test.cc:
     - Add test for Esperanto that has nocounty associated with them
       (LP: #560956)
   * apt-pkg/deb/debrecords.cc:
     - fix max tag buffer size (LP: #545336, closes: #578959)
   * debian/rules:
     - install html doxygen in libapt-pkg-doc
   * debian/control:
     - build-depend on doxygen
 .
   [ Julian Andres Klode ]
   * apt-pkg/contrib/weakptr.h:
     - add a class WeakPointable which allows one to register weak pointers to
       an object which will be set to NULL when the object is deallocated.
   * [ABI break] apt-pkg/acquire{-worker,-item,}.h:
     - subclass pkgAcquire::{Worker,Item,ItemDesc} from WeakPointable.
   * apt-pkg/pkgcache.cc:
     - Merge fix from David to correct handling in single-arch environments.
   * cmdline/apt-cache.cc:
     - Add a showauto command to apt-cache.
   * cmdline/apt-get.cc:
     - Add apt-get markauto and unmarkauto commands.
 .
 apt (0.7.26~exp3) experimental; urgency=low
 .
   [ Christian Perrier ]
   * German translation update. Closes: #571037
   * Spanish manpages translation update. Closes: #573293
   * Dutch translation update. Closes: #573946
   * Polish manpages translation update. Closes: #574558
   * Add "manpages-pl (<< 20060617-3~)" to avoid file conflicts with
     that package that was providing some manpages for APT utilities.
 .
   [ David Kalnischkies ]
   * [BREAK] merge MultiArch-ABI. We don't support MultiArch,
     but we support the usage of the new ABI so libapt users
     can start to prepare for MultiArch (Closes: #536029)
   * Ignore :qualifiers after package name in build dependencies
     in the library by default, but try to honour them in apt-get
     as we have some sort of MultiArch support ready (Closes: #558103)
   * add translation of the manpages to PT (portuguese)
     Thanks to Américo Monteiro!
   * Switch to dpkg-source 3.0 (native) format
   * apt-pkg/depcache.cc:
     - remove Auto-Installed information from extended_states
       together with the package itself (Closes: #572364)
   * cmdline/apt-mark:
     - don't crash if no arguments are given (Closes: #570962)
   * debian/control:
     - remove some years old and obsolete Replaces
     - add automake/conf build-depends/conflicts as recommend by
       the autotools-dev README (Closes: #572615)
   * apt-pkg/contrib/mmap.{h,cc}:
     - add char[] fallback for filesystems without shared writable
       mmap() like JFFS2. Thanks to Marius Vollmer for writing
       and to Loïc Minier for pointing to the patch! (Closes: #314334)
   * doc/apt_preferences.5.xml:
     - fix two typos and be more verbose in the novice warning.
       Thanks to Osamu Aoki for pointing it out! (Closes: #567669)
     - fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!
     - origin can be used to match a hostname (Closes: #352667)
     - remove wrong pin-priority is optional remark (Closes: #574944)
   * apt-pkg/deb/dpkgpm.cc:
     - fix error message construction in OpenLog()
     - if available store the Commandline in the history
   * cmdline/apt-get.cc:
     - add a --only-upgrade flag to install command (Closes: #572259)
     - fix memory leaks in error conditions in DoSource()
     - try version match in FindSrc first exact than fuzzy (LP: #551178)
   * apt-pkg/contrib/cmndline.cc:
     - save Commandline in Commandline::AsString for logging
   * apt-pkg/deb/debversion.cc:
     - consider absent of debian revision equivalent to 0 (Closes: #573592)
   * doc/makefile, doc/*:
     - generate subdirectories for building the manpages in on the fly
       depending on the po files we have.
   * apt-pkg/pkgcachegen.cc:
     - merge versions correctly even if multiple different versions
       with the same version number are available.
       Thanks to Magnus Holmgren for the patch! (Closes: #351056)
   * ftparchive/writer.cc:
     - write LongDescriptions if they shouldn't be included in Packages
       file into i18n/Translation-en by default.
   * doc/po/de.po:
     - correct a few typos in the german manpage translation.
       Thanks to Chris Leick and Georg Koppen! (Closes: #574962)
   * apt-pkg/contrib/strutl.cc:
     - convert all toupper calls to tolower_ascii for a little speedup
 .
   [ Jean-Baptiste Lallement ]
   * apt-pkg/contrib/strutl.cc:
     - always escape '%' (LP: #130289) (Closes: #500560)
     - unescape '%' sequence only if followed by 2 hex digit
     - username/password are urlencoded in proxy string (RFC 3986)
 .
   [ Julian Andres Klode ]
   * cmdline/apt-cache.cc:
     - Change behavior of showsrc to match the one of show (Closes: #512046).
   * cmdline/apt-key:
     - Honor Apt::GPGV::TrustedKeyring (Closes: #316390)
   * cmdline/apt-mark:
     - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
   * apt-inst/contrib/arfile.h:
     - Add public ARArchive::Members() which returns the list of members.
   * apt-pkg/policy.cc:
     - Always return a candidate if there is at least one version pinned > 0
       (Closes: #512318)
   * ftparchive/apt-ftparchive.cc:
     - Read default configuration (Closes: #383257)
   * debian/rules:
     - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
       libapt-pkg-4.9.
 .
   [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
     - fix backgrounding when dpkg runs (closes: #486222)
   * cmdline/apt-mark:
     - show error on incorrect aguments (LP: #517917), thanks to
       Torsten Spindler
   * cmdline/apt-get.cc:
     - if apt-get source foo=version or foo/distro can not be found,
       error out (LP: #502641)
   * apt-pkg/packagemanager.cc:
     - better debug output
   * doc/examples/configure-index:
     - add missing Debug::pkgPackageManager option
 .
 apt (0.7.26~exp2) experimental; urgency=low
 .
   * fix crash when LANGUAGE is not set
 .
 apt (0.7.26~exp1) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * [BREAK] add possibility to download and use multiply
     Translation files, configurable with Acquire::Translation
     (Closes: #444222, #448216, #550564)
   * Ignore :qualifiers after package name in build dependencies
     for now as long we don't understand them (Closes: #558103)
   * apt-pkg/contrib/mmap.{cc,h}:
     - extend it to have a growable flag - unused now but maybe...
   * apt-pkg/pkgcache.h:
     - use long instead of short for {Ver,Desc}File size,
       patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
   * apt-pkg/acquire-item.cc:
     - allow also to skip the last patch if target is reached,
       thanks Bernhard R. Link! (Closes: #545699)
   * ftparchive/writer.{cc,h}:
     - add --arch option for packages and contents commands
     - if an arch is given accept only *_all.deb and *_arch.deb instead
       of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
     - add APT::FTPArchive::AlwaysStat to disable the too aggressive
       caching if versions are build multiply times (not recommend)
       Patch by Christoph Goehre, thanks! (Closes: #463260)
   * apt-pkg/deb/dpkgpm.cc:
     - stdin redirected to /dev/null takes all CPU (Closes: #569488)
       Thanks to Aurelien Jarno for providing (again) a patch!
   * buildlib/apti18n.h.in, po/makefile:
     - add ngettext support with P_()
   * aptconfiguration.cc:
     - include all existing Translation files in the Cache (Closes: 564137)
   * debian/control:
     - update with no changes to debian policy 3.8.4
   * doc/apt_preferences.5.xml:
     - explicitly warn against careless use (Closes: #567669)
   * debian/rules:
     - remove creation of empty dir /usr/share/apt
   * doc/apt-cdrom.8.xml:
     - fix typo spotted by lintian: proc(c)eed
 .
   [ Ivan Masár ]
   * Slovak translation update. Closes: #568294
 .
   [ Michael Vogt ]
   * [BREAK] merged lp:~mvo/apt/history
     - this writes a /var/log/apt/history tagfile that contains details
       from the transaction (complements term.log)
   * methods/http.cc:
     - add cache-control headers even if no cache is given to allow
       adding options for intercepting proxies
     - add Acquire::http::ProxyAutoDetect configuration that
       can be used to call a external helper to figure out the
       proxy configuration and return it to apt via stdout
       (this is a step towards WPAD and zeroconf/avahi support)
   * abicheck/
     - add new abitest tester using the ABI Compliance Checker from
       http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
 .
   [ Robert Collins ]
   * Change the package index Info methods to allow apt-cache policy to be
     useful when using several different archives on the same host.
     (Closes: #329814, LP: #22354)
Checksums-Sha1: 
 a44ec680fd2b37b7a042ef2f2b8d05343ddf1929 1282 apt_0.8.0.dsc
 0fa9075640943ddec0f97a8a268fea7aa2378467 3052419 apt_0.8.0.tar.gz
 ac453c6596098a2af4f6ee617f970c438213086c 201688 apt-doc_0.8.0_all.deb
 95df5bc8d4093df27fb13fc01ad52c048c3dd6a1 687228 libapt-pkg-doc_0.8.0_all.deb
 350a8a7a43fe182d54f3b7d73b8032f85b5d7ddf 1965454 apt_0.8.0_i386.deb
 52cc97588f405d9c9588b1ff2486df4d49856139 147434 libapt-pkg-dev_0.8.0_i386.deb
 973eb3e2c9025f81eed70bee3f41db6ecf638dbf 256382 apt-utils_0.8.0_i386.deb
 c55efb7fb68500542f4b8b314af8020103f10102 79486 apt-transport-https_0.8.0_i386.deb
Checksums-Sha256: 
 07c8c13c022820c04c4f7c5f1a8e46bd60cd766c7245af41189381e0a7b454be 1282 apt_0.8.0.dsc
 a7f2c4906f0fa301b2202d3e4af7e1651e795b3d1977850759c1282c54e4cbac 3052419 apt_0.8.0.tar.gz
 2f434a9b6b1821aae8e04083f9b928038880957bb6dbf7faadda938bf923f0e6 201688 apt-doc_0.8.0_all.deb
 6d84ed0a5953067a15d032eb79abaf4aab233da4d34ef2abb918eafa72fb558d 687228 libapt-pkg-doc_0.8.0_all.deb
 a593e7d7f9b3cffa37770201a3c13bd2c8bc588bafbf39b4aaa5e13b5fb00b8b 1965454 apt_0.8.0_i386.deb
 482c3d36e5a1464a4a695d315a6571721ec858c42ae854833034992ff1eb2fc3 147434 libapt-pkg-dev_0.8.0_i386.deb
 3c6b12d3bce42a9fb587856bc55ebd9b28694da1c38d84f4347041c7d2fe4f7c 256382 apt-utils_0.8.0_i386.deb
 a140d5aeb6fffa058554def5b41d5ab946bffc656f5d9b889ebfbc4ab41c1262 79486 apt-transport-https_0.8.0_i386.deb
Files: 
 130fdd69012ecaa5803fb40b619adc52 1282 admin important apt_0.8.0.dsc
 f2a4203720d9f7c3b79c95b33a52a47c 3052419 admin important apt_0.8.0.tar.gz
 83dc4da2cce59fb7b21b99bd895bb59f 201688 doc optional apt-doc_0.8.0_all.deb
 f18cba6291c545b2ddffa245093985e8 687228 doc optional libapt-pkg-doc_0.8.0_all.deb
 43364819b898e49b8175e88ec5787241 1965454 admin important apt_0.8.0_i386.deb
 72767fb35c364cb87c21c0a31033de87 147434 libdevel optional libapt-pkg-dev_0.8.0_i386.deb
 054ed2576bf7eda6a793b51bc887c36e 256382 admin important apt-utils_0.8.0_i386.deb
 dbf3e63b69e7fe0e05bd5c246d62314a 79486 admin optional apt-transport-https_0.8.0_i386.deb

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

iEYEARECAAYFAkx0DecACgkQliSD4VZixzSOcwCfVOztS6+5/9DNF0wWB3gJfzaU
GeoAnRghDhHJwAcf/xizOfMBTsXHMBCg
=OymA
-----END PGP SIGNATURE-----





Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:31 GMT) (full text, mbox, link).


Notification sent to David Liontooth <liontooth@cogweb.net>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:31 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:31 GMT) (full text, mbox, link).


Notification sent to Larry Doolittle <ldoolitt@recycle.lbl.gov>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:31 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:31 GMT) (full text, mbox, link).


Notification sent to Rick Frankel <rick@rickster.com>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:32 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:32 GMT) (full text, mbox, link).


Notification sent to CSights <csights@fastmail.fm>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:32 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:33 GMT) (full text, mbox, link).


Notification sent to Christoph Martin <martin@uni-mainz.de>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:33 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:33 GMT) (full text, mbox, link).


Notification sent to Tobia Conforto <tobia.conforto@linux.it>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:33 GMT) (full text, mbox, link).


Reply sent to Michael Vogt <mvo@debian.org>:
You have taken responsibility. (Tue, 24 Aug 2010 18:51:34 GMT) (full text, mbox, link).


Notification sent to Sten Heinze <shze@gmx.de>:
Bug acknowledged by developer. (Tue, 24 Aug 2010 18:51:34 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 02 Oct 2010 07:31:43 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 15:09:32 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.