Package: software-properties-common
Version: 0.96.20.2-2.1
Severity: important
File: software-properties
X-Debbugs-Cc:
kmit...@nvidia.com
Dear Maintainer,
apt-key is deprecated and warns that it will be removed in a future release:
"apt-key(8) will last be available in Debian 11 and Ubuntu 22.04."
Therefore modifying 3rd party repo enablement instructions to:
wget
https://path/to/$KEYNAME.pub
sudo gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/$REPONAME.gpg --import $KEYNAME.pub
sudo add-apt-repository "deb [signed-by=/etc/apt/trusted.gpg.d/$REPONAME.gpg]
https://path/to/debian/repo/ /"
The last command, add-apt-repository, while expected to append an entry to /etc/apt/sources.list
instead returns Error: 'deb [signed-by=/etc/apt/trusted.gpg.d/$REPONAME.gpg]
https://path/to/debian/repo/ /' invalid
Manually editing the sources.list file works (or adding a new file to /etc/apt/sources.list.d/)
However would prefer to instruct users to use add-apt-repository command:
* standard repo management command
* clear what it is doing
* checks syntax
Therefore would like to request fixing add-apt-repository to handle additional attributes such as signed-by.
Alternatively, perhaps a parameter could be added to specify the location of the public signing key on the filesystem.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: redacted (running from container)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages software-properties-common depends on:
ii ca-certificates 20210119
ii gir1.2-glib-2.0 1.70.0-2
ii gir1.2-packagekitglib-1.0 1.2.2-2
ii python-apt-common 2.2.1
ii python3 3.9.2-3
ii python3-dbus 1.2.18-3
ii python3-gi 3.42.0-1+b1
ii python3-software-properties 0.96.20.2-2.1
Versions of packages software-properties-common recommends:
ii packagekit 1.2.2-2
software-properties-common suggests no packages.
-- no debconf information