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

Re: apt



El viernes 29 de septiembre de 2000 a la(s) 15:07:11 +0200, Cosme P. Cuevas contaba:
>
>Yo lo que hago es tener varios archivos con las diferentes
>combinaciones (en mi caso 2) y mediante `alias' de la shell
>enlazar a uno de ellos según me interese,
>
>alias aptall='ln -sf /etc/apt/sources.list.original /etc/apt/sources.list'
>alias aptinet='ln -sf /etc/apt/sources.list.inet /etc/apt/sources.list'
>alias aptlocal='ln -sf /etc/apt/sources.list.local /etc/apt/sources.list'

         También puedes borrar el sources.list y llamar a apt-get con el
     parámetro -c, con lo que te ahorras el enlace simbólico:

       -c, --config-file
              Configuration File; Specify a configuration file to
              use. apt-get will read  the  default  configuration
              file   and   then   this  configuration  file.  See
              apt.conf(5) for syntax information.


-- 
 Just do it.

David Serrano <cyberchat2000.com@hue>             Linux Registered User #87069
Hi! I'm a .signature virus!  Copy me into your ~/.signature to help me spread!

Attachment: pgpeyVYh8up7f.pgp
Description: PGP signature


Reply to: