[Bug 1915222] [NEW] InRelease lists files on which apt fails when on local repository
Thomas
1915222 at bugs.launchpad.net
Wed Feb 10 00:12:10 UTC 2021
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
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1915222
Title:
InRelease lists files on which apt fails when on local repository
Status in apt package in Ubuntu:
New
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!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1915222/+subscriptions
More information about the foundations-bugs
mailing list