On Tue, 19 Feb 2002, Curtis Vaughan wrote:
> Having finally finished upgrading, I get the following problem in dselect:
> Although I have chosen no new packages it will tell me after entering Install:
> 
> The following NEW packages will be installed:
>   pcmcia-modules-2.4.17-386
> 
> Which was the 2nd package of updates I did after the packages for installing 
> the new kernel.
> 
> Choosing YES only leads to the following errors:
> 
> Preconfiguring packages ...
> (Reading database ... 53172 files and directories currently installed.)
> Unpacking pcmcia-modules-2.4.17-386 (from 
> ../pcmcia-modules-2.4.17-386_3.1.31-7k1_i386.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/pcmcia-modules-2.4.17-386_3.1.31-7k1_i386.deb 
> (--unpack):
>  trying to overwrite `/lib/modules/2.4.17-386/pcmcia/pcmcia_core.o', which is 
> also in package kernel-image-2.4.17-386

You can go to the command line, and run dpkg. If you don't have the
pcmcia-modules-*deb yet, have it using apt-get; apt-get -d install
pcmcia-modules* (type the exact version number).
Then, 
cd /var/cache/apt/archives
dpkg --force-conflicts -i pcmcia-modules*

You'd have two conflicting packages, but it would be all right. It would
be nice just to purge the kernel-image if you don't really need it;
dpkg --purge --force-conflicts --force-depends kernel-image-2.4.17-386
and then reinstall the pcmcia-modules-* again using dpkg. I don't think
there are some packages that depend on kernel-image package.

Oki



Reply via email to