Re: using dpkg
From: Roberto C. Sanchez (roberto_at_familiasanchez.net)
Date: 08/30/05
- Previous message: Abin: "Re: autoconfig XF86Config"
- In reply to: Paras pradhan: "using dpkg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 08:59:44 -0400 To: debian-user@lists.debian.org
On Tue, Aug 30, 2005 at 06:28:58PM +0545, Paras pradhan wrote:
> hi:
>
> how can i install deb files without executing it's preinst and postinst
> file.. is it possible to pass parameters in dpkg -i ?
>
The closest you might be able to get is to use dpkg -x to unpack the
archive directly. However, dpkg will not actually know that it is
installed. You could also build a custom version of the package without
the scripts. You can check out my page for a HOWTO describing package
customization:
http://familiasanchez.net/~roberto/?page=debcustomize
You could also install the package on another machine, remove the
scripts from where they are installed (or make them empty files) in
/var/lib/dpkg/info/, and then use dpkg-repack to rebuild the same .deb
package without the scripts.
-Roberto
-- Roberto C. Sanchez http://familiasanchez.net/~roberto
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: stored
- Previous message: Abin: "Re: autoconfig XF86Config"
- In reply to: Paras pradhan: "using dpkg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|