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 Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp