package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2

Bug #626027 reported by Jeremy Yoder on 2010-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
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
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: fglrx
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=/boot/vmlinuz-2.6.32-24-generic root=UUID=e536d4cc-6673-44cb-aadf-d13a603d7c40 ro quiet splash
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:bvnAwardSoftwareInternational,Inc.:bvrF1:bd12/31/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA790GP-UD4H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA790GP-UD4H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
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

Jeremy Yoder (jyoder) wrote :
Jeremy Yoder (jyoder) wrote :

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:
sudo dpkg-divert --remove /usr/lib32/libGL.so.1.2
sudo dpkg-divert --remove /usr/lib/libGL.so.1.2

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers