Morning all, Hope you can help. Started playing with Debian after deciding it was time I got upto speed with it. I've just gone for an 'apt-get update' and 'apt-get upgrade' and received the following warning (see below).
Could anyone help decipher it for me. As far as I can see i'm running kernel 2.4.18-1-386 already, so how come the apt-get upgrade command wants to upgrade my kernel to the current version?
Any help would be greatly appreciated.
Cheers, Nick
<snip> You are attempting to install a kernel image (version 2.4.18-1-386) However, the directory /lib/modules/2.4.18-1-386 still exists. If this directory belongs to a previous kernel-image-2.4.18-1-386 package, and if you have deselected some modules, or installed standalone modules packages, this could be bad. However, if this directory exists because you are also installing some stand alone modules right now, and they got unpacked before I did, then this is pretty benign. Unfortunately, I can't tell the difference.
If /lib/modules/2.4.18-1-386 belongs to a old install of kenel-image-2.4.18-1-386, this is your last chance to abort the installation of this kernel image (nothing has been changed yet).
If this directory is because of stand alone modules being installed right now, or if it does belong to an older kernel-image-2.4.18-1-386 package but you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question.
Otherwise, I suggest you move /lib/modules/2.4.18-1-386 out of the way, perhaps to /lib/modules/2.4.18-1-386.old or something, and then try re-installing this image.
</snip>
Nick,
did anyone ever reply to you on this one? (I haven't seen one here but you may have got one off-list).
Keith
On Fri, 16 Jan 2004 12:10:35 +0000 Nick Heppleston nickheppleston@gmx.co.uk wrote:
Morning all, Hope you can help. Started playing with Debian after deciding it was time I got upto speed with it. I've just gone for an 'apt-get update' and 'apt-get upgrade' and received the following warning (see below).
Could anyone help decipher it for me. As far as I can see i'm running kernel 2.4.18-1-386 already, so how come the apt-get upgrade command wants to upgrade my kernel to the current version?
Any help would be greatly appreciated.
Cheers, Nick
<snip> You are attempting to install a kernel image (version 2.4.18-1-386) However, the directory /lib/modules/2.4.18-1-386 still exists. If this directory belongs to a previous kernel-image-2.4.18-1-386 package, and if you have deselected some modules, or installed standalone modules packages, this could be bad. However, if this directory exists because you are also installing some stand alone modules right now, and they got unpacked before I did, then this is pretty benign. Unfortunately, I can't tell the difference.
If /lib/modules/2.4.18-1-386 belongs to a old install of kenel-image-2.4.18-1-386, this is your last chance to abort the installation of this kernel image (nothing has been changed yet).
If this directory is because of stand alone modules being installed right now, or if it does belong to an older kernel-image-2.4.18-1-386 package but you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question.
Otherwise, I suggest you move /lib/modules/2.4.18-1-386 out of the way, perhaps to /lib/modules/2.4.18-1-386.old or something, and then try re-installing this image.
</snip>
-- Nick Heppleston 07989 581766 | nickheppleston@gmx.co.uk
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
The package name kernel-image-2.4.18-1-386 doesn't tell you the full story about the kernel package's version number. The version number you've already got is probably something like 2.4.18-8, and the version number apt is trying to install probably 2.4.18-12.1. The "2.4.18" tells you which Linux kernel version it is, the "1-386" tells you something about the compile-time options the Debian folks used for this image, and the change from "8" to "12.1" relates to a patch Debian is distributing to fix some (probably security-related) bug in the kernel.
Therefore, I'd suggest that it's a good idea to go ahead with the upgrade of the kernel, to get the improved security. Best practice is probably to do like the warning says, and make a back-up of the old modules directory, although I usually just go ahead with the upgrade without this back-up.
On Fri, 16 Jan 2004 12:10:35 +0000 Nick Heppleston nickheppleston@gmx.co.uk wrote:
Hope you can help. Started playing with Debian after deciding it was time I got upto speed with it. I've just gone for an 'apt-get update' and 'apt-get upgrade' and received the following warning (see below).
Could anyone help decipher it for me. As far as I can see i'm running kernel 2.4.18-1-386 already, so how come the apt-get upgrade command wants to upgrade my kernel to the current version?