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

Re: kernel installation

Dear Joost and Manoj,

thanks a lot for your help !


unfortunately installing kernel and modules with the same dpkg
command leads to the same error messages and dpkg bailout.

best regards,


There is a point I really do not understand:

I know for sure I am not downgrading the kernel version. I have got
2.2.1pre21 in the distribution and I succesfully recompiled and installed
2.2.1pre21 with the revision number pre21-1 (I know this was probably
not a good idea)  two weeks ago. This worked perfectly: In particular

make xconfig
make-kpkg clean
make-kpkg --revision pre21-1 kernel_image
make-kpkg --revision pre21-1 modules_image

did generate


which I could install with

dpkg -i  kernel-image-2.2.18pre21_pre21-1_i386.deb
dpkg -i  pcmcia-modules-2.2.18pre21_3.1.22-0.2potato+pre21+1_i386.deb

without any troubles. The problem I reported refers to the latest attempt
at recompiling and installing 2.2.1pre21, this time with revision number
lt28.2 (lt28 is my host name). The message

lt28:/usr/src# dpkg -i kernel-image-2.2.18pre21_lt28.2_i386.deb
dpkg - warning: downgrading kernel-image-2.2.18pre21 from pre21-1 to

is just a warning triggered by the fact that pre21-1 > lt28.2 (because
p > l, I guess). I could avoid the warning by doing

make xconfig
make-kpkg clean
make-kpkg --revision lt28.2 kernel_image
make-kpkg --revision lt28.2 modules_image

instead of

make xconfig
make-kpkg clean
make-kpkg --revision pre21-2 kernel_image
make-kpkg --revision pre21-2 modules_image

This would generate


Which, however, would still lead to the dpkg error (I have checked this)

dpkg: regarding kernel-image-2.2.18pre21_pre21-2_i386.deb containing
 pcmcia-modules-2.2.18pre21 conflicts with kernel-image-2.2.18pre21 (<<
  kernel-image-2.2.18pre21 (version pre21-2) is to be installed.
dpkg: error processing kernel-image-2.2.18pre21_pre21-2_i386.deb
 conflicting packages - not installing kernel-image-2.2.18pre21
Errors were encountered while processing:

so what is going on here ? In both cases (2.2.18pre21_pre21-1
and 2.2.18pre21_lt28.2) I moved /lib/modules/2.2.18pre21 away
and I went through exactly the same sequence of operations !

best regards and many thanks for providing make-kpkg and the
documentation !

Nicola Botta, Data & Computation
Potsdam Institute for Climate Impact Research (PIK)
Telegrafenberg C4, Postfach 60 12 03, D-14412 Potsdam
tel: ++49 (0)331 288 2657 mailto:botta@pik-potsdam.de


Reply to: