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

Bug#183470: marked as done (dpkg: can't dependencies be checked before overwriting?)



Your message dated Tue, 4 Mar 2003 23:51:58 -0500
with message-id <20030305045158.GA777@phunnypharm.org>
and subject line Bug#183470: dpkg: can't dependencies be checked before overwriting?
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Mar 2003 04:05:29 +0000
>From jidanni@dman.ddts.net Tue Mar 04 22:05:29 2003
Return-path: <jidanni@dman.ddts.net>
Received: from smtp2.apol.com.tw [203.79.224.63] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18qQ9o-0002z1-00; Tue, 04 Mar 2003 22:05:28 -0600
Received: from jidanni.org (TC218-187-81-199.2-7.pl.apol.com.tw [218.187.81.199])
	by smtp2.apol.com.tw (8.9.3/8.9.3) with ESMTP id MAA11307571
	for <submit@bugs.debian.org>; Wed, 5 Mar 2003 12:05:25 +0800 (CST)
Received: from jidanni by jidanni.org with local (Exim 3.36 #1 (Debian))
	id 18qM5V-00015K-00; Wed, 05 Mar 2003 07:44:45 +0800
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dan Jacobson <jidanni@dman.ddts.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: can't dependencies be checked before overwriting?
X-Mailer: reportbug 2.10
Date: Wed, 05 Mar 2003 07:44:45 +0800
Message-Id: <[🔎] E18qM5V-00015K-00@jidanni.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=4.0
	tests=DATE_IN_PAST_03_06,HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: dpkg
Version: 1.10.9
Severity: minor
File: /usr/bin/dpkg

Can't dependency problems be checked before the user blows away his
good version?

# dpkg -i /tmp/gnucap_0.33-2_i386.deb 
(Reading database ... 214178 files and directories currently installed.)
Preparing to replace gnucap 1:0.33-1 (using /tmp/gnucap_0.33-2_i386.deb) ...
Unpacking replacement gnucap ...
dpkg: dependency problems prevent configuration of gnucap:
 gnucap depends on libgcc1 (>= 1:3.2.3-0pre2); however:
  Version of libgcc1 on system is 1:3.2.2-0pre8.
 gnucap depends on libstdc++5 (>= 1:3.2.3-0pre2); however:
  Version of libstdc++5 on system is 1:3.2.2-0pre8.
dpkg: error processing gnucap (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnucap

Yes, I know about apt. I'm wondering why you can;t move the check just
a little earlier in the sequence of events.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages dpkg depends on:
ii  dselect                       1.10.9     a user tool to manage Debian packa
ii  libc6                         2.3.1-10   GNU C Library: Shared libraries an

-- no debconf information


---------------------------------------
Received: (at 183470-done) by bugs.debian.org; 5 Mar 2003 04:52:36 +0000
>From bmc@phunnypharm.org Tue Mar 04 22:52:36 2003
Return-path: <bmc@phunnypharm.org>
Received: from blowme.phunnypharm.org [65.207.35.140] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18qQtP-0005lL-00; Tue, 04 Mar 2003 22:52:35 -0600
Received: from hopper.phunnypharm.org ([192.168.0.13] ident=mail)
	by blowme.phunnypharm.org with esmtp (Exim 3.35 #1 (Debian))
	id 18qQsq-0004Eo-00; Tue, 04 Mar 2003 23:52:00 -0500
Received: from bmc by hopper.phunnypharm.org with local (Exim 3.36 #1 (Debian))
	id 18qQso-0000Co-00; Tue, 04 Mar 2003 23:51:58 -0500
Date: Tue, 4 Mar 2003 23:51:58 -0500
From: Ben Collins <bcollins@debian.org>
To: Dan Jacobson <jidanni@dman.ddts.net>, 183470-done@bugs.debian.org
Subject: Re: Bug#183470: dpkg: can't dependencies be checked before overwriting?
Message-ID: <20030305045158.GA777@phunnypharm.org>
References: <[🔎] E18qM5V-00015K-00@jidanni.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E18qM5V-00015K-00@jidanni.org>
User-Agent: Mutt/1.5.3i
Delivered-To: 183470-done@bugs.debian.org
X-Spam-Status: No, hits=-3.3 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

On Wed, Mar 05, 2003 at 07:44:45AM +0800, Dan Jacobson wrote:
> Package: dpkg
> Version: 1.10.9
> Severity: minor
> File: /usr/bin/dpkg
> 
> Can't dependency problems be checked before the user blows away his
> good version?
> 
> # dpkg -i /tmp/gnucap_0.33-2_i386.deb 
> (Reading database ... 214178 files and directories currently installed.)
> Preparing to replace gnucap 1:0.33-1 (using /tmp/gnucap_0.33-2_i386.deb) ...
> Unpacking replacement gnucap ...
> dpkg: dependency problems prevent configuration of gnucap:
>  gnucap depends on libgcc1 (>= 1:3.2.3-0pre2); however:
>   Version of libgcc1 on system is 1:3.2.2-0pre8.
>  gnucap depends on libstdc++5 (>= 1:3.2.3-0pre2); however:
>   Version of libstdc++5 on system is 1:3.2.2-0pre8.
> dpkg: error processing gnucap (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  gnucap
> 
> Yes, I know about apt. I'm wondering why you can;t move the check just
> a little earlier in the sequence of events.

It's a chain of events based on definitions. gnucap depends on libgcc1,
which by definition means that libgcc1 needs to be installed before
gnucap can be configured. That does not mean it needs to be installed
before gnucap is. That would be a pre-depends (a depend which must be
satisfied before a package is even unpacked).

Making your change would break all installs, even with apt and dselect.

It's not uncommon to make use of this as a feature, which is why we have
the difference between depends and pre-depends.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: