libmng dependency tangle
I tried installing mozilla with disastrous results. It refused to
install because of the libmng dependency shown below. Now KDE refuses
to start up due to
Why won't apt-get/dpkg acknowlege the already installedpackage libmng1
(v 1.0.3-3)?
Why won't "dpkg --purge libmng" remove an uninstalled package? I can
only purge items which are in use!!?
Is the rationale for this non-intuitive behavior published anywhere?
And most importantly, how do I get out of this mess?
Thanks
--rich
------------------------------------------------------------------------------
Script started on Sun Feb 17 15:51:54 2002
creaky:~# apt-get install mozilla
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
ksysctrl: Depends: libmng (>= 0.9.3-0) but it is not going to be
installed
ktimemon: Depends: libmng (>= 0.9.3-0) but it is not going to be
installed
libqt2.2: Depends: libmng (>= 0.9.3-0) but it is not going to be
installed
mozilla: Depends: libelfg0 but it is not going to be installed
Depends: libnspr4 (= M18-3) but it is not going to be
installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
creaky:~# apt-get --f install
Correcting dependencies... Done
The following extra packages will be installed:
libmng
The following NEW packages will be installed:
libmng
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
16 packages not fully installed or removed.
Need to get 0B/118kB of archives. After unpacking 418kB will be used.
Do you want to continue? [Y/n] y
(Reading database ... 22636 files and directories currently installed.)
Unpacking libmng (from .../libmng_0.9.3-0.potato.3_powerpc.deb) ...
dpkg: error processing
/var/cache/apt/archives/libmng_0.9.3-0.potato.3_powerpc.deb (--unpack):
trying to overwrite `/usr/lib/libmng.la', which is also in package
libmng1
Errors were encountered while processing:
/var/cache/apt/archives/libmng_0.9.3-0.potato.3_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
creaky:~#
Script done on Sun Feb 17 15:52:54 2002
Reply to: