fglrx fails to install in lucid

Bug #546917 reported by Ian P. Christian
150
This bug affects 35 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: fglrx

# apt-get install fglrx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fglrx-amdcccle
The following NEW packages will be installed
  fglrx fglrx-amdcccle
0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B/34.3MB of archives.
After this operation, 109MB of additional disk space will be used.
Do you want to continue [Y/n]? yes
(Reading database ... 148642 files and directories currently installed.)
Unpacking fglrx (from .../fglrx_2%3a8.721-0ubuntu5_amd64.deb) ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/lib/xorg/modules/extensions/libdri.so to /usr/lib/fglrx/libdri.so.xlibmesa by fglrx'
  found `diversion of /usr/lib/xorg/modules/extensions/libdri.so to /usr/lib/fglrx/libdri.so.xlibmesa by xorg-driver-fglrx'
dpkg: error processing /var/cache/apt/archives/fglrx_2%3a8.721-0ubuntu5_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Selecting previously deselected package fglrx-amdcccle.
Unpacking fglrx-amdcccle (from .../fglrx-amdcccle_2%3a8.721-0ubuntu5_amd64.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx_2%3a8.721-0ubuntu5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
Architecture: amd64
Date: Thu Mar 25 13:55:54 2010
DistroRelease: Ubuntu 10.04
DkmsStatus:

GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
Package: fglrx (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=e85f86dd-3cd4-45e0-9965-cf49af398cf4 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: fglrx-installer
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 06/08/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: AA8 (Intel 925X-ICH6R)
dmi.board.vendor: http://www.abit.com.tw/
dmi.board.version: 1.x
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd06/08/2006:svn:pn:pvr:rvnhttp//www.abit.com.tw/:rnAA8(Intel925X-ICH6R):rvr1.x:cvn:ct3:cvr:
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-16-generic

Revision history for this message
Ian P. Christian (pookey) wrote :
Revision history for this message
David Mack (barid42) wrote :

May be helpful:

I recently (as in 5 minutes ago) muddled through installing fglrx on a home-spun Karmic using the Lucid kernel. After initial installation, I found that X was terribly broken, flickering and near unusable.

I booted a LiveCD (aka the best tool EVER) and inspected my xorg.conf. No problems there. I traced the issue back to a blacklist in /etc/modprobe.d. Seems radeon likes to blacklist fglrx and fglrx likes to blacklist radeon, so I was running basically without a driver for a short time.

I removed both blacklistings (#commented out), reinstalled fglrx driver from the latest download from ATI (10-3), then rebooted. This time I manually configured my xorg.conf to get rid of any reference to radeon, and Presto!

Prior to all that miscellany, I had been getting similar errors to those you describe. I wish I had written down all of the individual steps I took, so that they could be repeated better, but I am new to debugging.

Cheers!
Dave

Revision history for this message
David Mack (barid42) wrote :

Did that help?

Revision history for this message
Ian P. Christian (pookey) wrote : Re: [Bug 546917] Re: fglrx fails to install in lucid

oh sorry - I didn't notice this was a personal message, thought it was
on the bug ticket ;)

It's my work machine, and it was not in a good state when I left it on
thursday (friday was a holiday for me) - I think I need to re-install
it having done something which means I can't get X to start at all
anymore, no matter what driver I attempt to use, it will hang the
local machine, meaning I have to SSH in, or completly crash the box!

Meh...

Thanks anyway :)

On 26 March 2010 02:32, David Mack <email address hidden> wrote:
> May be helpful:
>
> I recently (as in 5 minutes ago) muddled through installing fglrx on a
> home-spun Karmic using the Lucid kernel. After initial installation, I
> found that X was terribly broken, flickering and near unusable.
>
> I booted a LiveCD (aka the best tool EVER) and inspected my xorg.conf.
> No problems there. I traced the issue back to a blacklist in
> /etc/modprobe.d. Seems radeon likes to blacklist fglrx and fglrx likes
> to blacklist radeon, so I was running basically without a driver for a
> short time.
>
> I removed both blacklistings (#commented out), reinstalled fglrx driver
> from the latest download from ATI (10-3), then rebooted. This time I
> manually configured my xorg.conf to get rid of any reference to radeon,
> and Presto!
>
> Prior to all that miscellany, I had been getting similar errors to those
> you describe. I wish I had written down all of the individual steps I
> took, so that they could be repeated better, but I am new to debugging.
>
> Cheers!
> Dave
>
> --
> fglrx fails to install in lucid
> https://bugs.launchpad.net/bugs/546917
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Blog: http://pookey.co.uk/blog
Follow me on twitter: http://twitter.com/ipchristian

Revision history for this message
Eric Hough (k2eric) wrote :

Workaround:

# apt-get remove xorg-driver-fglrx fglrx fglrx-amdcccle
# dpkg-divert --remove /usr/lib/xorg/modules/extensions/libdri.so
# dpkg-divert --remove /usr/lib/xorg/modules/extensions/libglx.so
# apt-get install fglrx

You can then activate the driver from System > Administration > Hardware Drivers. Spent the better half of my morning working on this. Fun!

Revision history for this message
Kaktuspalme (martin-buerge) wrote :

Eric Hough, thanks for this. That did it.

How have you found the solution? When i tried installing with dpkg it just said subprocess failed, nothing else.

Regards

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

Can confirm this on two different laptops upgraded from karmic to lucid.

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

Can also confirm that the workaround works.

Revision history for this message
Holy (shaohua-wen) wrote :

Can confirm this on my lenovo thinkpad t400 laptop, and confirm Eric Hough's workaround works! Thanks!

Revision history for this message
pamindic (pam-indicia) wrote :

Eric Hough's workaround worked for me. The second two lines did nothing, and I had to do it a couple of times.

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.