InRelease lists files on which apt fails when on local repository

Bug #1915222 reported by Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Focal:

Please verify that ftp://www.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/ does not contain a file called icons-48x48.tar - though the InRelease file (ftp://www.archive.ubuntu.com/ubuntu/dists/focal/InRelease) lists one.

When the sources.list is configured for http, the missing file is ignored and apt works fine.
When the sources.list is configured for a local folder, apt fails:

Failed to fetch file:/... File not found.
E: Some index files failed to download. They have been ignored ...

Still it is not ignored cause apt now fails to install any new package.

-----------

Note that, in order to test this I setup an apache2 for a local directory listing. So apt is always accessing the same repository. Once with http: (which succeeds) and once with file:

-----------

So from my perspective the handling of missing files (from InRelease) is different when using http: and file:
Either apt allows missing files from a local repository, or the InRelease file shall be corrected.

Regards!

Tags: apt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.