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

Bug#2545: dpkg locks up with conflict



You need to use dpkg -B, apparently.  I *think* that what you want is:

	dpkg -B -i svgalib1.deb aout-svgalib.deb

but would be interested to hear the results of someone trying this -
last time I got my hands on a relatively unmangled system I didn't
know this and hacked it using --force-*.

Perhaps dpkg should produce a more informative error message in this
situation?

Raul Miller writes:
>Package: dpkg
>Version: 1.1.0
>
>dpkg won't deal with upgrading svgalib.  I think I'm going to have to
>resort to --force-conflicts, (or remove an installed package).
>
>Here's a few tries:
>
>bash$ sudo dpkg -i graphics/svgalib1-1.28-6.deb
>dpkg: considering removing svgalib in favour of svgalib1 ...
>dpkg: no, cannot remove svgalib:
> gs depends on svgalib
>  svgalib is to be removed.
>  aout-svgalib provides svgalib but is unpacked but not configured.
>dpkg: regarding graphics/svgalib1-1.28-6.deb containing svgalib1:
> svgalib1 conflicts with svgalib (<=1.28-2)
>  svgalib (version 1.28-2) is installed.
>dpkg: error processing graphics/svgalib1-1.28-6.deb (--install):
> conflicting packages - not installing svgalib1
>Errors were encountered while processing:
> graphics/svgalib1-1.28-6.deb
>bash$ sudo dpkg -r svgalib
>dpkg: dependency problems prevent removal of svgalib:
> gs depends on svgalib; however:
>  Package svgalib is to be removed.
>  Package aout-svgalib is not configured yet.
>dpkg: error processing svgalib (--remove):
> dependency problems - not removing
>Errors were encountered while processing:
> svgalib
>bash$ sudo dpkg -i graphics/aout-svgalib-1.28-6.deb
>(Reading database ... 26820 files and directories currently installed.)
>Preparing to replace aout-svgalib (using graphics/aout-svgalib-1.28-6.deb) ...
>Unpacking replacement aout-svgalib ...
>dpkg: dependency problems prevent configuration of aout-svgalib:
> aout-svgalib depends on svgalib1; however:
>  Package svgalib1 is not installed.
>dpkg: error processing aout-svgalib (--install):
> dependency problems - leaving unconfigured
>Errors were encountered while processing:
> aout-svgalib
>bash$ sudo dpkg -r aout-svgalib
>(Reading database ... 26820 files and directories currently installed.)
>Removing aout-svgalib ...
>bash$ sudo dpkg -i graphics/aout-svgalib-1.28-6.deb
>(Reading database ... 26820 files and directories currently installed.)
>Preparing to replace aout-svgalib (using graphics/aout-svgalib-1.28-6.deb) ...
>Unpacking replacement aout-svgalib ...
>dpkg: dependency problems prevent configuration of aout-svgalib:
> aout-svgalib depends on svgalib1; however:
>  Package svgalib1 is not installed.
>dpkg: error processing aout-svgalib (--install):
> dependency problems - leaving unconfigured
>Errors were encountered while processing:
> aout-svgalib
>bash$ sudo dpkg -r aout-svgalib
>(Reading database ... 26820 files and directories currently installed.)
>Removing aout-svgalib ...
>bash$ sudo dpkg -i graphics/svgalib1-1.28-6.deb
>dpkg: considering removing svgalib in favour of svgalib1 ...
>dpkg: no, cannot remove svgalib:
> gs depends on svgalib
>  svgalib is to be removed.
>  aout-svgalib provides svgalib but is not installed but configs remain.
>dpkg: regarding graphics/svgalib1-1.28-6.deb containing svgalib1:
> svgalib1 conflicts with svgalib (<=1.28-2)
>  svgalib (version 1.28-2) is installed.
>dpkg: error processing graphics/svgalib1-1.28-6.deb (--install):
> conflicting packages - not installing svgalib1
>Errors were encountered while processing:
> graphics/svgalib1-1.28-6.deb
>bash$ sudo dpkg -r svgalib
>dpkg: dependency problems prevent removal of svgalib:
> gs depends on svgalib; however:
>  Package svgalib is to be removed.
>  Package aout-svgalib is not installed.
>dpkg: error processing svgalib (--remove):
> dependency problems - not removing
>Errors were encountered while processing:
> svgalib
>bash$ sudo dpkg --purge aout-svgalib
>(Reading database ... 26808 files and directories currently installed.)
>Removing aout-svgalib ...
>Purging configuration files for aout-svgalib ...
>bash$ sudo dpkg -i graphics/svgalib1-1.28-6.deb
>dpkg: considering removing svgalib in favour of svgalib1 ...
>dpkg: no, cannot remove svgalib:
> gs depends on svgalib
>  svgalib is to be removed.
>dpkg: regarding graphics/svgalib1-1.28-6.deb containing svgalib1:
> svgalib1 conflicts with svgalib (<=1.28-2)
>  svgalib (version 1.28-2) is installed.
>dpkg: error processing graphics/svgalib1-1.28-6.deb (--install):
> conflicting packages - not installing svgalib1
>Errors were encountered while processing:
> graphics/svgalib1-1.28-6.deb
>bash$
>
>
>--
>Raul
>



Reply to: