JohnB wrote: 
> The entry I have in my etc/apt/sources.list is: 
> 
> > 
Code:
--------------------
  >   > deb http://debian.slimdevices.com stable main
--------------------
> > 
> 
> (I USUALLY HAVE IT REMMED OUT TO PREVENT ANY ACCIDENTAL UPDATES.)
> 
FYI, that's not very secure. It protects you from upgrading only if the
package can't be found in any other source.
Although it is a bit involved, using a "preferences" file in /etc/apt,
or a snippet of the name of your choosing in /etc/apt/preferences.d/ is
the way of securing a package in place. 
Unless things have changed for the better, a preferences file cannot
include comments. Beware.
But you can use a variety of statements, and wildcards. Lookup "apt
pinning" for details. 
I dug out a prefs file from an old machine that had tight requirements.
It goes like this:
Code:
--------------------
    # head -12  /etc/apt/preferences
  Package: squeezecenter
  Pin: release a=stable
  Pin-Priority: 1001
  
  Package: phpsysinfo
  Pin: version 3.0~rc6-1
  Pin-Priority: 1000
  
  Package: lm-sensors
  Pin: version 1:3.0.2*
  Pin-Priority: 1000
  …
--------------------


------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=96501

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to