0


OS: Ubuntu Precise 12.04 LTS 64 bit
Kernel : 3.5.0-27-generic
Header files:

dpkg -s linux-headers-$(uname -r)
Package: linux-headers-3.5.0-27-generic
Status: install ok installed

deb packages build successfully via :

sudo sh amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.run --buildpkg Ubuntu/precise

But when I try to install sudo apt-get install fglrx*.deb I see it is unable to find linux header files.

dpkg: dependency problems prevent configuration of fglrx: fglrx
depends on linux-headers-generic | linux-headers; however: Package
linux-headers-generic is not installed. Package linux-headers is not
installed.

It seems it is looking for 3.2.x kernel header files which are default for 12.04

How to resolve this issue?

1 Answers1

0

You need to install the linux-headers-generic package, a meta-package that always points to the latest generic kernel header available. fglrx depends on this package.

sudo apt-get install linux-headers-generic

There are good instructions for building and installing the AMD drivers (albeit, written for Quantal) at Ubuntu Quantal Installation Guide. It gives the prerequisites as:

sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot

Plus sudo apt-get install lib32gcc1 when using 64-bit.

Note that the list includes linux-headers-generic, not the specific name of the latest generic headers package.

For additional detailed information on installing video drivers, see:

Which driver should I install when using an Nvidia, Ati or Intel video card

chaskes
  • 15,536