[Bug 1990429] [NEW] software-properties uses deprecated apt-key

Launchpad Bug Tracker 1990429 at bugs.launchpad.net
Thu Sep 22 15:16:27 UTC 2022


You have been subscribed to a public bug by Matthieu Clemenceau (mclemenceau):

software-properties still references apt-key, which is deprecated
upstream (https://blog.jak-linux.org/2021/06/20/migrating-away-apt-
key/):

$ grep -r apt-key
tests/test_dbus.py:        # test apt-key update
tests/test_aptauth.py:            "/usr/bin/apt-key",
tests/test_aptauth.py:            stderr="Warning: apt-key is deprecated.\n",
debian/changelog:   - thus, add-apt-key for PPAs observes https_proxy for key retrieval
debian/changelog:   - stop using apt-key for installing keys
debian/changelog:  * Port AptAuth.py from gpg command parsing to apt-key command
debian/changelog:    - fix incorrect call call to apt-key for the fingerprint, thanks
softwareproperties/SoftwareProperties.py:    # apt-key stuff
softwareproperties/SoftwareProperties.py:    """ Run apt-key update """
softwareproperties/AptAuth.py:        cmd = ["/usr/bin/apt-key", "--quiet", "adv", "--with-colons", "--batch", "--fixed-list-mode", "--list-keys"]
softwareproperties/AptAuth.py:        cmd = ["/usr/bin/apt-key", "--quiet", "--fakeroot", "add", filename]
softwareproperties/AptAuth.py:        cmd = ["/usr/bin/apt-key", "--quiet", "--fakeroot", "update"]
softwareproperties/AptAuth.py:        cmd = ["/usr/bin/apt-key", "--quiet", "--fakeroot", "rm", key]
$

apt-key will eventually go away, and software-properties needs to adapt.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: rls-kk-incoming
-- 
software-properties uses deprecated apt-key
https://bugs.launchpad.net/bugs/1990429
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list