[Bug 1144373] Re: Workaround apt-ftparchive generating empty Packages.gz
Ubuntu Foundations Team Bug Bot
1144373 at bugs.launchpad.net
Mon Mar 4 16:18:14 UTC 2013
The attachment "Workaround for empty gzip files" of this bug report has
been identified as being a patch. The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch. In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch. Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-cd in Ubuntu.
https://bugs.launchpad.net/bugs/1144373
Title:
Workaround apt-ftparchive generating empty Packages.gz
Status in “debian-cd” package in Ubuntu:
New
Bug description:
Hello,
On my system with apt-ftparchive version 0.9.7.7, empty Packages.gz
have size 0 instead of 20 bytes for empty gzip file.
Steps to reproduce:
1) cat > apt-ftparchive.conf <<EOF
Dir::ArchiveDir ".";
Dir::OverrideDir ".";
Dir::CacheDir ".";
Default::Packages::Compress "gzip";
TreeDefault::Contents " ";
Tree "dists/whatever" {
FileList "empty.list";
Sections "main";
Architectures "amd64";
}
EOF
2) > empty.list
3) mkdir -p dists/whatever/main/binary-amd64
4) apt-ftparchive generate apt-ftparchive.conf
5) ls -l dists/whatever/main/binary-amd64/
This cause troubles installing my custom CDROM, apt-cdrom fails with:
Mar 1 16:06:15 base-installer: gzip:
Mar 1 16:06:15 base-installer: stdin: unexpected end of file
Then base installer fails to install lvm2 because it does not find it.
My workaround makes my custom CDROM work again.
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-cd/+bug/1144373/+subscriptions
More information about the foundations-bugs
mailing list