Package: local-apt-repository
Version: 0.9
Severity: normal
File: /usr/lib/local-apt-repository/local-apt-repository.list
Usertags: warnings
A recent update to apt is complaining about the local-apt-repository
apt sources file being non-modern. It looks very easy to fix:
$ sudo apt-get update
Ign:1 file:/var/lib/local-apt-repository ./ InRelease
Get:2 file:/var/lib/local-apt-repository ./ Release [1,279 B]
Get:2 file:/var/lib/local-apt-repository ./ Release [1,279 B]
Ign:3 file:/var/lib/local-apt-repository ./ Release.gpg
...
Reading package lists... Done
N: Some sources can be modernized. Run 'apt modernize-sources' to do so.
$ cat /etc/apt/sources.list.d/local-apt-repository.list
# This enables the local repositories provided by local-apt-repository
#
# We do not use cryptographic signatures, as they are read from local system
# anyways.
deb [trusted=yes] file:///var/lib/local-apt-repository/ ./
deb-src [trusted=yes] file:///var/lib/local-apt-repository/ ./
$ sudo apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/local-apt-repository.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
Rewrite 2 sources? [Y/n] n
Simulating only...
Modernizing /etc/apt/sources.list...
Modernizing /etc/apt/sources.list.d/local-apt-repository.list...
Warning: Could not determine Signed-By for URIs: file:/var/lib/local-apt-repository/, Suites: ./
# Would write to: /etc/apt/sources.list.d/local-apt-repository.sources
Types: deb deb-src
URIs: file:/var/lib/local-apt-repository/
Suites: ./
Components:
Signed-By:
Trusted: yes
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages local-apt-repository depends on:
ii apt-utils 2.9.26
ii systemd 257.2-3
local-apt-repository recommends no packages.
local-apt-repository suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part