Locating Installed Kernels in Debian
I was looking into trying to find out what the proper way is to determine all / any installed kernels (old & present) on my Debian machine:
I was told by someone I can simply run the following command: Code:
tunafish:~# dpkg --get-selections | grep "linux-image" |
I would use aptitude since it's my tool of choice..
Each line that begins with i is an installed package. Code:
it-etch:/# aptitude search linux-image Code:
it-etch:/# dpkg --get-selections | grep "linux-image" Code:
er@it-etch:~$ ls /boot |
Or for short: dpkg -l|grep linux-image
|
Quote:
Code:
tunafish:~# dpkg -l | grep "linux-image" |
Different how?
Aren't those the same kernels as in your first post? |
2.6.22-6 & 2.6.24-7
Where did those come from? |
Those are the (current) versions of the linux-source packages for 2.6.22 and 2.6.24. I suspect a recent update to apt is why they're appearing there, I'm getting similar output when I run that command (and apt was among a bunch of updates I installed earlier today). Is the 2.6.24-1 linux-image package built from the 2.6.24-7 source package?
|
Code:
aptitude search "~nlinux-image ~i" For more minimal output, Code:
aptitude search "~nlinux-image ~i" -F %p |
apt-cache policy linux-image-2.6.22-3-686-bigmem
The first is the package name the second is something like the build version which will change as security updates are added.. sorry I don't know the proper terminology but that's why the version number is different/higher. Code:
debianetch:~# apt-cache policy linux-image-2.6.18-6-686 |
Thanks all!
|
All times are GMT -5. The time now is 02:52 AM. |