Bug#1143584: apt: Missing check-valid-until translation in apt modernize-sources
Samuel Thibault <[email protected]> Tue, 4 Aug 2026 15:38:34 +0200
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Organization | I am not organized |
| Message-ID | <anHrWpp9O0sLSdkr__34468.7035934598$1785850888$gmane$org@end> |
Package: apt Version: 3.3.1 Severity: normal Hello, Apparently apt modernize-sources misses translating the check-valid-until option: $ cat /etc/apt/sources.list [...] deb [check-valid-until=no trusted=yes] https://snapshot.debian.org/archive/debian/20210101T000000Z/ unstable main $ apt modernize-sources [...] $ cat /etc/apt/sources.list.d/debian.sources # Modernized from /etc/apt/sources.list Types: deb URIs: https://snapshot.debian.org/archive/debian/20210101T000000Z/ Suites: unstable Components: main Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Trusted: yes The trusted option was translated, but the check-valid-until option was not, while it is really needed for snapshot which is expected to have expired certificates. Samuel