[Bug 2036761] Re: [mantic] ppa-purge no longer purges what add-apt-repository adds
Ghadi Rahme
2036761 at bugs.launchpad.net
Mon Feb 12 16:08:36 UTC 2024
I wrote a fix and did a merge request adding deb822 support for ppa-purge. I did a test using the oibaf ppa in a mantic lxc container to verify the fix.
Also this issue should also be affecting noble but I only tested the fix on mantic for now.
** Changed in: ppa-purge (Ubuntu)
Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)
** Changed in: ppa-purge (Ubuntu Mantic)
Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2036761
Title:
[mantic] ppa-purge no longer purges what add-apt-repository adds
Status in ppa-purge package in Ubuntu:
Triaged
Status in software-properties package in Ubuntu:
Confirmed
Status in ppa-purge source package in Mantic:
Triaged
Status in software-properties source package in Mantic:
Confirmed
Bug description:
Test Case
---------
From Ubuntu 23.10:
sudo apt install hello
sudo add-apt-repository ppa:jbicha/temp
sudo apt upgrade
apt policy hello
sudo ppa-purge ppa:jbicha/temp
apt policy hello
reveals that the PPA version of hello is still installed
Also /etc/apt/sources.list.d/jbicha-ubuntu-temp-mantic.sources
is still present and active
What Should Happen
------------------
ppa-purge should disable the PPA and reinstall any PPA packages with the version apt currently sees.
Background
----------
add-apt-repository creates deb822 sources lists, starting in Ubuntu 23.10
https://discourse.ubuntu.com/t/spec-apt-deb822-sources-by-
default/29333
Other Info
----------
add-apt-repository has a --remove option
But it does not do the reinstall part which is important
Honestly, that feature is so important, I suggest that add-apt-repository take over the functionality of ppa-purge so that we always get the ppa-purge behavior
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ppa-purge/+bug/2036761/+subscriptions
More information about the foundations-bugs
mailing list