[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pb kpkg



Sylvain LE GALL wrote:

On Sat, Jan 17, 2004 at 07:08:56PM +0100, Farid Messaoud wrote:
Salut,
Après la command suivante voila le resultat.
Quelqu'un a une idée ?



Bonjour,

Non sans rire c'est une question ?

Donc je vois a peu prés le scénario : tu as répondu Y ( donc yes ) a la
question ( puisque c'est le choix par défaut ) où ca te demandé si tu
voulais interompre le processus d'installation, donc ca c'est arrété...

Ce qui m'améne a te demander, lis tu ce qu'on te demande avant
d'appeller au secour... En l'occurence, il n'y a rien d'inquiétant a ce
que dpkg fasse ce qu'on lui dise...
Si tu veux installer to paquet tu répond a la question : "Voulez vous
arréter maintenant ?", "n" ( pour Non ) ( je traduis de l'anglais
parceque la probleme vient peut etre de la ).

Un lecteur --reactif-- de la ML.
Sylvain LE GALL

/usr/src# dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently installed.)
Preparing to replace kernel-image-2.4.18 HOST.1 (using .../kernel-image-2.4.18_HOST.1_i386.deb) ...

You are attempting to install an initrd kernel image (version 2.4.18)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
`do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll contitnue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]
Ok, Aborting
dpkg: error processing /usr/src/kernel-image-2.4.18_HOST.1_i386.deb (--install):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/usr/src/kernel-image-2.4.18_HOST.1_i386.deb





Procedure :

1) vi /etc/lilo.conf et je rajoute la ligne "initrd=/initrd.img" sachant que ce fichier devrais être généré par la commande "dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb"
---> ajouté comme cela :
default=Linux
image=/vmlinuz
       label=Linux
       read-only
#       restricted
#       alias=1
initrd=/initrd.img

2) vi /etc/kernel-img.conf et j'ajoute la ligne suivante "do_initrd = Yes"

3) mv /lib/modules/2.4.18-bf2.4 /lib/modules/2.4.18-bf2.4.old



ENSUITE :

dpkg -i /usr/src/kernel-image-2.4.18_HOST.1_i386.deb
(Reading database ... 21578 files and directories currently installed.)
Preparing to replace kernel-image-2.4.18 HOST.1 (using .../kernel-image-2.4.18_HOST.1_i386.deb) ...
Unpacking replacement kernel-image-2.4.18 ...
Setting up kernel-image-2.4.18 (HOST.1) ...
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.18 (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
kernel-image-2.4.18





Reply to: