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

Re: apt-get dist-upgrade bails



On Thu, 27 Mar 2003 18:03:42 -0500 (EST)
Patrick Wiseman <pwiseman@mindspring.com> wrote:

> Note all the packages not fully installed or removed; then, when I
> proceed, here are messages referring to the package which seems to be
> causing the problem:
> 
> Preconfiguring packages ...
> (Reading database ... 89637 files and directories currently
> installed.) Preparing to replace gdk-imlib-dev 1.9.14-2 (using
> .../gdk-imlib-dev_1.9.14-6_i386.deb) ...
> Unpacking replacement gdk-imlib-dev ...
> dpkg: error processing
> /var/cache/apt/archives/gdk-imlib-dev_1.9.14-6_i386.deb (--unpack):
>  trying to overwrite `/usr/bin/imlib-config', which is also in package
> imlib-base

> Then a bunch of Unpacking and Selecting ... then 
> 
> Errors were encountered while processing:
>  /var/cache/apt/archives/gdk-imlib-dev_1.9.14-6_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

"Wrong order" isn't the problem here. dpkg tells you exactly why its
failing:

"trying to overwrite `/usr/bin/imlib-config', which is also in package
imlib-base"

This is the dpkg version of "general protection fault". A package is
trying to mess with another package's files. dpkg caught what might be a
problem and stopped.

It' probably safe in this situation to do "dpkg -i --force-overwrite
/var/cache/apt/archives/gdk-imlib-dev_1.9.14-6_i386.deb". "man dpkg" and
read about "--force-things" before you do this.

When that completes do "apt-get dist-upgrade" again.

Kevin



Reply to: