Debian bug report logs - #1644
dselect out of sync with dpkg

Package: dpkg; Reported by: rdm@tad.micro.umn.edu (Raul Miller); Done: Ian Jackson <iwj10@cus.cam.ac.uk>.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Wed Oct 11 17:29:42 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t3BWo-0006FbC; Wed, 11 Oct 95 17:29 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA17085
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 17:29:18 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0t3BWf-000C00C; Thu, 12 Oct 95 01:29 BST
Received: by chiark
	id <m0t3B0B-0002aAZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 12 Oct 95 00:55 BST
Message-Id: <m0t3B0B-0002aAZ@chiark.al.cl.cam.ac.uk>
Date: Thu, 12 Oct 95 00:55 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: debian-bugs@pixar.com
Subject: Re: Bug#1644: dselect out of sync with dpkg

Raul Miller writes ("Bug#1644: dselect out of sync with dpkg"):
> More info:
> 
> this was caused by the absence of the emacs .deb file.  Basically, I
> would classify it as a difficult to interpret set of error messages.

What, precisely, would you like the programs to have said, and can you
think of a way of implementing it ?  Did you try running dpkg --audit ?

> [Are dpkg error messages logged automatically when dselect invokes
> dpkg?  If so, it would be nice to have a "browse error messages from
> this session", and possibly even a "report bug, excerpting session
> log" option from dselect.]

No, error messages aren't logged automatically - this is on the
buglist as #957.

Ian.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1644; Package dpkg. Full text available.

Message received at debian-bugs-done:


From cus.cam.ac.uk!iwj10 Wed Oct 11 12:50:49 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t37Au-0006GVC; Wed, 11 Oct 95 12:50 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA03910
  (5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Wed, 11 Oct 1995 12:49:16 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0t36oD-000C0TC; Wed, 11 Oct 95 20:27 BST
Received: by chiark
	id <m0t36lm-0002ZhZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 11 Oct 95 20:24 BST
Message-Id: <m0t36lm-0002ZhZ@chiark.al.cl.cam.ac.uk>
Date: Wed, 11 Oct 95 20:24 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian developers list <debian-devel@pixar.com>,
        debian-bugs-done@pixar.com
Subject: Re: Bug#1644: dselect out of sync with dpkg

Raul Miller writes [I've edited the screenshot to fit a bit better]:
> Package: dpkg
> Version: 1.0.3
> 
> Here's a screen from dselect:
> 
> dselect - main package listing (by priority)
> HIOS Pri Section  Package      Description
>     ----- All Standard packages in section editors -----
>  -** Std editors  emacs        The GNU Emacs editor.
>   -- Std editors  emacs-nox    GNU Emacs binary (without X11
>   __ Std editors  emacs-x      GNU Emacs binary (with X11 su
>     ----- All Standard packages in section mail -----
>  *** Std mail     biff         A simple mail notification to
>  *** Std mail     elm          A full screen ELectronic Mail 
>  *** Std mail     mh           MH is a set of electronic mai
>  *** Std mail     procmail     Versatile e-mail processor.
> emacs        removed (configs remain);  selected (was: selected).
               ^^^^^^^^^^^^^^^^^^^^^^^^   ^^^^^^^^^^^^^^^^^^^^^^^^

> Here's from the dpkg run immediately preceeding generation of this display:
> 
> dpkg: dependency problems prevent configuration of hyperlatex:
>  hyperlatex depends on emacs; however:
>   Package emacs is not installed.

Yes, that's entirely correct.

> [...]
> I think it's strange that dselect presumes that emacs is installed,
> when in fact it is not.

dselect only thinks that Emacs is *selected*.  It will allow you to
select packages which depend on others that you have selected but not
installed yet.  This is so that you can select all the packages at
once and then install them.

The problem is that you never gave dpkg a copy of emacs*.deb to
install, so it didn't.

> [As an aside, to attempt to fix this problem, I de-selected emacs,
> removed it, then re-selected emacs to attempt to force its
> installation.  This didn't change anything.]

Did you also run [I] for Install from the main dselect menu ?
Are you sure your copy of the FTP site has emacs*.deb ?

> Then again, maybe this isn't a problem with dselect,
> here's what dpkg --status emacs has to say:
> 
> Package: emacs
> Status: install ok config-files
> Priority: standard
> Section: editors
> Maintainer: Ian Murdock <imurdock@debian.org>
> Version: 19.29
> Revision: 1
> Depends: emacs-nox | emacs-x
> Optional: emacs-el
> Conffiles:
>  /etc/site-start.el 67336a514b5873eea3341fb5421182b4
> Description: The GNU Emacs editor.
>  GNU Emacs is the extensible self-documenting text editor.
> 
> On the third hand, when I select emacs I'm not taken into a recursive package listing
> to select emacs-nox or emacs-x, so maybe the problem is with dselect...
> 
> [I had removed emacs-x on the assumption that the emacs distribution had been
> upgraded such that it didn't make a distinction between -x and -nox -- I thought
> there'd been a change such that the X libs were included in base and all
> -x -nox package pairs had been simplified...]

Ah.  This may have something to do with it.  You've done half the job
manually - removing emacs-x and emacs-nox - without doing the other
half - upgrading to a new emacs package that doesn't require them.

If you run the dselect Install option (or use some other means to
provide dpkg with a copy of emacs*.deb) it should put things right.
I'm marking this as don.e

Ian.

Notification sent to rdm@tad.micro.umn.edu (Raul Miller):
Bug acknowledged by developer. Full text available.
Reply sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
You have taken responsibility. Full text available.

Message received at debian-bugs:


From magenta.com!moth Wed Oct 11 10:51:47 1995
Return-Path: <moth@magenta.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t35Jh-000HqBC; Wed, 11 Oct 95 10:51 PDT
Received: from magenta.com by pixar.com with SMTP id AA26809
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 10:51:21 -0700
Received: (moth@localhost) by magenta.com (8.6.12/8.6.4) id NAA06575; Wed, 11 Oct 1995 13:46:49 -0400
Date: Wed, 11 Oct 1995 13:46:49 -0400
Message-Id: <199510111746.NAA06575@magenta.com>
From: Raul Miller <moth@magenta.com>
Reply-To: Raul Miller <moth@magenta.com>
To: debian-bugs@pixar.com
In-Reply-To: <m0t35G7-0007bqC@grus.cus.cam.ac.uk> (iwj10@thor.cam.ac.uk)
Subject: Re: Bug#1644: dselect out of sync with dpkg

More info:

this was caused by the absence of the emacs .deb file.  Basically, I
would classify it as a difficult to interpret set of error messages.

[Are dpkg error messages logged automatically when dselect invokes
dpkg?  If so, it would be nice to have a "browse error messages from
this session", and possibly even a "report bug, excerpting session
log" option from dselect.]

-- 
Raul

Acknowledgement sent to Raul Miller <moth@magenta.com>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1644; Package dpkg. Full text available.

Message received at debian-bugs:


From tad.micro.umn.edu!rdm Wed Oct 11 10:34:46 1995
Return-Path: <rdm@tad.micro.umn.edu>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t353G-000HkfC; Wed, 11 Oct 95 10:34 PDT
Received: from rdm.legislate.com ([192.77.155.13]) by pixar.com with SMTP id AA25225
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 11 Oct 1995 10:34:22 -0700
Received: by rdm.legislate.com
	id <m0t352y-0006iKC@rdm.legislate.com>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 11 Oct 95 13:34 EDT
Message-Id: <m0t352y-0006iKC@rdm.legislate.com>
Date: Wed, 11 Oct 95 13:34 EDT
From: rdm@tad.micro.umn.edu (Raul Miller)
To: debian-bugs@pixar.com
Subject: dselect out of sync with dpkg

Package: dpkg
Version: 1.0.3

Here's a screen from dselect:

dselect - main package listing (by priority)                     +/-=select v=verbose ?=help
HIOS Pri Section  Package      Description
    ----- All Standard packages in section editors -----
 -** Std editors  emacs        The GNU Emacs editor.
  -- Std editors  emacs-nox    GNU Emacs binary (without X11 support).
  __ Std editors  emacs-x      GNU Emacs binary (with X11 support).
    ----- All Standard packages in section mail -----
 *** Std mail     biff         A simple mail notification tool
 *** Std mail     elm          A full screen ELectronic Mail interactive user agent.
 *** Std mail     mh           MH is a set of electronic mail handling programs.  Unlike
 *** Std mail     procmail     Versatile e-mail processor.
emacs        removed (configs remain);  selected (was: selected).  Standard
emacs - The GNU Emacs editor.

GNU Emacs is the extensible self-documenting text editor.





description of emacs 



Here's from the dpkg run immediately preceeding generation of this display:

dpkg: dependency problems prevent configuration of hyperlatex:
 hyperlatex depends on emacs; however:
  Package emacs is not installed.
dpkg: error processing hyperlatex (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of psnfss:
 psnfss depends on texpsfnt; however:
  Package texpsfnt is not installed.
dpkg: error processing psnfss (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 /disk/debian/debian-0.93/binary/x11/xbase-3.1.2-4.deb
 ax25-util
 tin
 hyperlatex
 psnfss

installation script returned error exit status 1.
Press RETURN to continue.



I think it's strange that dselect presumes that emacs is installed, when in fact it is not.

[As an aside, to attempt to fix this problem, I de-selected emacs, removed it, then re-selected
emacs to attempt to force its installation.  This didn't change anything.]

Then again, maybe this isn't a problem with dselect, here's what dpkg --status emacs has to say:

Package: emacs
Status: install ok config-files
Priority: standard
Section: editors
Maintainer: Ian Murdock <imurdock@debian.org>
Version: 19.29
Revision: 1
Depends: emacs-nox | emacs-x
Optional: emacs-el
Conffiles:
 /etc/site-start.el 67336a514b5873eea3341fb5421182b4
Description: The GNU Emacs editor.
 GNU Emacs is the extensible self-documenting text editor.

On the third hand, when I select emacs I'm not taken into a recursive package listing
to select emacs-nox or emacs-x, so maybe the problem is with dselect...

[I had removed emacs-x on the assumption that the emacs distribution had been
upgraded such that it didn't make a distinction between -x and -nox -- I thought
there'd been a change such that the X libs were included in base and all
-x -nox package pairs had been simplified...]

-- 
Raul

Acknowledgement sent to rdm@tad.micro.umn.edu (Raul Miller):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1644; Package dpkg. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov