package fglrx 2:8.723.1-0ubuntu2 failed to REMOVE: error exit status 2 - dpkg-divert: mismatch on package - while removing the package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Lucid |
Fix Released
|
High
|
Alberto Milone | ||
Natty |
Fix Released
|
High
|
Alberto Milone |
Bug Description
I got this error when trying to remove the ATI/AMD proprietary FGLRX graphics driver. Despite the error the driver appears to be "not activated" after removal.
== Workaround ==
Open a terminal and run the following commands:
$ sudo dpkg-divert --remove /usr/lib/
You can then remove the driver with:
$ sudo apt-get --purge remove fglrx-kernel-source fglrx-modaliases xorg-driver-fglrx fglrx-amdcccle libamdxvba1
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.723.1-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
AptOrdering:
fglrx-amdcccle: Remove
fglrx: Remove
Architecture: amd64
Date: Mon Apr 19 08:27:03 2010
DkmsStatus:
ErrorMessage: subprocess installed post-removal script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: ASUSTeK Computer Inc. F3Sa
ProcCmdLine: BOOT_IMAGE=
SourcePackage: fglrx-installer
Title: package fglrx 2:8.723.1-0ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2
dmi.bios.date: 02/12/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 303
dmi.board.
dmi.board.name: F3Sa
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: F3Sa
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
glxinfo:
Error: couldn't find RGB GLX visual or fbconfig
name of display: :0.0
system:
distro: Ubuntu
codename: lucid
architecture: x86_64
kernel: 2.6.32-21-generic
description: | updated |
description: | updated |
Changed in fglrx-installer (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in fglrx-installer (Ubuntu Natty): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in fglrx-installer (Ubuntu Natty): | |
status: | Triaged → In Progress |
Changed in fglrx-installer (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04.2 |
Changed in fglrx-installer (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.2 → ubuntu-10.04.3 |
Changed in fglrx-installer (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.3 → ubuntu-10.04.4 |
I had the similar issue trying to remove the fglrx driver after the upgrate from 9.10 to 10.04 RC.
fglrx was installed in 9.10 (from ubuntu repo, of course), I've performed the upgrade, then I've tried to remove fglrx using jockey utility.
Trying to remove the package from command line, I've
Removing fglrx ... libGL.so. 1.2 to /usr/lib/ fglrx/libGL. so.1.2. xlibmesa by fglrx' libGL.so. 1.2 to /usr/lib/ fglrx/libGL. so.1.2. xlibmesa by xorg-driver-fglrx'
dpkg-divert: mismatch on package
when removing `diversion of /usr/lib/
found `diversion of /usr/lib/
dpkg: error processing fglrx (--remove):
subprocess installed post-removal script returned error exit status 2
Processing triggers for ureadahead ...