how to install 2.6.26 in Hardy for VX-1000 webcam?

H.S. hs.samix at gmail.com
Sat Feb 28 03:13:07 UTC 2009


H.S. wrote:
> Nils Kassube wrote:
>> H.S. wrote:
>>> Hardy has 2.6.24 kernel. I understand that to get Microsoft's VX-1000
>>> webcam to work, I need 2.6.26 kernel in Hardy. How does one go
>>> installing a newer kernel which is not already in the repos in Hardy?

>> 3. In theory you could change your /etc/apt/sources.list temporarily to 
>> intrepid and install the intrepid kernel.

> I have tried the third option but only in Debian (on can get packages
> from Stable or Testing or Unstable), works very well. Never tried this
> on Ubuntu and do not want to take that chance in this case (this is to
> be done remotely).


So, here is what I did.

1. Added intrepid repo to the sources.list of my Hardy machine by
appending the following line to /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu intrepid main restricted

2. Made a file /etc/apt/preferences whose contents are:
#############################################################
Package: *
Pin: release a=hardy
Pin-Priority: 500

Package: *
Pin: release a=hardy-updates
Pin-Priority: 600

Package: *
Pin: release a=hardy-backports
Pin-Priority: 700

Package: *
Pin: release a=hardy-proposed
Pin-Priority: 800

Package: *
Pin: release a=hardy-security
Pin-Priority: 900

Package: *
Pin: release a=intrepid
Pin-Priority: -1

Package:  linux-image-2.6.27-7-generic
Pin: release a=intrepid
Pin-Priority: 1000
#############################################################




Next, I installed the kernel package I wanted from Intrepid using the
following command:
~$ sudo aptitude install  linux-image-2.6.27-7-generic/intrepid

This installed the specified package, no other package had to pulled in
from Intrepid.

Rebooted into the new kernel and everything went well. The following
references were most helpful in doing this:
http://aldeby.org/blog/index.php/mixing-hardy-stable-and-intrepid-testing-repositories.html
http://jaqque.sbih.org/kplug/apt-pinning.html
http://wiki.debian.org/AptPinning


Regards.
-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.





More information about the ubuntu-users mailing list