[Secure-testing-team] [bug??] apt pinning on testing/etch secuirty archive

Colin Ingram synergymus at gmail.com
Tue Sep 20 14:16:02 UTC 2005


[please CC me Im not on the list]

I am unable to pin packages from the repository using the a=testing 
option, only a=etch works. (the opposite is the case for official 
repositories but thats a different email) I was unable to determine why 
since it seems your release files are in order.  screen shots below

When Pin: release a=testing is set...........

**********************************************************
colin at Alfalfa:~$ cat /etc/apt/preferences
Package: *
Pin: release a=sarge
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 80

Package: *
Pin: release a=unstable
Pin-Priority: 50
colin at Alfalfa:~$
**********************************************************

sarge testing updates are not pinned 80.

**********************************************************
colin at Alfalfa:~$ sudo aptitude
f10: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
     Vi IMproved - enhanced vi editor
    --- vim-python (< 6.0)
    --- vim-rt
    --- vim-tcl (< 6.0)
    --- vim-tiny
    --- vim-tty (< 6.0)
  --\ Replaces
    --- vim-rt
    --- vim-tiny (< 6.0)
    --- vim-perl (< 6.0)
    --- vim-python (< 6.0)
    --- vim-tcl (< 6.0)
    --- vim-tty (< 6.0)
    --- vim-gtk (< 6.0)
    --- vim-lesstif (< 6.0)
    --- kvim (< 1:6.2.135+1)
  --- Package names provided by vim
  --- Packages which depend on vim
  --\ Versions
p  80   1:6.3-086+1
p  500  1:6.3-085+0.0etch1
i  500  1:6.3-071+1
     Vi IMproved - enhanced vi editor
**********************************************************

However if I add release a=etch....................

**********************************************************
colin at Alfalfa:~$ cat /etc/apt/preferences
Package: *
Pin: release a=sarge
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 80

Package: *
Pin: release a=etch
Pin-Priority: 80

Package: *
Pin: release a=unstable
Pin-Priority: 50
**********************************************************

It works!!

**********************************************************
colin at Alfalfa:~$ sudo aptitude
f10: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
     Vi IMproved - enhanced vi editor
    --- vim-python (< 6.0)
    --- vim-rt
    --- vim-tcl (< 6.0)
    --- vim-tiny
    --- vim-tty (< 6.0)
  --\ Replaces
    --- vim-rt
    --- vim-tiny (< 6.0)
    --- vim-perl (< 6.0)
    --- vim-python (< 6.0)
    --- vim-tcl (< 6.0)
    --- vim-tty (< 6.0)
    --- vim-gtk (< 6.0)
    --- vim-lesstif (< 6.0)
    --- kvim (< 1:6.2.135+1)
  --- Package names provided by vim
  --- Packages which depend on vim
  --\ Versions
p  80   1:6.3-086+1
p  80   1:6.3-085+0.0etch1
i  500  1:6.3-071+1
     Vi IMproved - enhanced vi editor
**********************************************************



As I said the opposite is true for the main repository (i.e. if I only 
have release a= etch then security updates will be pinned 80 and main 
will be pinned 500).  I don't mind having both in my apt preferences but 
I just though you would like to know about the inconsistency.




More information about the Secure-testing-team mailing list