LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem with installing video drivers (https://www.linuxquestions.org/questions/debian-26/problem-with-installing-video-drivers-809702/)

Tribulation 05-23-2010 11:20 PM

Problem with installing video drivers
 
I recently installed Debian Squeeze and am having a bit of a problem. I downloaded my video driver from ATI's site and ran the installer. However, I got an error which stated: DKMS part of installation failed. Please refer to /usr/share/ati/fglrx-install.log for details

So I inspected it amongst the information I found:

[Error] Kernel Module : Failed to build fglrx-8.723 with DKMS


I've also gotten this error before (doing what, I can't remember anymore, I've done so much in the past several hours)

Code:

Error! Your kernel headers for kernel 2.6.32-trunk-amd64 cannot be found at
/lib/modules/2.6.32-trunk-amd64/build or /lib/modules/2.6.32-trunk-amd64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-trunk-amd64 package.
dpkg: error processing fglrx-modules-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up module-assistant (0.11.3) ...
Errors were encountered while processing:
fglrx-modules-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm guessing that kernel 2.6.32-trunk-amd64 is the crux of the problem. I can't seem to find any information about it online. Any help would be greatly appreciated.

Mr-Bisquit 05-24-2010 12:07 AM

Go to debian forums
don't join
search howtos
there

evo2 05-24-2010 12:07 AM

Do you have the linux-headers package corresponding to your kernel installed?

Evo2.

Tribulation 05-24-2010 12:11 AM

Quote:

Go to debian forums
don't join
search howtos
there
Didn't find anything and nothing has come from asking on the forums.

I think my problems may be because /lib/modules/2.6.32-trunk-amd64 lacks a source folder.

Mr-Bisquit 05-24-2010 12:25 AM

Do you have backports installed?

http://packages.debian.org/search?keywords=fglrx-glx

Tribulation 05-24-2010 12:45 AM

I do not, I don't know much about them or how to install them. I'll give it a try tomorrow.

jim_p 05-24-2010 12:50 AM

Some random thoughts.

- You seem to lack package linux-headers-2.6.32-trunk-amd64. That will enable module-assistant to build anything, not just fglrx.

- Oddly, you can't install the above package and continue. This is why the kernel version now in testing is 2.6.32-3 (2.6.32-3-amd64 in your situation), and its headers are also in 2.6.32-3 version as well, so you can't get the -trunk ones from the repo :(

- You are not in the need for backports, because you are not on stable branch.

So I suggest moving to -3 version and running module-assistant from there.

Tribulation 05-24-2010 12:53 AM

I'm sorry, how would I go about moving to version -3? I'm still kinda ignorant about the more technical side of Linux.

craigevil 05-24-2010 02:03 AM

aptitude install linux-image-2.6.32-3-amd64 linux-headers-2.6.32-3-amd64

Aptitude - Debian Wiki - http://wiki.debian.org/Aptitude

AtiHowTo - Debian Wiki - http://wiki.debian.org/AtiHowTo

Also take a look at smxi/sfgxi

jim_p 05-24-2010 03:37 AM

And to be safe for the next linux-image-whatever and linux-headers-whatever update, also install metapackages linux-image-2.6-amd64 and linux-headers-2.6-amd64.

They will always depend on the latest kernel and headers version that is on the repo.

(and sorry for my delay)

Tribulation 05-24-2010 10:40 PM

Thanks for the help but I installed the liquorix kernel and after that installation of things went smoothly. However, there is another problem I have, I think it was actually bothering me when using my trunk kernel as well. An icon telling me that 13 package updates are available has been sitting on my panel. No matter how many times I try, they don't update. I looked at it again just a short while ago after updating my package list and saw that the number had been bumped up to 24. I tried to update again and three seem to have installed, however 21 are still there. I'm not even getting an error message, just that 0 packages have been updated.

craigevil 05-24-2010 10:52 PM

update-manager is an annoying piece of junk.


Use aptitude, aptitude update, aptitude full-upgrade

Tribulation 05-24-2010 11:18 PM

That seems to have worked. I tried earlier with apt-get but it still didn't work. Once I used aptitude though it seemed to be fine.

Tribulation 05-25-2010 08:47 AM

Alright, one last question and I think I'm good. Is there a way to add a keyboard binding to compiz so that I can open a terminal with a keyboard shortcut?

adamk75 05-25-2010 06:43 PM

ccsm --> Commands.


All times are GMT -5. The time now is 01:58 PM.