Bug#100406: marked as done (apt-get: should allow install's and remove's on same command-line)
Your message dated Sun, 10 Jun 2001 22:03:15 -0600 (MDT)
with message-id <Pine.LNX.3.96.1010610215735.8056Qemail@example.com>
and subject line Bug#100406: apt-get: should allow install's and remove's on same command-line
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 10 Jun 2001 15:33:49 +0000
>From firstname.lastname@example.org Sun Jun 10 10:33:49 2001
Received: from smtp-abo-1.wanadoo.fr (villosa.wanadoo.fr) [::ffff:188.8.131.52]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 1597Dp-0007eB-00; Sun, 10 Jun 2001 10:33:49 -0500
Received: from bylbo.nowhere.earth (184.108.40.206) by villosa.wanadoo.fr; 10 Jun 2001 17:33:33 +0200
Received: from dwitch by bylbo.nowhere.earth with local (Exim 3.22 #1 (Debian))
id 1597YZ-0000ma-00; Sun, 10 Jun 2001 17:55:15 +0200
From: Yann Dirson <email@example.com>
To: Debian Bug Tracking System <firstname.lastname@example.org>
Subject: apt-get: should allow install's and remove's on same command-line
X-Mailer: reportbug 1.17
Date: Sun, 10 Jun 2001 17:55:05 +0200
Sender: Yann Dirson <email@example.com>
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
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
Received: (at 100406-done) by bugs.debian.org; 11 Jun 2001 04:03:27 +0000
>From firstname.lastname@example.org Sun Jun 10 23:03:26 2001
Received: from cast-ext.ab.videon.ca [::ffff:220.127.116.11]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 159IvE-0002o5-00; Sun, 10 Jun 2001 23:03:24 -0500
Received: (qmail 10136 invoked from network); 11 Jun 2001 04:03:16 -0000
Received: from unknown (HELO wakko.deltatee.com) ([18.104.22.168]) (envelope-sender <email@example.com>)
by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
for <firstname.lastname@example.org>; 11 Jun 2001 04:03:16 -0000
Received: from localhost
([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
id 159Iv6-0004q6-00; Sun, 10 Jun 2001 22:03:16 -0600
Date: Sun, 10 Jun 2001 22:03:15 -0600 (MDT)
From: Jason Gunthorpe <email@example.com>
Reply-To: Jason Gunthorpe <firstname.lastname@example.org>
To: Yann Dirson <email@example.com>, firstname.lastname@example.org
cc: APT Development Team <email@example.com>
Subject: Re: Bug#100406: apt-get: should allow install's and remove's on same command-line
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 10 Jun 2001, Yann Dirson wrote:
> Just to be sure (can't check any more without reverting to old state,
> but you can surely tell), the following would have worked:
> # apt-get -f dselect-upgrade libgdbmg1-dev-
No, of course not. That is not what you asked for.
You asked 'how do I make apt remove something when I have packages in an
inconsistant state'. You do that by specifying an exact solution on the
command line using a combination of +/- post-fix operators. You specified
an inexact solution, so it told you so and gave up.
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
Even so, package ordering may prevent you from ever accomplishing what you
want without using dpkg.
> "gnotepad+" right now, but there used to be "gnotepad" in the past
You can always use minus postfixes.