Re: using dpkg

From: Roberto C. Sanchez (roberto_at_familiasanchez.net)
Date: 08/30/05

  • Next message: kamaraju kusumanchi: "Re: autoconfig XF86Config"
    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
    


  • Next message: kamaraju kusumanchi: "Re: autoconfig XF86Config"

    Relevant Pages

    • Errors applying kernel patch 118833-36
      ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
      (SunManagers)
    • Re: Strange problem with apt
      ... I didn't know about the dpkg-divert command but yeah, ... Now any time I try using apt or dpkg, ... > now as I can't install or uninstall that package using apt or dpkg. ...
      (Ubuntu)
    • Re: problem installing gparted
      ... I tried dpkg, ... "sudo dpkg -i gparted" produces the following ... package brings up GDebi Package Installer. ... After I did all that, it let me install gparted, so now Gnome ...
      (Ubuntu)
    • Re: Bug or normal behaviour with dpkg -S ?
      ... As I did have this tools I wanted to know which package installed ... so dpkg does not know about it. ... my request dpkg -S do find the package which has installed a symlink ...
      (Debian-User)
    • Re: Bug or normal behaviour with dpkg -S ?
      ... As I did have this tools I wanted to know which package installed ... so dpkg does not know about it. ... my request dpkg -S do find the package which has installed a symlink ...
      (Debian-User)