Re: Apt: evitar actualizacion de un paquete concreto.
El Thu, Sep 21, 2000,
Paco Brufal...
> > ¿Se pueden indicar paquetes "intocables"?
> echo "kernel-image hold" | dpkg --set-selections
Gracias Paco, y a todos los que han contestado, que
seguramente estarán intrigados como yo en saber de dónde
deduciste que se podría hacer así, porque yo por lo menos solo
he sabido colocar esa etiqueta desde `dselect', O:-)
Por cierto, por privado me comentan que lea el último Debian
Weekly News - 2000-9-19, que comentan algo a este respecto. Y
sí,
An important new set of features have been checked into
apt's development cvs branch. They allow apt to "pin"
packages at a particular version or Debian release, so they
will not be upgraded even if apt sees that newer versions
are available. This makes it possible to add both stable
and unstable to sources.list, configure apt to only use
stable by default, and override apt at the command line as
needed to easily download packages from unstable. Other uses
include downgrading, and controlling how apt uses third party
repositories such as Helix GNOME, and other things we are only
beginning to think of. Jason Gunthorpe adds, "Sadly, I don't
have a complete set of docs for this function yet, and I'm not
finished my major source-incompatible changes to the library
so this code isn't going into unstable for a good while yet."
De todas formas, mientras disponemos del nuevo apt, la
solución "hold" será efectiva. Además he colocado la siguiente
línea en el `/etc/apt/apt.conf':
APT::Ignore-Hold "true";
Saludos.
--
______________________________________________________
Cosme P. Cuevas - ICQ 86011094 - GnuPG KeyID: 0A4305FB
http://www.geocities.com/CollegePark/Lounge/8698/
------------------------------------------------------
Reply to: