[Bug 1777438] Re: Empty Packages file breaks apt updating
Julian Andres Klode
1777438 at bugs.launchpad.net
Mon Jun 18 14:06:44 UTC 2018
Empty Packages files work just fine, e.g. cosmic-updates is empty and
works. Check whether your Release file is correct, listing the
uncompressed file as 0 bytes and debug with -o Debug::Acquire::http=1
and/or -o Debug::pkgAcquire::Worker=1 why the file is being downloaded
and that fails.
** Changed in: apt (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1777438
Title:
Empty Packages file breaks apt updating
Status in apt package in Ubuntu:
Incomplete
Bug description:
I maintain an internal repository for wheezy, jessie, trusty, xenial
an bionic. With bionic started to see an issue that apt-get update
waits for a long time and eventually fails with:
Reading package lists... Done
W: Failed to fetch https://my_repo_url/dists/bionic/myrepo/binary-i386/Packages Undetermined Error [IP: 1.2.3.4 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
I don't have packages in binary-i386 but I do in binary-amd64. The
reason seems to be that Packages file is empty (as created by dpkg-
scanpackages), since if I manually add just "#" to the file, updating
works again.
Empty Packages -file works in previous versions, so this seems to be a
regression.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1777438/+subscriptions
More information about the foundations-bugs
mailing list