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.8056Q-100000@wakko.deltatee.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.)
Darren Benham
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jun 2001 15:33:49 +0000
>From ydirson@altern.org Sun Jun 10 10:33:49 2001
Return-path: <ydirson@altern.org>
Received: from smtp-abo-1.wanadoo.fr (villosa.wanadoo.fr) [::ffff:193.252.19.122]
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 (62.161.79.249) 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 <dirson@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-get: should allow install's and remove's on same command-line
X-Reportbug-Version: 1.17
X-Mailer: reportbug 1.17
Date: Sun, 10 Jun 2001 17:55:05 +0200
Message-Id: <[🔎] E1597YZ-0000ma-00@bylbo.nowhere.earth>
Sender: Yann Dirson <dwitch@bylbo.nowhere.earth>
Delivered-To: submit@bugs.debian.org
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
---------------------------------------
Received: (at 100406-done) by bugs.debian.org; 11 Jun 2001 04:03:27 +0000
>From jgg@debian.org Sun Jun 10 23:03:26 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [::ffff:206.75.216.34]
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) ([24.108.173.63]) (envelope-sender <jgg@debian.org>)
by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
for <ydirson@altern.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 <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
Reply-To: Jason Gunthorpe <jgg@debian.org>
To: Yann Dirson <ydirson@altern.org>, 100406-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#100406: apt-get: should allow install's and remove's on same command-line
In-Reply-To: <[🔎] 20010610233901.A7911@bylbo.nowhere.earth>
Message-ID: <[🔎] Pine.LNX.3.96.1010610215735.8056Q-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 100406-done@bugs.debian.org
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
> IIRC...
You can always use minus postfixes.
Jason
Reply to: