Hello, sorry for the delay Lucas it's been a hectic few weeks. Here is
my test for the proposed version.

[Testing proposed]

All tests were done in a mantic lxc container. The test ppa used is the
oibaf mesa ppa.

- Make sure the oibaf ppa version of mesa is installed:

root@build-mantic:~# dpkg -l | grep mesa
ii  libegl-mesa0:amd64               24.2~git2404300600.3daee9~oibaf~m       
amd64        free implementation of the EGL API -- Mesa vendor library
ii  libgl1-mesa-dri:amd64            24.2~git2404300600.3daee9~oibaf~m       
amd64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:amd64              24.2~git2404300600.3daee9~oibaf~m       
amd64        free implementation of the GL API -- shared library
ii  libglx-mesa0:amd64               24.2~git2404300600.3daee9~oibaf~m       
amd64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-utils                       9.0.0-1                                 
amd64        Miscellaneous Mesa utilities -- symlinks
ii  mesa-utils-bin:amd64             9.0.0-1                                 
amd64        Miscellaneous Mesa utilities -- native applications
ii  mesa-vulkan-drivers:amd64        24.2~git2404300600.3daee9~oibaf~m       
amd64        Mesa Vulkan graphics drivers

- Make sure the system is fully updated:

root@build-mantic:~# apt update && apt upgrade
Hit:1 http://archive.ubuntu.com/ubuntu mantic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu mantic-proposed InRelease
Hit:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
Hit:6 https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu mantic 
InRelease
Reading package lists... Done                               
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm15
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


- Make sure proposed is enabled and ppa-purge is installed from proposed:

root@build-mantic:~# cat /etc/apt/sources.list | grep proposed
deb http://archive.ubuntu.com/ubuntu mantic-proposed restricted main multiverse 
universe

root@build-mantic:~# apt list ppa-purge
Listing... Done
ppa-purge/mantic-proposed,now 0.2.8+bzr63-0ubuntu1.23.10.1 all [installed]
N: There is 1 additional version. Please use the '-a' switch to see it

- Try removing the oibaf ppa using ppa-purge:

root@build-mantic:~# ppa-purge ppa:oibaf/graphics-drivers
Updating packages lists
PPA to be removed: oibaf graphics-drivers
Package revert list generated:
 libdrm-amdgpu1:amd64/mantic libdrm-common/mantic libdrm-intel1:amd64/mantic 
libdrm-nouveau2:amd64/mantic libdrm-radeon1:amd64/mantic libdrm2:amd64/mantic 
libegl-mesa0:amd64/mantic libgbm1:amd64/mantic libgl1-mesa-dri:amd64/mantic 
libglapi-mesa:amd64/mantic libglx-mesa0:amd64/mantic 
mesa-vulkan-drivers:amd64/mantic

Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [amd64]) for 'libdrm-amdgpu1'
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [all]) for 'libdrm-common'
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [amd64]) for 'libdrm-intel1'
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [amd64]) for 'libdrm-nouveau2'
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [amd64]) for 'libdrm-radeon1'
Selected version '2.4.115-1' (Ubuntu:23.10/mantic [amd64]) for 'libdrm2'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'libegl-mesa0'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'libgbm1'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'libgl1-mesa-dri'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'libglapi-mesa'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'libglx-mesa0'
Selected version '23.2.1-1ubuntu3.1' (Ubuntu:23.10/mantic-updates [amd64]) for 
'mesa-vulkan-drivers'
The following package was automatically installed and is no longer required:
  libllvm16
Use 'apt autoremove' to remove it.
The following packages will be DOWNGRADED:
  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 
libdrm2 libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0
  mesa-vulkan-drivers
0 upgraded, 0 newly installed, 12 downgraded, 0 to remove and 0 not upgraded.
Need to get 20.2 MB of archives.
After this operation, 38.7 MB disk space will be freed.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm2 amd64 
2.4.115-1 [40.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm-common all 
2.4.115-1 [7488 B]
Get:3 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm-intel1 amd64 
2.4.115-1 [65.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm-nouveau2 amd64 
2.4.115-1 [17.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm-radeon1 amd64 
2.4.115-1 [21.0 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libegl-mesa0 
amd64 23.2.1-1ubuntu3.1 [115 kB]
Get:7 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libgbm1 amd64 
23.2.1-1ubuntu3.1 [40.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libglx-mesa0 
amd64 23.2.1-1ubuntu3.1 [153 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 
libgl1-mesa-dri amd64 23.2.1-1ubuntu3.1 [8954 kB]
Get:10 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libglapi-mesa 
amd64 23.2.1-1ubuntu3.1 [40.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdrm-amdgpu1 amd64 
2.4.115-1 [20.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 
mesa-vulkan-drivers amd64 23.2.1-1ubuntu3.1 [10.7 MB]
Fetched 20.2 MB in 8s (2544 kB/s)                                               
                                                                           
dpkg: warning: downgrading libdrm2:amd64 from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
(Reading database ... 51483 files and directories currently installed.)
Preparing to unpack .../00-libdrm2_2.4.115-1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.115-1) over (2.4.120+git2404180500.362b5b~oibaf~m) 
...
dpkg: warning: downgrading libdrm-common from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
Preparing to unpack .../01-libdrm-common_2.4.115-1_all.deb ...
Unpacking libdrm-common (2.4.115-1) over (2.4.120+git2404180500.362b5b~oibaf~m) 
...
dpkg: warning: downgrading libdrm-intel1:amd64 from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
Preparing to unpack .../02-libdrm-intel1_2.4.115-1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.115-1) over 
(2.4.120+git2404180500.362b5b~oibaf~m) ...
dpkg: warning: downgrading libdrm-nouveau2:amd64 from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
Preparing to unpack .../03-libdrm-nouveau2_2.4.115-1_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.115-1) over 
(2.4.120+git2404180500.362b5b~oibaf~m) ...
dpkg: warning: downgrading libdrm-radeon1:amd64 from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
Preparing to unpack .../04-libdrm-radeon1_2.4.115-1_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.115-1) over 
(2.4.120+git2404180500.362b5b~oibaf~m) ...
dpkg: warning: downgrading libegl-mesa0:amd64 from 
24.2~git2404300600.3daee9~oibaf~m to 23.2.1-1ubuntu3.1
Preparing to unpack .../05-libegl-mesa0_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libegl-mesa0:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
dpkg: warning: downgrading libgbm1:amd64 from 24.2~git2404300600.3daee9~oibaf~m 
to 23.2.1-1ubuntu3.1
Preparing to unpack .../06-libgbm1_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libgbm1:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
dpkg: warning: downgrading libglx-mesa0:amd64 from 
24.2~git2404300600.3daee9~oibaf~m to 23.2.1-1ubuntu3.1
Preparing to unpack .../07-libglx-mesa0_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
dpkg: warning: downgrading libgl1-mesa-dri:amd64 from 
24.2~git2404300600.3daee9~oibaf~m to 23.2.1-1ubuntu3.1
Preparing to unpack .../08-libgl1-mesa-dri_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
dpkg: warning: downgrading libglapi-mesa:amd64 from 
24.2~git2404300600.3daee9~oibaf~m to 23.2.1-1ubuntu3.1
Preparing to unpack .../09-libglapi-mesa_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
dpkg: warning: downgrading libdrm-amdgpu1:amd64 from 
2.4.120+git2404180500.362b5b~oibaf~m to 2.4.115-1
Preparing to unpack .../10-libdrm-amdgpu1_2.4.115-1_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.115-1) over 
(2.4.120+git2404180500.362b5b~oibaf~m) ...
dpkg: warning: downgrading mesa-vulkan-drivers:amd64 from 
24.2~git2404300600.3daee9~oibaf~m to 23.2.1-1ubuntu3.1
Preparing to unpack .../11-mesa-vulkan-drivers_23.2.1-1ubuntu3.1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (23.2.1-1ubuntu3.1) over 
(24.2~git2404300600.3daee9~oibaf~m) ...
Setting up libglapi-mesa:amd64 (23.2.1-1ubuntu3.1) ...
Setting up libdrm-common (2.4.115-1) ...
Setting up libdrm2:amd64 (2.4.115-1) ...
Setting up libdrm-amdgpu1:amd64 (2.4.115-1) ...
Setting up mesa-vulkan-drivers:amd64 (23.2.1-1ubuntu3.1) ...
Setting up libdrm-nouveau2:amd64 (2.4.115-1) ...
Setting up libgbm1:amd64 (23.2.1-1ubuntu3.1) ...
Setting up libdrm-radeon1:amd64 (2.4.115-1) ...
Setting up libdrm-intel1:amd64 (2.4.115-1) ...
Setting up libgl1-mesa-dri:amd64 (23.2.1-1ubuntu3.1) ...
Setting up libegl-mesa0:amd64 (23.2.1-1ubuntu3.1) ...
Setting up libglx-mesa0:amd64 (23.2.1-1ubuntu3.1) ...
Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
Scanning processes...                                                           
                                                                            
Scanning candidates...                                                          
                                                                            

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
PPA purged successfully


- As we can see from previous step ppa-purge successfully ran.
- Confirm that the mesa packages have been downgraded:

root@build-mantic:~# dpkg -l | grep mesa
ii  libegl-mesa0:amd64               23.2.1-1ubuntu3.1                       
amd64        free implementation of the EGL API -- Mesa vendor library
ii  libgl1-mesa-dri:amd64            23.2.1-1ubuntu3.1                       
amd64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:amd64              23.2.1-1ubuntu3.1                       
amd64        free implementation of the GL API -- shared library
ii  libglx-mesa0:amd64               23.2.1-1ubuntu3.1                       
amd64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-utils                       9.0.0-1                                 
amd64        Miscellaneous Mesa utilities -- symlinks
ii  mesa-utils-bin:amd64             9.0.0-1                                 
amd64        Miscellaneous Mesa utilities -- native applications
ii  mesa-vulkan-drivers:amd64        23.2.1-1ubuntu3.1                       
amd64        Mesa Vulkan graphics drivers

- As we can see from the above output, ppa-purge was successful in downgrading 
mesa
- Verify that the oibaf ppa has been disabled:

root@build-mantic:~# cat 
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-mantic.sources | grep 
Enabled
Enabled: no

root@build-mantic:~# apt update
Hit:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu mantic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu mantic-proposed InRelease
Hit:4 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.


- We can see that the oibaf ppa was successfully disabled and that the ppa is 
not used by apt update.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released
Status in software-properties package in Ubuntu:
  Confirmed
Status in ppa-purge source package in Mantic:
  Fix Committed
Status in software-properties source package in Mantic:
  Confirmed
Status in ppa-purge source package in Noble:
  Fix Released
Status in software-properties source package in Noble:
  Confirmed

Bug description:
  Thank you @jbicha for the original bug report!

  [ Impact ]

  Currently ppa-purge fails to purge packages on distribution using the deb822 
source format. Currently mantic and noble make use of this format and are 
affected by this issue.
  When running ppa-purge to remove a custom PPA, ppa-purge fails to disable the 
custom PPA since it cannot disable deb822 sources and leads to apt still 
querying the ppa when running:

  $ apt update

  In older versions of ubuntu, PPAs used the ".list" format which could be 
disabled by simply commenting out the "deb" line with a "#". This was the 
method that ppa-purge used to disable PPAs.
  This new patch allows ppa-purge to detect and disable deb822 source files by 
adding an "Enabled: no" field in each component section of the deb822 file. It 
also removes any line that starts with "Enabled:"
  to make sure the resulting file is clean.

  [ Test Plan ]

  The changes were tested on both mantic and noble in a lxc container using the 
oibaf mesa PPA (https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers) 
as the test PPA.
  The following steps were recorded in a noble lxc container.

   - First make sure that mesa-utils is installed in your environment:
      $ sudo apt update && sudo apt install mesa-utils

   - Add the oibaf PPA to your system using the following command:
      $ sudo add-apt-repository ppa:oibaf/graphics-drivers

   - Make sure that the mesa-utils packages were upgraded after adding the PPA:
      $ sudo apt update && sudo apt upgrade
      $ dpkg - l | grep mesa

   - output should be similar to the following:

      ii  libegl-mesa0:amd64              24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the EGL API -- Mesa vendor library
      ii  libgl1-mesa-dri:amd64           24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the OpenGL API -- DRI modules
      ii  libglapi-mesa:amd64             24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the GL API -- shared library
      ii  libglx-mesa0:amd64              24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the OpenGL API -- GLX vendor library
      ii  mesa-utils                      9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- symlinks
      ii  mesa-utils-bin:amd64            9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- native applications
      ii  mesa-vulkan-drivers:amd64       24.1~git2402280600.41722c~oibaf~n     
  amd64        Mesa Vulkan graphics drivers


   - Install and run ppa-purge:
      $ sudo apt install ppa-purge
      $ sudo ppa-purge ppa:oibaf/graphics-drivers

   - ppa-purge will report at the end that none of the oibaf packages
  need to be downgraded/removed:

      ....
      libglapi-mesa is already the newest version 
(24.1~git2402280600.41722c~oibaf~n).
      libglapi-mesa set to manually installed.
      libglx-mesa0 is already the newest version 
(24.1~git2402280600.41722c~oibaf~n).
      libglx-mesa0 set to manually installed.
      mesa-vulkan-drivers is already the newest version 
(24.1~git2402280600.41722c~oibaf~n).
      mesa-vulkan-drivers set to manually installed.
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libdrm-amdgpu1'
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [all]) for 'libdrm-common'
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libdrm-intel1'
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libdrm-nouveau2'
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libdrm-radeon1'
      Selected version '2.4.120+git2402271331.1b4e04~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libdrm2'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libegl-mesa0'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libgbm1'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libgl1-mesa-dri'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libglapi-mesa'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'libglx-mesa0'
      Selected version '24.1~git2402280600.41722c~oibaf~n' (Updated Open 
Graphics Drivers - since 2011!:24.04/noble [amd64]) for 'mesa-vulkan-drivers'
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      PPA purged successfully

  - And indeed none got modified:
      $ dpkg -l | grep mesa

      ii  libegl-mesa0:amd64              24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the EGL API -- Mesa vendor library
      ii  libgl1-mesa-dri:amd64           24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the OpenGL API -- DRI modules
      ii  libglapi-mesa:amd64             24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the GL API -- shared library
      ii  libglx-mesa0:amd64              24.1~git2402280600.41722c~oibaf~n     
  amd64        free implementation of the OpenGL API -- GLX vendor library
      ii  mesa-utils                      9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- symlinks
      ii  mesa-utils-bin:amd64            9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- native applications
      ii  mesa-vulkan-drivers:amd64       24.1~git2402280600.41722c~oibaf~n     
  amd64        Mesa Vulkan graphics drivers

  - After installing the new ppa-purge deb:
      $ dpkg -l | grep ppa-purge
      ii  ppa-purge                       0.2.8+bzr63-0ubuntu2                  
  all          disables a PPA and reverts to official packages

  - Runnin ppa-purge again
      $ sudo ppa-purge ppa:oibaf/graphics-drivers

  - We can see the following output:

      Updating packages lists
      PPA to be removed: oibaf graphics-drivers
      Package revert list generated:
      libdrm-amdgpu1:amd64/noble libdrm-common/noble libdrm-intel1:amd64/noble 
libdrm-nouveau2:amd64/noble libdrm-radeon1:amd64/noble libdrm2:amd64/noble
      libegl-mesa0:amd64/noble libgbm1:amd64/noble libgl1-mesa-dri:amd64/noble 
libglapi-mesa:amd64/noble libglx-mesa0:amd64/noble 
mesa-vulkan-drivers:amd64/noble

      Updating packages lists
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [amd64]) for 
'libdrm-amdgpu1'
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [all]) for 
'libdrm-common'
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [amd64]) for 
'libdrm-intel1'
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [amd64]) for 
'libdrm-nouveau2'
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [amd64]) for 
'libdrm-radeon1'
      Selected version '2.4.120-2' (Ubuntu:24.04/noble [amd64]) for 'libdrm2'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'libegl-mesa0'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'libgbm1'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'libgl1-mesa-dri'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'libglapi-mesa'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'libglx-mesa0'
      Selected version '24.0.1-1ubuntu1' (Ubuntu:24.04/noble [amd64]) for 
'mesa-vulkan-drivers'
      The following packages will be DOWNGRADED:
      libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 
libdrm2 libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0
      mesa-vulkan-drivers
      0 upgraded, 0 newly installed, 12 downgraded, 0 to remove and 0 not 
upgraded.
      Need to get 0 B/20.5 MB of archives.
      After this operation, 36.1 MB disk space will be freed.
      Do you want to continue? [Y/n]

  - After downgrading the packages:
      $ dpkg -l | grep mesa

      ii  libegl-mesa0:amd64              24.0.1-1ubuntu1                       
  amd64        free implementation of the EGL API -- Mesa vendor library
      ii  libgl1-mesa-dri:amd64           24.0.1-1ubuntu1                       
  amd64        free implementation of the OpenGL API -- DRI modules
      ii  libglapi-mesa:amd64             24.0.1-1ubuntu1                       
  amd64        free implementation of the GL API -- shared library
      ii  libglx-mesa0:amd64              24.0.1-1ubuntu1                       
  amd64        free implementation of the OpenGL API -- GLX vendor library
      ii  mesa-utils                      9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- symlinks
      ii  mesa-utils-bin:amd64            9.0.0-2                               
  amd64        Miscellaneous Mesa utilities -- native applications
      ii  mesa-vulkan-drivers:amd64       24.0.1-1ubuntu1                       
  amd64        Mesa Vulkan graphics drivers

  - This confirms that the packages were indeed downgraded. We can also check 
from the sources file that it was indeed disabled with "Enabled: no":
      $ cat /etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-noble.sources

      Types: deb
      URIs: https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/
      Suites: noble
      Components: main
      Enabled: no
      Signed-By:
      -----BEGIN PGP PUBLIC KEY BLOCK-----
      ...

  - Running sudo apt update also shows that the oibaf PPA URL is not
  being queried:

      root@build-noble:~# sudo apt update
      Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
      Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
      Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
      Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.

  
  [ Where problems could occur ]
  - Patch could fail to disable the PPA if an "Enabled: yes" entry was not 
detected and removed or if no Components line was found. This would cause 
ppa-purge to fails again in the same manner it is currently failing.
  - The patch could also fail to detect the file in its entirety if the file 
name does not end with ".sources" or if its name does not follow the pattern 
$PPAOWNER/$PPANAME


  
  [Original 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to