Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-20 Thread Cyril Brulebois
David Kalnischkies kalnischkies+deb...@gmail.com (2013-09-19): On Thu, Sep 19, 2013 at 2:48 PM, Cyril Brulebois k...@debian.org wrote: Good luck fixing the scanner. :-) I have to test this a bit more, but I fear that could be the fix: diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc

Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-19 Thread Cyril Brulebois
Cyril Brulebois k...@debian.org (2013-09-19): Since Owner-DestFile is used both for creating a Message and for printing URIs, I suspect that's the one going bad. Looking at apt-private/private-install.cc's InstallPackages(), it appears the Fetcher is created by the PackageManager, and one then

Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-19 Thread Cyril Brulebois
Cyril Brulebois k...@debian.org (2013-09-19): Tracked down to: pkgAcqArchive::pkgAcqArchive(), where Parse.FileName() returns: pool/main/c/c Looking further, through debindexfile.cc then debrecords.cc, it looks like debRecordParser::FileName() returns a faulty (truncated) string. Root

Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-19 Thread David Kalnischkies
On Thu, Sep 19, 2013 at 2:48 PM, Cyril Brulebois k...@debian.org wrote: Good luck fixing the scanner. :-) I have to test this a bit more, but I fear that could be the fix: diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc index b91e868..e0802e3 100644 --- a/apt-pkg/tagfile.cc +++

Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-18 Thread Cyril Brulebois
Package: apt Version: 0.9.11.3 Severity: serious Justification: breaks d-i builds; probable memory corruption Cyril Brulebois k...@debian.org (2013-09-17): Looking at recent linux logs, it seems systemd's udev-udeb depending on libudev1 (instead of libudev1-udeb) is the thing breaking the build

Bug#723705: apt: Saves some downloaded packages under truncated filenames

2013-09-18 Thread Cyril Brulebois
Cyril Brulebois k...@debian.org (2013-09-19): My log said: | Get:140 http://ftp.fr.debian.org/debian/ unstable/main/debian-installer cdebconf-newt-terminal amd64 0.22 [4,538 B] […] | Needed cdebconf-newt-terminal