Public bug reported:

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!

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915222

Title:
  InRelease lists files on which apt fails when on local repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1915222/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to