OVH Cloud OVH Cloud

[QUESTION] DPKG

2 réponses
Avatar
debian-list
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

merci :p


--
Pensez

2 réponses

Avatar
Jean-Luc Coulon (f5ibh)
--=-0qyMwiTMMf91/wUpmSyo
Content-Type: text/plain; charset=iso-8859-15; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 ?)


merci :p



J-L

--=-0qyMwiTMMf91/wUpmSyo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBChk5gUdGGXzzGnNARAvAzAJ9ubp6SY5TfFR99OfaNwa5hy0EO5QCeIS63
IxcE/SSOPIjzqopOzPZ+KOU =jptV
-----END PGP SIGNATURE-----

--=-0qyMwiTMMf91/wUpmSyo--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
debian-list
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




--
Pensez