LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-07-2005, 10:15 PM   #1
Stan the caddy
Member
 
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
apt can't find 2.6 kernels


Hi,
I have just installed debian woody(I dont have X working yet) and am trying upgrade my kernel to a 2.6 version. When i do a "apt-cache search kernel-image" it only gives me a list of 2.2 and 2.4 kernels. What repositorys should i have in my sources.list to get a 2.6 kernel? I also need the headers and stuff so i can install my nvidia driver.

thanks

Last edited by Stan the caddy; 01-08-2005 at 01:53 AM.
 
Old 01-08-2005, 04:47 AM   #2
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
You probably don't have the "testing" in your /etc/apt/sources.list

For example, my config looks like this:


# I don't want any stable (woody) packages

#deb http://ftp.fi.debian.org/debian/ stable main contrib non-free

# I do want testing (sarge) packages

deb http://ftp.fi.debian.org/debian/ testing main contrib non-free

# I don't want unstable (sid) either

deb http://ftp.fi.debian.org/debian/ unstable main contrib non-free


After updating the file, do a "apt-get update". I also suggest installing aptitude, it it a very powerful frontend for apt-get.
 
Old 01-08-2005, 07:52 AM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
HOWTO install sarge with the net-installer-rc2
http://www.linuxquestions.org/questi...e+installation
 
Old 01-08-2005, 11:56 AM   #4
Stan the caddy
Member
 
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
Ok that got it, thanks Basileus for that relevent post. Could anyone tell me how to use apt to see what packages are currently installed? I've been through a few apt howtos and they dont tell you how to do that.

thanks
 
Old 01-08-2005, 03:03 PM   #5
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
You can use dpkg-query as in:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | grep kernel

Or dpkg -l as in:
COLUMNS=150 dpkg -l|grep kernel

I actually have this line in /etc/profile:
alias cod="COLUMNS=150 dpkg -l|grep"

So when I want to see which kernel packages are installed I just type: cod kernel

EDIT: You can adjust the COLUMNS= to suit your resolution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get cannot find webmin mrlucio79 Debian 1 10-21-2005 04:34 PM
Fedora SMP kernels through APT? Phaethar Fedora 1 05-26-2004 09:00 AM
i can't find the file /etc/apt/apt.conf. lsj Linux - Newbie 1 05-21-2004 02:24 AM
can I find a .config file for mandrake's precompiled kernels? schantz Linux - General 2 12-17-2003 03:47 PM
Is there any way to find what RH does to their kernels? system Linux - General 6 03-01-2002 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration