Removal of mesa drivers

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
fbranki

Removal of mesa drivers

Post by fbranki »

a few weeks ago I installed the mesa drivers using the command:
sudo apt-add-repository ppa:paulo-miguel-dias/mesa
sudo apt update
sudo apt install xserver-xorg-video-amdgpu mesa-utils
now my update does not install the libdrm package
my graphics card is old so now I know it's a mistake to install a new driver that does not support my graphics card
when I update my libdrm package it gives the following error
E: /var/cache/apt/archives/libdrm-common_2.4.88+git1711071511.cfe0ae5~x~padoka0_all.deb: trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-amdgpu1:amd64 2.4.85+git1710261343.61ff977~x~padoka0
how do I uninstall it and purge all this so that my system updates the libdrm package and not worry about driver's problem. Thank you in advance for your help!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ClixTrix

Re: Removal of mesa drivers

Post by ClixTrix »

The PPA site has reversion instructions including specific to removal from MINT.

https://launchpad.net/~paulo-miguel-dia ... buntu/mesa
fbranki

Re: Removal of mesa drivers

Post by fbranki »

Thank you for your promp answer but that didn't work it says ppa-purge command not found.
ClixTrix

Re: Removal of mesa drivers

Post by ClixTrix »

Did you install ppa-purge, per instructions?
User avatar
Pjotr
Level 24
Level 24
Posts: 20072
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Removal of mesa drivers

Post by Pjotr »

Easier method to try: launch the application Software Sources. Click on the PPA button and remove the PPA. Then click on the Maintenance button: one of the options should be the removal of foreign packages.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
minitux

Re: Removal of mesa drivers

Post by minitux »

Code: Select all

sudo dpkg -i --force-overwrite
/var/cache/apt/archives/libdrm-common_2.4.88+git1711071511.cfe0ae5~x~padoka0_all.deb

Code: Select all

sudo apt-get install -f
mr_raider
Level 7
Level 7
Posts: 1897
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: Removal of mesa drivers

Post by mr_raider »

ClixTrix wrote:Did you install ppa-purge, per instructions?
DO NOT use that command in Mint. Use the software sources tool to downgrade foreign packages.
Image
Locked

Return to “Hardware Support”