Re: Moving from unstable to testing

From: Jason Slaughter (jason_at_slaughter.com)
Date: 03/31/04

  • Next message: Roberto Sanchez: "Re: Sybase 12.5.1"
    To: debian-user@lists.debian.org
    Date: Wed, 31 Mar 2004 12:42:34 -0500
    
    

    > Set /etc/apt/preferences to prefer testing over unstable (I have priority
    > 700 for testing, 600 for unstable).

    I did that first actually, but it doesn't seem to work.
    My /etc/apt/preferences has:

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

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

    apt-get upgrade still tries to update about 50 packages however, all from
    unstable. If I remove unstable from my sources.list, then these upgrades
    aren't offered anymore, so they're definitely from unstable, not testing.

    Also, pinning *is* working because if I install a new package it installs from
    testing, not unstable, even if both are in my sources.list.

    > No, AFAICT apt-show-version doesn't save this information. If the
    > installed version is in testing or older than testing, it will diplsay
    > testing. If the installed version is newer than testing, it will display
    > unstable. Look at the 'apt-cache policy <package>' output, I'm sure you
    > can figure out exactly how that algorithm works.

    I imagine apt-get upgrade is working the same way -- it doesn't "know" where
    the package came from, but it will upgrade it to the latest unstable if the
    current version is > testing but < unstable.

    > Summary: you don't have to do anything. Just don't upgrade any pacakge
    > from unstable.

    It looks to me like I have to avoid apt-get upgrade until my packages "catch
    up" to testing. Fortunately the apt-show-versions man page was helpful on
    this. To upgrade only upgradable packages in testing, it has the following:

    apt-get install `apt-show-versions -u -b | fgrep testing`

    So it looks like I'll be doing this until all my unstable packages make it
    into testing.

    Thanks for your help!

    Jason

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto Sanchez: "Re: Sybase 12.5.1"

    Relevant Pages

    • Re: [opensuse] Architecture switch 32->64 bit (i386 to x86-64)
      ... A "simple" upgrade with Yast from 10.3 installmedia leads to lots of dependency problems when resolving the packages. ... I wanted to get my kernel to 64-bits. ... One rpm line shows 55 rpm packages I had to install at same ...
      (SuSE)
    • Re: Versions and Updates
      ... SuSE won't upgrade it via YOU for you. ... The same goes for KDE, Gnome, or any ... Gnome packages on their website. ... You're required to install lua from another website: ...
      (alt.os.linux.suse)
    • Re: Where are the SuSE 9.2 Professional CD ISOs?
      ... Because of dependencies among packages, it's often not practical to upgrade package versions in a particular version of Suse. ... I'm not ready yet to do a fresh install on my sole PC at home which I actually *use* productively on a daily basis. ...
      (alt.os.linux.suse)
    • Re: FC2 doubtful quality?
      ... >that one cannot upgrade from a test release to a new FC release. ... I have one system that is always paced with current rawhide packages. ... I have another version that is an install of FC1 and went through the ... pre-existing config files on several occasions. ...
      (Fedora)
    • Updating problem with my woody.
      ... Last night I ran apt-get update and apt-get upgrade on a remote server ... apt-get install apache ... The following extra packages will be installed: ...
      (Debian-User)