Thank you for clarifying this. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1935050
Title: After uninstall apt autoremove removes keyring, but repo remains and throws error on 'sudo apt update' Status in apt package in Ubuntu: Invalid Bug description: I manually added a repository to install a program (brave-browser). After testing for a while I decided the browswer does not suit my needs and did "sudo apt purge brave-browser", then "sudo apt autoremove". Expected result: my system works as before, just without brave- browser. What happened: "sudo apt autoremove" deleted the keyring of brave- browser, but left the file /etc/apt/sources.list.d/brave-browser- release.list Subsequently "sudo apt update" throws these messages: "W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C W: Some index files failed to download. They have been ignored, or old ones used instead." Uninstalling a program should keep the keyring if it is needed to verify repositories. There could be an option to remove both (though I think removing the repo while keeping the keyring would not return errors). ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: apt 2.0.6 ProcVersionSignature: Ubuntu 5.4.0-77.86-lowlatency 5.4.119 Uname: Linux 5.4.0-77-lowlatency x86_64 ApportVersion: 2.20.11-0ubuntu27.18 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: KDE Date: Thu Jul 8 15:04:54 2021 InstallationDate: Installed on 2021-02-07 (150 days ago) InstallationMedia: Kubuntu 20.04.2 LTS "Focal Fossa" - Release amd64 (20210204) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1935050/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

