I am having issues after sudo apt upgrade failed to install complete packages. I tried purging the ppa to revert the drivers to no avial.
Correcting dependencies... failed. The following packages have unmet dependencies: libgl1-mesa-dri : Depends: libdrm-amdgpu1 (>=
2.4.85+git1710271830.33dcc2~gd~a) but 2.4.83-1 is installed mesa-va-drivers : Depends: libdrm-amdgpu1 (>=
2.4.85+git1710271830.33dcc2~gd~a) but 2.4.83-1 is installed mesa-vdpau-drivers : Depends: libdrm-amdgpu1 (>=
2.4.85+git1710271830.33dcc2~gd~a) but 2.4.83-1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
$ sudo dpkg --purge libdrm-common dpkg: warning: ignoring request to remove libdrm-common which isn't installed
$ sudo ppa-purge ppa:oibaf/graphics-drivers Updating packages lists PPA to be removed: oibaf graphics-drivers
Warning: Could not find package list for PPA: oibaf graphics-drivers
I tried purging and re-adding the ppa several times. I tried "-f install", "autoremove", "pkg --configure -a".
I tried fixing in synaptic, only to find more errors.
All I want to do at this point is get rid of this ppa & revert to the old packages.
I believe my problem lies here:
Preparing to unpack .../libdrm-amdgpu1_2.4.85+git1710311403.33dcc2~gd~a_amd64.deb ... Unpacking libdrm-amdgpu1:amd64 (2.4.85+git1710311403.33dcc2~gd~a) over (2.4.83-1) ... dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.85+git1710311403.33dcc2~gd~a_amd64.deb (--unpack): trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common 2.4.85+git1710311403.33dcc2~gd~a Errors were encountered while processing: /var/cache/apt/archives/libdrm-amdgpu1_2.4.85+git1710311403.33dcc2~gd~a_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
The Oibaf PPA is here.
Screenshot after purging the PPA:
EDIT:I have since wiped my hard drive and re-installed Ubuntu 17.10. And, I found a post explaining, "How To Install The Latest AMDGPU-PRO Drivers On Linux" but, I have not attempted to try it yet.
ppa-purge
and run it against the same PPA you added. It will: 1. Remove the PPA and 2. Remove or downgrade any packages installed via that PPA. – Nov 01 '17 at 05:19