[Bug 1144373] Re: Workaround apt-ftparchive generating empty Packages.gz
Launchpad Bug Tracker
1144373 at bugs.launchpad.net
Tue Mar 31 04:17:48 UTC 2015
[Expired for debian-cd (Ubuntu) because there has been no activity for
60 days.]
** Changed in: debian-cd (Ubuntu)
Status: Incomplete => Expired
--
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:
Expired
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