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

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



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


Reply to: