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

Bug#71049: marked as done (apt/dselect ignores hold on forced package with missing dependency)



Your message dated Wed, 6 Sep 2000 20:06:57 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1000906200332.519V-100000@wakko.deltatee.com>
and subject line Bug#71049: apt/dselect ignores hold on forced package with missing dependency
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; 7 Sep 2000 00:38:42 +0000
>From daniel@dsb.smart.net Wed Sep 06 19:38:42 2000
Return-path: <daniel@dsb.smart.net>
Received: from gemini.smart.net [::ffff:207.176.80.109] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13WpiE-0002Pi-00; Wed, 06 Sep 2000 19:38:42 -0500
Received: from dsb.smart.net (mail@dsb.smart.net [207.226.43.112])
	by gemini.smart.net (8.9.1/8.9.1) with ESMTP id UAA18485;
	Wed, 6 Sep 2000 20:38:27 -0400
Received: from daniel by dsb.smart.net with local (Exim 3.12 #1 (Debian))
	id 13WpfB-0001Ln-00; Wed, 06 Sep 2000 20:35:33 -0400
From: Daniel Barclay <dsb@smart.net>
To: submit@bugs.debian.org
Subject: apt/dselect ignores hold on forced package with missing dependency
Message-Id: <[🔎] E13WpfB-0001Ln-00@dsb.smart.net>
Sender: Daniel Barclay <daniel@dsb.smart.net>
Date: Wed, 06 Sep 2000 20:35:33 -0400
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.3.19

Apt (or possibly dselect) won't respect a hold on a package that 
depends on a non-existent package (and that was installed using 
--force-depends). 


Here's the case I'm encountering:

1.  I install hamm's splay_0.8.2-1.deb using --force-depends (because
    potato doesn't have package qt1g; it is named differently in potato):

        dpkg --install --force-depends ...splay_0.8.2-1.deb


2.  I go into dselect, using the apt method, and dselect lists package 
    splay as expected:

            ...
            Updated Optional packages in section sound 
        *** Opt sound    splay        0.8.2-1     0.8.2-10    Sound player for MPEG-1,2 layer 1,2,3
            ...


3.  I type "=" to hold splay.  Dselect warns that splay depends on qt1g,
    but that qt1g is not available.  That warning is fine.  (I knew that;
    that's why I installed the old splay using --force-depends.)


4.  I set everything else to hold.


5.  I proceed with the Install step, expecting dselect/apt to install
    nothing (since everything is on hold).

    However, the apt method tries to upgrade splay:

        Reading Package Lists... Done
        Building Dependency Tree... Done
        Correcting dependencies... Done
        The following held packages will be changed:
          splay
        1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        Need to get 0B/55.2kB of archives. After unpacking 197kB will be freed.
        Do you want to continue? [Y/n]


The fact that apt and dselect don't abide by the hold status would seem to 
be a bug.  Is it?  

(Yes, I know I'm not using things the most smoothly, not doing whatever
I should to tell apt to pretend that qt1g is installed or whatever.  
However, it seems that apt should still respect a command to hold a
package.)



Daniel
-- 
Daniel Barclay
dsb@smart.net
(Hmm.  A little worrisome:  http://www.junkbusters.com/cgi-bin/privacy
                            http://www.anonymizer.com/snoop.cgi )

---------------------------------------
Received: (at 71049-done) by bugs.debian.org; 7 Sep 2000 02:08:07 +0000
>From jgg@ualberta.ca Wed Sep 06 21:08:07 2000
Return-path: <jgg@ualberta.ca>
Received: from pilsener.srv.ualberta.ca [::ffff:129.128.5.19] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13Wr6k-0007s3-00; Wed, 06 Sep 2000 21:08:06 -0500
Received: from wakko.deltatee.com (async3-11.remote.ualberta.ca [129.128.238.52])
	by pilsener.srv.ualberta.ca (8.10.2/8.10.2) with ESMTP id e8726wp19580;
	Wed, 6 Sep 2000 20:06:58 -0600 (MDT)
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 13Wr5d-0004ce-00 (Debian); Wed, 6 Sep 2000 20:06:57 -0600
Date: Wed, 6 Sep 2000 20:06:57 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
Reply-To: Jason Gunthorpe <jgg@ualberta.ca>
To: Daniel Barclay <dsb@smart.net>, 71049-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#71049: apt/dselect ignores hold on forced package with missing dependency
In-Reply-To: <[🔎] E13WpfB-0001Ln-00@dsb.smart.net>
Message-ID: <[🔎] Pine.LNX.3.96.1000906200332.519V-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 71049-done@bugs.debian.org


On Wed, 6 Sep 2000, Daniel Barclay wrote:

> The fact that apt and dselect don't abide by the hold status would seem to 
> be a bug.  Is it?  

When using APT it is not possible to have the situation you want. It is
very insistent that all deps be met - that is part of why it exists.

I recommend a few possible solutions:
  + Edit the status file to fix that dependency and hold the
    package
  + Rebuild the package and fix the dependency
  + Use something like equivs..

Jason




Reply to: