thanks a lot for your help !
Joost,
unfortunately installing kernel and modules with the same dpkg
command leads to the same error messages and dpkg bailout.
best regards,
nicola
Manoj,
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
kernel-image-2.2.18pre21_pre21-1_i386.deb
pcmcia-modules-2.2.18pre21_3.1.22-0.2potato+pre21+1_i386.deb
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
lt28.2.
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
kernel-image-2.2.18pre21_pre21-2_i386.deb
pcmcia-modules-2.2.18pre21_3.1.22-0.2potato+pre21+2_i386.deb
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
kernel-image-2.2.18pre21:
pcmcia-modules-2.2.18pre21 conflicts with kernel-image-2.2.18pre21
(<<
pre21-1)
kernel-image-2.2.18pre21 (version pre21-2) is to be installed.
dpkg: error processing kernel-image-2.2.18pre21_pre21-2_i386.deb
(--install):
conflicting packages - not installing kernel-image-2.2.18pre21
Errors were encountered while processing:
kernel-image-2.2.18pre21_pre21-2_i386.deb
lt28:/usr/src#
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
-- 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:[EMAIL PROTECTED]