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

Bug#513157: marked as done (apt: files in directory /var/lib/apt/lists/partial)



Your message dated Wed, 12 Aug 2015 12:25:42 +0200
with message-id <20150812102542.GA20692@crossbow>
and subject line Re: Additional information, bug found in apt/0.8.10 as well
has caused the Debian Bug report #513157,
regarding apt: files in directory /var/lib/apt/lists/partial
to be marked as done.

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

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
513157: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513157
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.20
Severity: normal

Dear APT development team,

lately I see files accumulating in /var/lib/apt/lists/partial from "aptitude
update" to "aptitude update".
In my understanding, in this directory should only remain files in case the
"update" command got interrupted somehow.
Shouldn't the files in directory /var/lib/apt/lists/partial not be removed
automatically?
-- 
Regards,
Jörg-Volker.






--- End Message ---
--- Begin Message ---
Version: 1.1~exp4

Hi,

On Thu, Oct 16, 2014 at 10:24:35AM +0200, Erik Auerswald wrote:
> This is a long-standing, security relevant bug in a Debian specific
> package. This should not happen. :-(

Wishful thinking doesn't resolve bugs. Contributions and patches do.


> The obvious solution is for 'apt-get update' to retrieve fresh versions
> of every partial list and replace the old partial list if a complete list
> could be downloaded. As an optimization apt may try to continue from the
> partial list, but if that should fail for any reason, it needs to start
> a fresh download of the complete list. This must be done automatically.

That is what happens™. It should happen even better with what we have in
debian/experimental at the moment as this features a rewrite of the
acquire system.

> In addition, bug #762891 should be fixed as well, because partial lists

It is now - in the same experimental version.


> The bug is easily reproducible by placing incomplete Realease lists
> inside the /var/lib/apt/lists/partial/ directory. Please fix this bug.

I can't reproduce it with this anymore, so this is therefore done.


Note that this bug developed into a kind of catch all as the initial
report was an incompatibility of aptitude with a newer libapt, some
messages in between were talking about a bug in handling of pdiffs,
which weren't cleanup and the last one is actually a report about apt
writing to a file endlessly filling up the disk… but catch-alls aren't
useful to work with, and all these I mentioned are fixed in the meantime
as well, so yet another reason to close this now.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: