[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059954: apt: "apt changelog" may fail because it tries to fetch an old version



Control: found -1 2.9.28

On 2024-11-27 11:07:02 +0100, Vincent Lefevre wrote:
> This is currently occurring again with binutils:
> 
> Err:1 https://metadata.ftp-master.debian.org binutils 2.43.50.20241126-1 Changelog
>   Changelog unavailable for binutils=2.43.50.20241126-1 (404  Not Found [IP: 2a04:4e42:6a::644 443])
> E: Failed to fetch https://metadata.ftp-master.debian.org/changelogs/main/b/binutils/binutils_2.43.50.20241126-1_changelog  Changelog unavailable for binutils=2.43.50.20241126-1 (404  Not Found [IP: 2a04:4e42:6a::644 443])
> 
> Because old versions for the distribution are systematically removed,
> I don't think that it makes sense to try to fetch a fixed version.
> Since metadata.ftp-master.debian.org contains <dist>_changelog files,
> such a file should be fetched instead (for the default distribution,
> use the same as what "apt-get install" does).
[...]

Note that this kind of error may be permanent. For instance,
there is the same issue with

$ apt changelog libmimalloc2.0
Err:1 https://metadata.ftp-master.debian.org mimalloc 3.0.1+ds-1 Changelog
  Changelog unavailable for mimalloc=3.0.1+ds-1 (404  Not Found [IP: 146.75.118.132 443])
Error: Failed to fetch https://metadata.ftp-master.debian.org/changelogs/main/m/mimalloc/mimalloc_3.0.1%2bds-1_changelog  Changelog unavailable for mimalloc=3.0.1+ds-1 (404  Not Found [IP: 146.75.118.132 443])

as mimalloc 3.0.1+ds-2 has been available for 3 weeks. However,
libmimalloc2.0 3.0.1+ds-1 is the latest version because the package
is no longer built:

https://packages.debian.org/en/sid/libmimalloc2.0 says:

Package: libmimalloc2.0 (3.0.1+ds-1 and others)
                         ^^^^^^^^^^

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)


Reply to: