ernstp / ppa-mesarc

Scripts for my Mesa Almost Stable Ubuntu ppa
https://launchpad.net/~ernstp/+archive/ubuntu/mesarc
26 stars 1 forks source link

Uninstall ppa-mesarc #18

Closed Hoshi98 closed 1 year ago

Hoshi98 commented 1 year ago

Good day. I install ppa-mesarc on Ubuntu 20.04, thankyou.

Now I want to completly Uninstall this ppa.

Could you give the steps to remove it?

The reason is that i want default graphics drivers same as before. Then i will install corectl without the driver updates.

Thankyou for the work.

ernstp commented 1 year ago

There's lots of ways to do this. For example: https://itsfoss.com/ppa-purge/

You can even just download the correct CoreCtrl deb and install without even enabling the PPA: https://launchpad.net/~ernstp/+archive/ubuntu/mesarc/+packages

dreamcat4 commented 1 year ago

Hello, Just to say I needed to do this today:

And so here's an example terminal output of what it looks like (to do this relevant PPA Purge operation!)

# 1. ensure that the PPA exists, and is valid (maybe can skip, otherwise to add it back)
sudo add-apt-repository -y ppa:ernstp/mesarc

# 2. run 'ppa-purge' command
sudo ppa-purge ppa:ernstp/mesarc
Updating packages lists
PPA to be removed: ernstp mesarc
Package revert list generated:
 libdrm-amdgpu1:amd64/lunar libdrm-amdgpu1:i386/lunar libdrm-common/lunar libdrm-dev:amd64/lunar libdrm-intel1:amd64/lunar libdrm-intel1:i386/lunar libdrm-nouveau2:amd64/lunar 
libdrm-nouveau2:i386/lunar libdrm-radeon1:amd64/lunar libdrm-radeon1:i386/lunar libdrm2:amd64/lunar libdrm2:i386/lunar libegl-mesa0:amd64/lunar libegl-mesa0:i386/lunar 
libegl1-mesa:amd64/lunar libegl1-mesa-dev:amd64/lunar libgbm-dev:amd64/lunar libgbm1:amd64/lunar libgbm1:i386/lunar libgl1-mesa-dev:amd64/lunar libgl1-mesa-dri:amd64/lunar 
libgl1-mesa-dri:i386/lunar libgl1-mesa-glx:amd64/lunar libglapi-mesa:amd64/lunar libglapi-mesa:i386/lunar libglx-mesa0:amd64/lunar libglx-mesa0:i386/lunar libosmesa6:amd64/lunar 
libxatracker2:amd64/lunar mesa-va-drivers:amd64/lunar mesa-vdpau-drivers:amd64/lunar mesa-vulkan-drivers:amd64/lunar xserver-xorg-video-amdgpu/lunar

Disabling ernstp PPA from /etc/apt/sources.list.d.asf.backup.22.04/ernstp-ubuntu-mesarc.list
Disabling ernstp PPA from /etc/apt/sources.list.d/ernstp-ubuntu-mesarc-lunar.list
Disabling ernstp PPA from /etc/apt/sources.list.d.asf.backup/ernstp-ubuntu-mesarc.list
Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mesa-va-drivers is already the newest version (23.0.2-1ubuntu1).
mesa-vulkan-drivers is already the newest version (23.0.2-1ubuntu1).
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm-amdgpu1'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [i386]) for 'libdrm-amdgpu1:i386'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [all]) for 'libdrm-common'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm-dev'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm-intel1'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [i386]) for 'libdrm-intel1:i386'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm-nouveau2'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [i386]) for 'libdrm-nouveau2:i386'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm-radeon1'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [i386]) for 'libdrm-radeon1:i386'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [amd64]) for 'libdrm2'
Selected version '2.4.114-1' (Ubuntu:23.04/lunar [i386]) for 'libdrm2:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libegl-mesa0'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [i386]) for 'libegl-mesa0:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libegl1-mesa'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libegl1-mesa-dev'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libgbm-dev'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libgbm1'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [i386]) for 'libgbm1:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libgl1-mesa-dev'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libgl1-mesa-dri'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [i386]) for 'libgl1-mesa-dri:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libgl1-mesa-glx'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libglapi-mesa'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [i386]) for 'libglapi-mesa:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libglx-mesa0'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [i386]) for 'libglx-mesa0:i386'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libosmesa6'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'libxatracker2'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'mesa-va-drivers'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'mesa-vdpau-drivers'
Selected version '23.0.2-1ubuntu1' (Ubuntu:23.04/lunar [amd64]) for 'mesa-vulkan-drivers'
Selected version '23.0.0-1' (Ubuntu:23.04/lunar [amd64]) for 'xserver-xorg-video-amdgpu'
The following additional packages will be installed:
  libgl1-amber-dri
Suggested packages:
  firmware-amd-graphics
Recommended packages:
  libgl1-amber-dri:i386
The following NEW packages will be installed
  libgl1-amber-dri
The following packages will be DOWNGRADED:
  libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-dev libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386
  libegl-mesa0 libegl-mesa0:i386 libegl1-mesa libegl1-mesa-dev libgbm-dev libgbm1 libgbm1:i386 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libglapi-mesa
  libglapi-mesa:i386 libglx-mesa0 libglx-mesa0:i386 libosmesa6 libxatracker2 mesa-vdpau-drivers xserver-xorg-video-amdgpu
0 to upgrade, 1 to newly install, 31 to downgrade, 0 to remove and 1 not to upgrade.
Need to get 31.2 MB of archives.
After this operation, 10.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]  y

This operation idk YET if has fixed my issue, until I can reboot the system. However quite clearly it needed to be done, to remove these broken pkg conflicts. That had utterly broken my system,

The TLDR is - don't use this PPA. It is pretty high chances of damaging the system. Or many people install the oibaf mesa. Which is also quite high chances of breaking things. Important things!