Debian Bug report logs - #39893
dpkg: please add option to ignore pre{inst,rm} script

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg.

Reported by: brinkmd@debian.org

Date: Mon, 21 Jun 1999 18:48:00 UTC

Severity: wishlist

Merged with 518719

Found in versions 1.4.1.3, dpkg/1.14.25

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#39893; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to brinkmd@debian.org:
New bug report received and forwarded. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: brinkmd@debian.org
To: submit@bugs.debian.org
Subject: dpkg: please add option to ignore pre{inst,rm} script
Date: Mon, 21 Jun 1999 19:09:30 +0200
Package: dpkg
Version: 1.4.1.3
Severity: wishlist

Hello,

when dpkg is used to install packages on another system ("--root"), there
should be a way to ignore the packaging scripts. --unpack helps, as it
doesn't run the post* scripts, but pre* scripts are always run. I would like
to have an option not to run the pre* scripts at all
(--force-ignore-preinst and --force-ignore-prerm for example).

That would make things a lot easier under some special circumstances.

Thanks,
Marcus

-- System Information
Debian Release: potato
Kernel Version: Linux ulysses 2.1.106 #1 SMP Sat Jun 20 23:27:39 CEST 1998 i586 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.1.1-11       GNU C Library: Shared libraries and timezone
hi  libncurses4     4.2-3.2        Shared libraries for terminal handling
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#39893; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to Wichert Akkerman <wichert@cs.leidenuniv.nl>:
Extra info received and forwarded to list. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #10 received at 39893@bugs.debian.org (full text, mbox):

From: Wichert Akkerman <wichert@cs.leidenuniv.nl>
To: brinkmd@debian.org, 39893@bugs.debian.org
Subject: Re: Bug#39893: dpkg: please add option to ignore pre{inst,rm} script
Date: Tue, 22 Jun 1999 00:23:22 +0200
[Message part 1 (text/plain, inline)]
Previously brinkmd@debian.org wrote:
> That would make things a lot easier under some special circumstances.

dpkg --fsys-tarfile package.deb | (cd / ; tar xf - )

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#39893; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>:
Extra info received and forwarded to list. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #15 received at 39893@bugs.debian.org (full text, mbox):

From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: Wichert Akkerman <wichert@cs.leidenuniv.nl>, 39893@bugs.debian.org
Subject: Re: Bug#39893: dpkg: please add option to ignore pre{inst,rm} script
Date: Tue, 22 Jun 1999 00:52:24 +0200
On Tue, Jun 22, 1999 at 12:23:22AM +0200, Wichert Akkerman wrote:
> Previously brinkmd@debian.org wrote:
> > That would make things a lot easier under some special circumstances.
> 
> dpkg --fsys-tarfile package.deb | (cd / ; tar xf - )

unfortunately, this will not care about dependencies and will not update the
status database. What I do is extracting the tar file, unpacking the control
file, removing the pre* scripts, repackaging the file, and then running dpkg
--unpack on it. This works fine. I then move the pre* scripts into the
dpkg database area manually.

This is all done by cross-install, which I use to install the Hurd. The only
drawback is that it is very slow, because the package needs tobe extracted
twice and rebuild once.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Merged 39893 518719. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Wed, 05 Aug 2009 07:36:10 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 07:57:57 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.