package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Immediately after upgrading from 9.10 to 10.04.1, VDPAU acceleration wasn't working within XBMC so I attempted to uninstall the fglrx proprietary driver and got this failure.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx 2:8.723.1-0ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelMo
AptOrdering:
xorg-driver-fglrx: Remove
fglrx-amdcccle: Remove
fglrx: Remove
Architecture: amd64
Date: Sat Aug 28 17:26:09 2010
ErrorMessage: subprocess installed post-removal script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Gigabyte Technology Co., Ltd. GA-MA790GP-UD4H
ProcCmdLine: BOOT_IMAGE=
SourcePackage: fglrx-installer
Title: package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2
dmi.bios.date: 12/31/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F1
dmi.board.name: GA-MA790GP-UD4H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: GA-MA790GP-UD4H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
system:
distro: Ubuntu
codename: lucid
architecture: x86_64
kernel: 2.6.32-24-generic
It looks to me like the problem was with xorg-driver-fglrx, which still had some diversions registered for /usr/lib32/ libGL.so. 1.2 and /usr/lib/ libGL.so. 1.2 despite it no longer being a real package. So when fglrx tried to restore the libGL.so stuff it failed causing the entire uninstall to fail.
I resolved the problem by forcing a reinstall of fglrx then manually running: libGL.so. 1.2 libGL.so. 1.2
sudo dpkg-divert --remove /usr/lib32/
sudo dpkg-divert --remove /usr/lib/
Then I was able to uninstall fglrx successfully.
VDPAU still isn't working even with the newer fglrx driver, but that's a different problem I believe.