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

installer des paquets n'importe ou (fut: Portages Debian)



Stephane Bortzmeyer a écrit :

> On Thursday 10 February 2000, at 0 h 56, the keyboard of Martin Quinson 
> <mquinson@zeppelin-cb.de> wrote:
> 
> > Ca, c'est facile : 
> > 
> > mt@nestor: ~> dpkg --help 
> > 
> > [...]
> > 
> > Options:
> >   --admindir=<directory>     Use <directory> instead of /var/lib/dpkg
> >   --root=<directory>         Install on alternative system rooted elsewhere
> >   --instdir=<directory>      Change inst'n root without changing admin dir
> 
> Et si le postinst fait un truc du genre :
> 
> machin /usr/lib/chose
> 
> ? À ma connaissance, dpkg ne chroote pas.

Ben...
mt@nestor:~> man dpkg
[...]
       -R | --root=dir | --admindir=dir | --instdir=dir
              Change default directories.  admindir  defaults  to
              /var/lib/dpkg  and  contains  many  files that give
              information about  status  of  installed  or  unin­
              stalled  packages,  etc.  instdir defaults to / and
              refers to the directory where packages  are  to  be
              installed.  instdir is also the directory passed to
              chroot(2)  before  running  package's  installation
              scripts,  which  means that the scripts see instdir
              as a root directory.  Changing root changes instdir
              to dir and admindir to dir/var/lib/dpkg.

Mais j'ai jamais testé ces options, je fais betement confiance à la
doc...

Bye, Mt.

-- 
La FAQ de la liste debian-french@lists.debian.org se trouve à l'adresse :
http://www.ens-lyon.fr/~mquinson/debian/faq-french/



Reply to: