Re: downgrading from unstable to testing

2002-09-12 Thread Adrian 'Dagurashibanipal' von Bidder

On Thu, 2002-09-12 at 02:51, Matthew Weier O'Phinney wrote:
 --Adrian 'Dagurashibanipal' von Bidder [EMAIL PROTECTED] wrote
 (on Wednesday, 11 September 2002, 03:53 PM +0200):
[...]

  As downgrades are often not properly supported, you'll probably want to
  do the same (or remove unstable sources alltogether), unless some
  packages are really broken. As long as it works, I would not actively
  downgrade any packages.
 Unfortunately, some of the packages no longer work -- and as I need to
 _use_ the machine, I need a certain degree of stability. I also need to
 have a machine a little more on the bleeding edge than woody.

Ok, then I would definitely recommend mixing stable and unstable.

  I have to set up my preferences file to prefer testing/updates with
  priority 750, and normally use just testing with 700. (this assumes
  you've read man apt_preferences). 
 I've read apt_preferences, and here are the contents of my
 /etc/apt/preferences file:
 
 Package: *
 Pin: release v=3.*,a=testing,c=*,o=*,l=Debian
 Pin-Priority: 1001

1001 should be ok (I've never tried it, though, as the just wait
approach has worked for me so far).

 I have also changed my sources.list to point only at testing for the
 time being. When I do an apt-show-versions -u, however, no packages are
 returned (well, on the first try, 7 were, but they were actual upgrades
 to what I had... hmmm..).
 
 I suspect that either I have the Pin wrong, or that I need to bump the
 Pin-Priority even higher... Anybody have any ideas?

Hmm. Are packages actually assigned prio 1001? What does 
apt-policy somepkg say?

My preferences file is:
===
Package: *
Pin: release l=Debian-Security
Pin-Priority: 750

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

Package: *
Pin: release a=stable
Pin-Priority: 600
===

Where stable is in mostly to catch the stupid sort of thing that
happened to gnome-terminal. It's important that the Debian-Security
thing is first, because a=testing catches also testing-security (haven't
looked if packages ever come in here) and a=stable catches also
stable-security.

My sources.list ist (careful, linebreaks!)

===
deb http://security.debian.org/ testing/updates main non-free contrib

deb http://debian.ethz.ch/mirror/debian/ testing main non-free contrib
deb http://debian.ethz.ch/mirror/debian-non-US/ testing/non-US main non-free contrib

deb http://security.debian.org/ stable/updates main non-free contrib

deb http://debian.ethz.ch/mirror/debian/ stable main non-free contrib
deb http://debian.ethz.ch/mirror/debian-non-US/ stable/non-US main non-free contrib

deb http://debian.ethz.ch/mirror/debian/ unstable main non-free contrib
deb http://debian.ethz.ch/mirror/debian-non-US/ unstable/non-US main non-free contrib
===

(well, almost. I use apt-cacher in between).

cheers
-- vbi

-- 
secure email with gpg   http://fortytwo.ch/gpg

NOTICE: subkey signature! request key 92082481 from keyserver.kjsl.com



signature.asc
Description: This is a digitally signed message part


Re: downgrading from unstable to testing

2002-09-12 Thread Kevin Coyner




On Thu, Sep 12, 2002 at 10:26:45AM +0200, Adrian 'Dagurashibanipal' von Bidder 
wrote..
 
 My preferences file is:
 ===
 Package: *
 Pin: release l=Debian-Security
 Pin-Priority: 750
 
 Package: *
 Pin: release a=testing
 Pin-Priority: 700
 
 Package: *
 Pin: release a=stable
 Pin-Priority: 600
 ===

I've been following this thread of downgrading and preferences file, and
decided to see what my preference file settings were (I'm a debian
newbie).  Surprise when I found that I didn't have one in /etc/apt/.  I
presume there's a built-in set of defaults and that you only need a
preferences file if you want to customize.

If I want to live my debian life in the middle with 'testing', should I
create a preferences file?  If I don't, and just put entries for testing
at the top of my sources list, does that mean the apt-get function will
never descend down beyond the first entries of sources.list?

Thanks
Kevin




msg01950/pgp0.pgp
Description: PGP signature


Re: downgrading from unstable to testing

2002-09-12 Thread Josh McKinney

On approximately Thu, Sep 12, 2002 at 07:49:08AM -0400, Kevin Coyner wrote:
 
 If I want to live my debian life in the middle with 'testing', should I
 create a preferences file?  If I don't, and just put entries for testing
 at the top of my sources list, does that mean the apt-get function will
 never descend down beyond the first entries of sources.list?
 
 Thanks
 Kevin
 

If you just want to use testing you don't need a preferences file.  apt will
always install the latest version available.

Josh
-- 
Linux, the choice| Health nuts are going to feel stupid
of a GNU generation -o)  | someday, lying in hospitals dying of
Kernel 2.4.19-ck5-ll /\  | nothing.   -- Redd Foxx 
on a Athlon-XP  _\_v | 
 | 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: downgrading from unstable to testing

2002-09-11 Thread Peter Sharp

Matthew wrote:
 , so my big question of theday is: how do I 
 downgrade from unstable to testing? I know I 
 cansimply change my apt.sources list to point at 
 testing, but since mostof the software I have 
 installed is of a newer version than sarge, won'tit 
 simply keep telling me I already have the latest 
 version?Any pointers -- to the correct manuals or 
 otherwise -- would be greatlyappreciated

I think if you pin the packages with a pin-priority of
greather than 1000 then they will be downgraded - see
the up to date APT-Howto at:

http://www.debian.org/doc/manuals/apt-howto/index.en.html

Pete

(Too frightened to run unstable myself!)

__
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: downgrading from unstable to testing

2002-09-11 Thread Matthew Weier O'Phinney

--Adrian 'Dagurashibanipal' von Bidder [EMAIL PROTECTED] wrote
(on Wednesday, 11 September 2002, 03:53 PM +0200):
 On Wed, 2002-09-11 at 15:23, Matthew Weier O'Phinney wrote:
  so my big question of the
  day is: how do I downgrade from unstable to testing? I know I can
  simply change my apt.sources list to point at testing, but since most
  of the software I have installed is of a newer version than sarge, won't
  it simply keep telling me I already have the latest version?
 
 I also started out with mostly everything from unstable, and I never did
 downgrade, but I just waited for the packages to trickle down to
 testing.
 
 As downgrades are often not properly supported, you'll probably want to
 do the same (or remove unstable sources alltogether), unless some
 packages are really broken. As long as it works, I would not actively
 downgrade any packages.
Unfortunately, some of the packages no longer work -- and as I need to
_use_ the machine, I need a certain degree of stability. I also need to
have a machine a little more on the bleeding edge than woody.

 I have to set up my preferences file to prefer testing/updates with
 priority 750, and normally use just testing with 700. (this assumes
 you've read man apt_preferences). 
I've read apt_preferences, and here are the contents of my
/etc/apt/preferences file:

Package: *
Pin: release v=3.*,a=testing,c=*,o=*,l=Debian
Pin-Priority: 1001

I have also changed my sources.list to point only at testing for the
time being. When I do an apt-show-versions -u, however, no packages are
returned (well, on the first try, 7 were, but they were actual upgrades
to what I had... hmmm..).

I suspect that either I have the Pin wrong, or that I need to bump the
Pin-Priority even higher... Anybody have any ideas?

--Matthew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: downgrading from unstable to testing

2002-09-11 Thread Jeff Maxson

On Wed, Sep 11, 2002 at 08:08:38AM -0700, Peter Sharp happened to mention:
 Matthew wrote:
  , so my big question of theday is: how do I 
  downgrade from unstable to testing? I know I 
  cansimply change my apt.sources list to point at 
  testing, but since mostof the software I have 
  installed is of a newer version than sarge, won'tit 
  simply keep telling me I already have the latest 
  version?Any pointers -- to the correct manuals or 
  otherwise -- would be greatlyappreciated
 
 I think if you pin the packages with a pin-priority of
 greather than 1000 then they will be downgraded - see
 the up to date APT-Howto at:
 
 http://www.debian.org/doc/manuals/apt-howto/index.en.html
 
 Pete
 
 (Too frightened to run unstable myself!)

What I have done in the past is do just like you said: change your
sources.list to testing, do the apt-get update, and then wait.
Supposedly stuff will ooze from unstable to testing over time, and all
the goodies will then be at your beck-n-call.  I have done it before,
and given what everyone has said lately about the state of unstable, I
just did the move back to testing last night...now I will wait, let
things settle out, and when I get the itch again move back to
unstable.  Worked for me in the past, YMMV.

Jeff

-- 
Jeff Maxson
[EMAIL PROTECTED]



msg01887/pgp0.pgp
Description: PGP signature