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

Bug#25462: marked as done (dpkg: won't run a maintainer script using /bin/true)



Your message dated Thu, 6 Aug 1998 16:01:19 +0100 (BST)
with message-id <13769.50495.483793.800869@chiark.greenend.org.uk>
and subject line Bug#25462: dpkg: won't run a maintainer script using /bin/true
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'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 6 Aug 1998 13:47:05 +0000
Received: (qmail 4726 invoked from network); 6 Aug 1998 13:47:04 -0000
Received: from pcsw104b.ukc.ac.uk (129.12.41.137)
  by debian.novare.net with SMTP; 6 Aug 1998 13:47:04 -0000
Received: from merry.bs.net (cpb4@localhost)
	by pcsw104b.ukc.ac.uk (8.8.8/8.8.8/Debian/GNU) with floppy id OAA11151;
	Thu, 6 Aug 1998 14:46:54 +0100
Date: Thu, 6 Aug 1998 14:46:54 +0100
Message-Id: <[🔎] 199808061346.OAA11151@pcsw104b.ukc.ac.uk>
To: submit@bugs.debian.org
From: Charles Briscoe-Smith <cpbs@debian.org>
Subject: dpkg: won't run a maintainer script using /bin/true

Package: dpkg
Version: 1.4.0.23.2
Severity: normal

I'm sure I tested the prerm scripts of my zcode game packages (which are
all as shown at the start of the transcript below) before releasing them,
and they worked fine then.  AFAICT, dpkg must have changed since then,
to have this effect:

merry$ cat /var/lib/dpkg/info/gsn-jigsaw.prerm 
#!/bin/true
merry$ /var/lib/dpkg/info/gsn-jigsaw.prerm remove
merry$ echo $?
0
merry$ sudo dpkg -r gsn-jigsaw
(Reading database ... 16863 files and directories currently installed.)
Removing gsn-jigsaw ...
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing gsn-jigsaw (--remove):
 subprocess pre-removal script returned error exit status 2
Update-menus: waiting for dpkg to finish (forking to background)
Update-menus: (checking /var/lib/dpkg/lock)
Errors were encountered while processing:
 gsn-jigsaw
merry$ 

I would be extremely surprised if there was some general problem with
using /bin/true as a script interpreter for null scripts... especially
since the script works when I execute it by hand.

(What's ironic is that I added these null prerm scripts to enable
upgrading smoothly from a previous buggy situation where the old game
packages' prerm scripts needed a support package installed which the
game packages only depended on indirectly...)

-- 
Charles Briscoe-Smith
White pages entry, with PGP key: <URL:http://alethea.ukc.ac.uk/wp?95cpb4>
PGP public keyprint: 74 68 AB 2E 1C 60 22 94  B8 21 2D 01 DE 66 13 E2


--  
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: