Re: [QUESTION] DPKG
Le samedi 14 mai 2005 à 19:15 +0000, Jean-Luc Coulon (f5ibh) a écrit :
> Le 14.05.2005 21:07:19, debian-list a écrit :
> > Bonjours
> >
> > dpkg --root=/home/myfakeroots/apache -i apache_1.3.33-4_i386.deb
> >
> > il me fait:
> > dpkg: unable to access dpkg status area: No such file or directory
> >
> > :s --root=/home/myfakeroots/apache existe et apache_1.3.33-4_i386.deb
> > aussi (je suis dans /var/cache/apt/archives
> >
> > si quelqu'un pourrai me donnée la syntax exacte pour changé le
> > repertoire d'installation d'un package.deb
> >
> > au lieu qu'il sois installé dans / dans home/myfakeroots/apache
>
> Il me semble que votre syntaxe est correcte mais j'utilise :
>
> dpkg -i --instdir=/home/myfakeroots/apache apache_1.3.33-4_i386.deb
>
> (peut-être l'ordre du -i et du --root ?)
>
dpkg -i --instdir=/home/myfakeroots/apache/ apache_1.3.33-4_i386.deb
(Reading database ... 14670 files and directories currently installed.)
Preparing to replace apache 1.3.33-4 (using
apache_1.3.33-4_i386.deb) ...
dpkg (subprocess): unable to execute new pre-installation script: No
such file or directory
dpkg: error processing apache_1.3.33-4_i386.deb (--install):
subprocess pre-installation script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: No such
file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
apache_1.3.33-4_i386.deb
et pour --root dans n'importe quel ordre sa marche pas :s
> >
> > merci :p
>
> J-L
Reply to: