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

Re: How do I unconfuse dpkg?



On Mon, Mar 10, 2003 at 06:09:37PM -0700, Paul Scott wrote:
> How do I clean this up:?
> 
> joy:/home/paul# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
>   xlibmesa3-glu
> The following NEW packages will be installed:
>   xlibmesa3-glu
> 0 packages upgraded, 1 newly installed, 0 to remove and 1  not upgraded.
> 2 packages not fully installed or removed.
> Need to get 0B/259kB of archives. After unpacking 614kB will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 114776 files and directories currently installed.)
> Unpacking xlibmesa3-glu (from .../xlibmesa3-glu_4.2.1-6_i386.deb) ...
> dpkg: error processing 
> /var/cache/apt/archives/xlibmesa3-glu_4.2.1-6_i386.deb (--unpack):
>  trying to overwrite `/usr/lib/libGLU.so.1', which is also in package 
> mesag3-glide2
> Errors were encountered while processing:
>  /var/cache/apt/archives/xlibmesa3-glu_4.2.1-6_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

That's a bug in on of mesag3-glide2 or xlibmesa3-glu, they shouldn't
contain the same file.  Check the BTS to see if someone has reported it
or not yet.  You can force dpkg to install it anyway, thusly:
$ dpkg -i --force-overwrite file.deb

where file.deb is the package you want to force in.

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpDPzUIdDcDf.pgp
Description: PGP signature


Reply to: