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

Bug#100406: apt-get: should allow install's and remove's on same command-line



Package: apt
Version: 0.5.3
Severity: wishlist

Context: installing mozilla packages from pandora/~robot101

Unpacking mozilla-browser (from .../mozilla-browser_1%3a0.9.1-1.crypto.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mozilla-browser_1%3a0.9.1-1.crypto.1_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libdbm.a', which is also in package libgdbmg1-dev

Then as a temporary fix for the conflict, I want to remove
libgdbmg1-dev, but can't seem to be able to do that with apt-get:

# apt-get -f remove libgdbmg1-dev
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  mozilla: Depends: mozilla-browser (= 1:0.9.1-1.crypto.1) but it is not going to be installed
  mozilla-mailnews: Depends: mozilla-browser (= 1:0.9.1-1.crypto.1) but it is not going to be installed
  mozilla-psm: Depends: mozilla-browser (= 1:0.9.1-1.crypto.1) but it is not going to be installed
  mozilla-xmlterm: Depends: mozilla-browser (= 1:0.9.1-1.crypto.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


It seems I have to use "dpkg -r", and then "apt-get -f" to have things
done.  I guess such a thing should be possible to fix within apt
itself, and probably it can't be done without allowing several
commands on the same line.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bylbo 2.2.19+reiserfs+ide #1 Sat Jun 9 23:05:05 CEST 2001 i586
Locale: LANG=français, LC_CTYPE=français

Versions of packages apt depends on:
ii  libc6                  2.2.3-5           GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.010604 The GNU stdc++ library            




Reply to: