package xorg-driver-fglrx 7.1.0-8.42.3+2.6.22.5-14.1 failed to install/upgrade: subprocess post-removal script returned error exit status 2

Bug #175789 reported by Stephen Cradock
32
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Testing Hardy, I have the 8.42.3 fglrx driver as supplied by Restricted Manager. I've been noticing that a variety of programs fail to run with console messages about Bad GL Context, so I thought I would remove the fglrx driver and see if the system worked well with Mesa drivers.

The bug I'm reporting is that the removal of xorg-driver-fglrx by Restricted Manager failed, generating an error message and an error report. This in turn failed to complete, but left me in Launchpad with a partial report. I'm trying to give some context.

To return to the original Bad GL Context bug, I get it whenever i try to run anything that runs diagnostics on the video driver, like fglrxinfo or glxinfo, or glxgears. It also appears when I try to run Wine, which is therefore unusable.

ProblemType: Package
Architecture: i386
Date: Tue Dec 11 21:08:23 2007
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-removal script returned error exit status 2
NonfreeKernelModules: fglrx
Package: xorg-driver-fglrx 7.1.0-8.42.3+2.6.22.5-14.1
PackageArchitecture: i386
SourcePackage: linux-restricted-modules-2.6.22
Title: package xorg-driver-fglrx 7.1.0-8.42.3+2.6.22.5-14.1 failed to install/upgrade: subprocess post-removal script returned error exit status 2
Uname: Linux sc-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Revision history for this message
Stephen Cradock (s-cradock) wrote :
Revision history for this message
Stephen Cradock (s-cradock) wrote :

Confirming that removing the Restricted driver package did correct the Bad GL Context failures. glxinfo, glxgears and Wine all run correctly now.

Next step will be to ask RDriverManager to put it back, and see if the original error returns.

Revision history for this message
Stephen Cradock (s-cradock) wrote :

After failed attempt to remove xorg-driver-fglrx using Restricted Drivers manager the Update manager reports the Software index is broken and refuses to run. Trying to remove xorg-driver-fglrx using "sudo apt-get install -f" as advised in the error box from Update Manager results in a similar error message. Looking in Synaptic I see the driver marked for removal, but cannot remove it.

Now I am unable to update. Wine and other programs run OK with the Mesa driver, but the un-removed xorg-driver-fglrx is preventing any changes to my software.

Help please! This driver package is supplied as part of Ubuntu Hardy and neither runs correctly when installed using Restricted Driver Manager nor removes correctly. I know the Ubuntu developers cannot do anything about the memory leaks in the driver itself, but surely the package should install and remove without causing problems.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Have you had 'envy' or similar installed on your system?

Changed in linux-restricted-modules-2.6.22:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-restricted-modules-2.6.24 - 2.6.24.9-8.20

---------------
linux-restricted-modules-2.6.24 (2.6.24.9-8.20) hardy; urgency=low

  [ Timo Aaltonen ]
  * nvidia-glx*:
    - When using the nvidia-settings binary for storing
      values in xorg.conf it clutters up the file with unneeded settings,
      and some are just plain wrong nowadays (the mouse device for
      instance). So, don't ship the version included in the drivers, instead
      Suggest nvidia-settings -package (again), and fix the issues there.
    - Don't ship nvidia-settings.desktop, only the .png file.
      Nvidia-settings will include the desktop-file.
  * rules:
    - Enable fglrx for -rt (LP: #182242)
  * rules, control.stub.in:
    - Enable -server flavor. (LP: #153011)
  * dvb:
    - Add dvb-usb-bluebird-01.fw (LP: #90723)
    - Add dvb-fe-tda10046.fw (LP: #107090)
  * ati: Update fglrx to 8-02. (LP: #173663, #189772)
  * {nvidia-glx,nvidia-glx-dev,xorg-driver-fglrx}.postrm.in
    - Check that the diverted file actually belongs to the current package
      before trying to remove the diversion. Thanks to Kirk Turner and
      Alberto Milone for patches, and Michael Vogt for review!
      (LP: #36625, #130208, #175789)
  * nvidia-glx.{preinst,postrm}.in, rules:
    - Fix the path of libglx.so.
  * rules:
    - Unexport CFLAGS and LDFLAGS to cope with the new dpkg-buildpackage.

  [ Alberto Milone ]
  * debian/lrm-video: Add support for EnvyNG.

 -- Timo Aaltonen <email address hidden> Thu, 14 Feb 2008 17:57:44 +0200

Changed in linux-restricted-modules-2.6.24:
status: Incomplete → Fix Released
Revision history for this message
Olivier (1toumou1) wrote :

i have too this problem

Revision history for this message
Metylerdurden (soldiertoddopos24536) wrote :

Cannot reinstall , upgrade or uninstall the Xorg-driver. Other than that I am fine..

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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