package fglrx 2:8.723.1-0ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2 - dpkg-divert: mismatch on package when removing diversion

Bug #564593 reported by XxRa3eDxX
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Confirmed
High
Unassigned

Bug Description

[Problem]
In certain circumstances, such as uninstalling fglrx, the installer gets confused by the alternatives diversions, and issues an error such as below.

[Original Report]
i have a problem with my card

i'm logged in recovery mode now

i try to active my ati mobility Radeon card hd 4570

Removing fglrx ...
Removing all DKMS Modules
Done.
update-alternatives: removing manually selected alternative - switching gl_conf to auto mode
update-alternatives: using /usr/lib/mesa/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
dpkg-divert: mismatch on package
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by fglrx'
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'
dpkg: error processing fglrx (--purge):
 subprocess installed post-removal script returned error exit status 2

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.723.1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Fri Apr 16 13:43:55 2010
DkmsStatus: virtualbox-ose, 3.1.6, 2.6.32-21-generic, x86_64: installed
ErrorMessage: subprocess installed post-removal script returned error exit status 2
GdmLog1:

InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: TOSHIBA Satellite A505
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=be001aaf-00d6-4a28-8a2d-4521c6e9dae4 ro single
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: 09/15/2009
dmi.bios.vendor: INSYDE
dmi.bios.version: 1.70
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDE:bvr1.70:bd09/15/2009:svnTOSHIBA:pnSatelliteA505:pvrPSAP3U-01G00C:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Satellite A505
dmi.product.version: PSAP3U-01G00C
dmi.sys.vendor: TOSHIBA
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-21-generic

Revision history for this message
XxRa3eDxX (xxra3edxx) wrote :
Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
visibility: private → public
Bryce Harrington (bryce)
description: updated
summary: package fglrx 2:8.723.1-0ubuntu2 failed to install/upgrade: subprocess
- installed post-removal script returned error exit status 2
+ installed post-removal script returned error exit status 2 - dpkg-
+ divert: mismatch on package when removing diversion
Bryce Harrington (bryce)
description: updated
Changed in fglrx-installer (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

From one of the dupes:
"""
fglrx stopped working after upgrade from 8.04 to 10.04
fglrx was partially removed (no longer used as graphics driver) with:
'sudo apt-get remove --purge xorg-driver-fglrx fglrx*'
 allowing installation of open source ati graphics driver which is working,
however the synaptic package manager is now effectively broken since it always tries to remove fglrs first, fails and quits without doing anything else.
'sudo apt-get remove --purge fglrx*' also fails to remove fglrx.
I am about to do a complete re-installation of 10.04 from CD, which should fix the problem.
"""

Changed in fglrx-installer (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Bryce Harrington (bryce) wrote :

@Alberto, would you mind looking into this? It's some sort of failure that occurs when uninstalling fglrx on Lucid.

We're still seeing bug reports coming in about this issue (recent bugs #771354 and #767788)

Changed in fglrx-installer (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
milestone: none → ubuntu-10.04.3
Bryce Harrington (bryce)
Changed in fglrx-installer (Ubuntu):
status: Triaged → Confirmed
Colin Watson (cjwatson)
Changed in fglrx-installer (Ubuntu):
milestone: ubuntu-10.04.3 → ubuntu-10.04.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.