Debian bug report logs - #1408 , boring messages ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1408: xfig always asks about colour/mono Reply-To: Ian Jackson , debian-bugs@pixar.com Resent-From: Ian Jackson Resent-To: debian-devel@pixar.com Resent-Date: Wed, 20 Sep 1995 23:53:03 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: xfig X-Debian-PR-Keywords: Received: via spool for debian-bugs; Wed, 20 Sep 1995 23:53:03 GMT Received: with rfc822 via encapsulated-mail; Wed, 20 Sep 1995 23:52:20 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0svYuQ-000GBUA; Wed, 20 Sep 95 16:50 PDT Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA03396 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 20 Sep 1995 16:50:15 -0700 Received: by bootes.cus.cam.ac.uk (Smail-3.1.29.0 #36) id m0svYuD-000C0AA; Thu, 21 Sep 95 00:50 BST Received: by chiark id (Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 21 Sep 95 00:11 BST Message-Id: Date: Thu, 21 Sep 95 00:11 BST From: Ian Jackson To: Debian bugs submission address Precedence: air-mail Package: xfig Version: 3.1.3-4 Setting up xfig ... There are two application defaults (app-defaults) files for xfig -- Xfig-mono and Xfig-color. Which one would you like to use? [c/m] c Linking Xfig-color to Xfig...done [later] chiark:binary> really dpkg -i graphics/xfig-3.1.3-4.deb (Reading database ... 16249 files and directories currently installed.) Preparing to replace xfig (using graphics/xfig-3.1.3-4.deb) ... Unpacking replacement xfig ... Setting up xfig ... There are two application defaults (app-defaults) files for xfig -- Xfig-mono and Xfig-color. Which one would you like to use? [c/m] c Linking Xfig-color to Xfig...done It should only ask once, and it should put the link in /etc (in /etc/alternatives or /etc/X11, probably) so that it can be reconfigured by the sysadmin. The postrm should remove the link from /etc when invoked with `purge' (see maintainer-script-args.txt). Ian. ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Ian Jackson Subject: Bug#1408: Acknowledgement (was: xfig always asks about colour/mono) In-Reply-To: References: Thank you for the problem report you have sent regarding Debian GNU/Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. If you wish to submit further information on your problem, please send it to debian-bugs@pixar.com, but please ensure that the Subject line of your message starts with "Bug#1408" or "Re: Bug#1408" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1408: xfig always asks about colour/mono Reply-To: "D.J. Gregor" , debian-bugs@pixar.com Resent-From: "D.J. Gregor" Resent-To: debian-devel@pixar.com Resent-Date: Thu, 21 Sep 1995 01:18:06 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: xfig X-Debian-PR-Keywords: Received: via spool for debian-bugs; Thu, 21 Sep 1995 01:18:06 GMT Received: with rfc822 via encapsulated-mail; Thu, 21 Sep 1995 01:13:42 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0svaBr-000GBdC; Wed, 20 Sep 95 18:12 PDT Received: from gregor.com (gregor.coil.com) by pixar.com with SMTP id AA08482 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 20 Sep 1995 18:12:10 -0700 Received: from gregor.com (dgregor@localhost [127.0.0.1]) by gregor.com (8.6.10/8.6.10) with ESMTP id VAA23476; Wed, 20 Sep 1995 21:22:13 -0400 Message-Id: <199509210122.VAA23476@gregor.com> X-Mailer: exmh version 1.6 4/21/95 To: Ian Jackson , debian-bugs@Pixar.com In-Reply-To: Your message of "Thu, 21 Sep 1995 00:11:00 -0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 Sep 1995 21:22:05 -0400 From: "D.J. Gregor" Ian, I need a few clarifications of things. I have been very busy lately with my workload at school, and I have not been able to keep up. First, the postinst in my Xfig package checks for the existence of the Xfig app-defaults file, and if it exists, it does not ask you if you want color or mono. Secondly, the postrm removes the Xfig link. Now, my question is - does dpkg run a "remove" and then an "install" again when it is updating packages? That would explain why you are getting asked more than once. (BTW - the version of dpkg that I am using does not do this...) Also, the app-defaults file is simply that - an application _default_. It is meant to be there in case there are no other resources for that application. I am sorry to be hard-headed, and it is probably caused by my not being up to date on things, but I think that the current means of dealing with color or monochrome support for the app-defaults in fine. I will change it if there is a good reason to do so. (again, I am not up to date, so I do not know of any good alternatives). If you could give me a little explanation of one or two ways to do it, or point me to some documentation, I will be happy to consider it. Thanks for the bug report :-), --D.J. Gregor, dgregor@gregor.com ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: "D.J. Gregor" Subject: Bug#1408: Info received (was Bug#1408: xfig always asks about colour/mono) In-Reply-To: <199509210122.VAA23476@gregor.com> References: <199509210122.VAA23476@gregor.com> Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developers to accompany the original report. If you wish to continue to submit further information on your problem, please do the same thing again: send it to debian-bugs@pixar.com, ensuring that the Subject line starts with "Bug#1408" or "Re: Bug#1408" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#1408: xfig always asks about colour/mono Reply-To: Ian Jackson , debian-bugs@pixar.com Resent-From: Ian Jackson Resent-To: debian-devel@pixar.com Resent-Date: Thu, 21 Sep 1995 21:03:03 GMT Resent-Message-ID: Resent-Sender: iwj10@cus.cam.ac.uk X-Debian-PR-Package: xfig X-Debian-PR-Keywords: Received: via spool for debian-bugs; Thu, 21 Sep 1995 21:03:03 GMT Received: with rfc822 via encapsulated-mail; Thu, 21 Sep 1995 20:51:43 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0svsZr-0003aNA; Thu, 21 Sep 95 13:50 PDT Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA27442 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 21 Sep 1995 13:50:16 -0700 Received: by bootes.cus.cam.ac.uk (Smail-3.1.29.0 #36) id m0svsZi-000BzVA; Thu, 21 Sep 95 21:50 BST Received: by chiark id (Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 21 Sep 95 21:51 BST Message-Id: Date: Thu, 21 Sep 95 21:51 BST From: Ian Jackson To: Debian bugs submission address In-Reply-To: <199509210122.VAA23476@gregor.com> References: <199509210122.VAA23476@gregor.com> Precedence: air-mail D. J. Gregor writes ("Re: Bug#1408: xfig always asks about colour/mono "): > I need a few clarifications of things. I have been very busy > lately with my workload at school, and I have not been able to keep up. > > First, the postinst in my Xfig package checks for the existence > of the Xfig app-defaults file, and if it exists, it does not ask you if > you want color or mono. Secondly, the postrm removes the Xfig link. > > Now, my question is - does dpkg run a "remove" and then an > "install" again when it is updating packages? That would explain why > you are getting asked more than once. dpkg runs the postrm script, yes. See project/standards/maintainer-script-args.txt (this may still be in Incoming). You can tell from the arguments to the maintainer script whether the package is being removed or upgraded. In any case, you shouldn't remove the link unless the package's configuration files are purged (dpkg --purge, postrm script called with `purge'). > (BTW - the version of dpkg that I > am using does not do this...) Wibble. What version are you running ? I believe all versions since around 0.93.10 (November 1994) do. > Also, the app-defaults file is simply that - an application > _default_. It is meant to be there in case there are no other > resources for that application. I am sorry to be hard-headed, and > it is probably caused by my not being up to date on things, but I > think that the current means of dealing with color or monochrome > support for the app-defaults in fine. I will change it if there is > a good reason to do so. (again, I am not up to date, so I do not know > of any good alternatives). If you could give me a little explanation > of one or two ways to do it, or point me to some documentation, I will > be happy to consider it. I'm suggesting you arrange for /usr/..../app-defaults/Xfig -> /etc/X11/xfig-appdefaults in the package. Then, the postinst arranges for /etc/X11/xfig-appdefaults -> /usr/.../app-defaults/Xfig.colour (with a prompt) if it doesn't find one already, and this link is only removed during postrm purge. Ian. ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: Ian Jackson Subject: Bug#1408: Info received (was Bug#1408: xfig always asks about colour/mono) In-Reply-To: References: Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developers to accompany the original report. If you wish to continue to submit further information on your problem, please do the same thing again: send it to debian-bugs@pixar.com, ensuring that the Subject line starts with "Bug#1408" or "Re: Bug#1408" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov