Feedback

type to search

How to update kernel and X on Squeeze?

Asked by [ Editor ] , Edited by farfromhome [ Editor ]

I have a fresh Squeeze install, but its version of Nouveau is too old to properly support my card (e.g.: desktop effects).  In order to get (or, preferably, compile from source) the latest Nouveau, I need a higher version of both the kernel and X.org.

Now, the kernel if needs be I could do from scratch and manually add it to GRUB, but is there a better way to start from a new kernel tree and end up with a nice .deb that APT can keep track of?

X.org is a stickier situation.  Ideally, there would be something like Ubuntu’s xorg-edgers PPA, but I couldn’t find anything like it for Debian.  If I compile X.org from scratch, how to properly replace the Debian version, or again, make a proper .deb for it?  Or is there a good way to get the version in Sid without pulling in the rest of the world, and having it stay updated?  (I tried apt-pinning, but as far as I could tell, I would have to track down every dependency and dependency of the dependency etc… myself and pin it.)

or Cancel

4 answers

1

helmut [ Editor ]

Kernel: You can use make-kpkg kernel-image from the package kernel-package on a configured kernel tree to create a Debian package.

Xorg: I’d also try pinning. You can try aptitude -s install xserver-xorg-video-nouveau/sid to get a list of packages that need an update and write a little script that creates a suitable preferences file from the list. Note in squeeze apt-get -s install foo/sid does not resolve the dependencies inside sid.

NN comments
farfromhome
-

I finally got it to work; I had to run update-initramfs (as I found on a forum post) to generate initrd, and it was a pain to find the correct Sid packages to pin for X.org, but it worked. Thank you.

or Cancel
0

benh

I just uploaded Linux 2.6.37 to unstable, so it should be available in testing and squeeze-backports soon.

NN comments
nottyl
-

I appreciate that, and wonder how soon is soon :) I’m running wheezy now and do wish to try .37 because of some hardware issues.

or Cancel
-1

paulcarroty [ Editor ]

add experimental repozitory: xorg 1.9.4 and kernel 2.6-37

NN comments
he@debian.org
-

This is a bad idea. You should not mix stable with unstable (or even experimental), especially if you don’t know much about Debian’s package system!

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.