Skip to content

The --remove-repo flag doesn't work on PPAs #1420

@silentJET85

Description

@silentJET85

When using the --remove-repo flag on a package that uses the PPA method, the gpg andlist files are not removed. It's because the filenames it's trying to remove are incorrect.

jet@kubuntu:~$ deb-get remove --remove-repo keepassxc
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  keepassxc libargon2-1 libqt5concurrent5t64 libzxcvbn0
0 upgraded, 0 newly installed, 4 to remove and 3 not upgraded.
After this operation, 35.9 MB disk space will be freed.
(Reading database ... 239475 files and directories currently installed.)
Removing keepassxc (2.7.10-1ppa2~oracular1) ...
Removing libargon2-1:amd64 (0~20190702+dfsg-4build1) ...
Removing libqt5concurrent5t64:amd64 (5.15.15+dfsg-1ubuntu1) ...
Removing libzxcvbn0:amd64 (2.5+dfsg-2) ...
Processing triggers for hicolor-icon-theme (0.18-1) ...
Processing triggers for libc-bin (2.40-1ubuntu3.1) ...
Processing triggers for man-db (2.12.1-3) ...
Processing triggers for shared-mime-info (2.4-5) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
  [+] Removing /usr/share/keyrings/keepassxc-archive-keyring.gpg
  [+] Removing /etc/apt/sources.list.d/keepassxc.list
jet@kubuntu:~$ ls /usr/share/keyrings
phoerious-ubuntu-keepassxc-oracular-archive-keyring.gpg  ubuntu-cloudimage-keyring.gpg       ubuntu-pro-anbox-cloud.gpg  ubuntu-pro-esm-apps.gpg   ubuntu-pro-fips-preview.gpg
ubuntu-archive-keyring.gpg                               ubuntu-cloudimage-removed-keys.gpg  ubuntu-pro-cc-eal.gpg       ubuntu-pro-esm-infra.gpg  ubuntu-pro-realtime-kernel.gpg
ubuntu-archive-removed-keys.gpg                          ubuntu-master-keyring.gpg           ubuntu-pro-cis.gpg          ubuntu-pro-fips.gpg       ubuntu-pro-ros.gpg

jet@kubuntu:~$ ls /etc/apt/sources.list.d/
phoerious-ubuntu-keepassxc-oracular.list  ubuntu.sources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions