On Tue, Jul 15, 2003 at 03:15:22PM +1000, Jennifer wrote:
> Dear Debian people
> 
> I am newly getting to start to learn Debian,
> and try to get Debian working on my PC.
> 
> I used Debian 3.0 Woody CD set (7 of them) to install.
> And the kernel version is 2.2.20.
> For I need to install Oracle9i on this Debian,
> so I need to upgrade kernel to 2.4.xx
> I downloaded "kernel-image-2.4.21-2-386_2.4.21-2_i386.deb" from Debian site. 
> And I copied this image file to /usr/src/
> Then I cd to /usr/src
> I ran the command
>  "dpkg --install kernel-image-2.4.21-2-386_2.4.21-2_i386.deb". 
> The console told me the following error message:
> 
> You are attempting to install an initrd kernel image (version 2.4.21-2-386).
> but you do not seem to have a mkinitrd command in the path.
> This will break the installation. I am aborting now.
> Could not find mkinitrd in path at /var/lib/dpkg/tmp.ci/preinst line 165.dpkg:
> error processing /usr/src/kernel-image....(--install)
> 
> So I used command of "find / -name mkinitrd". And there is no result.
> I also used "man mkinitrd", and it says no man entry for mkinitrd.
> 
> In this case, what should I do? 

Go to http://www.debian.org/distrib/packages

search for "kernel-image-2.4" in "stable" (woody is the current stable release)

click a suitable package
e.g. http://packages.debian.org/stable/base/kernel-image-2.4.18-386.html

See there that the packages depends on the package initrd-tools
which provides the program mkinitrd.

I think that you overruled dependencies,
 "dpkg --install <package>" respects them.

> 
> Your advice will be highly appreciated. Thank you very much.

Please use next time '[EMAIL PROTECTED]'
for a more installer related issue.

> Jennifer Z

Geert Stappers

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to