/etc/apt/preferences problem - might cause problems when Sarge goes stable!

From: Ben Bettin (bwbettin_at_gmail.com)
Date: 12/17/04

  • Next message: Baltasar Cevc: "Vserver kernel/Lilo/unknown on Debian woody trouble - any hints?"
    Date: Fri, 17 Dec 2004 15:21:47 +0000
    To: debian-user@lists.debian.org
    
    

    I recently started using the /etc/apt/preferences file to get
    Firestarter from unstable into my testing install of Sarge. My file
    follows:

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

    Package: firestarter
    Pin: release a=unstable
    Pin-Priority: 1100

    Package: *
    Pin: release o=Debian
    Pin-Priority: -10
    ----------

    A few moments ago I updated my sources.list in preparation for Sarge
    going to stable. I changed all references to 'testing' to 'sarge'. I
    did this because I do NOT want to automatically upgrade to the new
    testing right away, I'll probably stick with Sarge for a few months
    after he goes stable. I had to leave the nerim entry as testing and
    unstable because he doesn't appear to support the release names. My
    sources.list follows:

    ----------
    deb http://http.us.debian.org/debian sarge main contrib non-free
    deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
    deb http://security.debian.org/ sarge/updates main contrib non-free

    deb ftp://ftp.nerim.net/debian-marillat/ testing main

    deb http://http.us.debian.org/debian sid main contrib non-free
    deb http://non-us.debian.org/debian-non-US sid/non-US main contrib non-free

    deb ftp://ftp.nerim.net/debian-marillat/ unstable main
    ----------

    After starting up aptitude I had to update my cache, but after that
    everything looked fine. So I edited my /etc/apt/preferences and
    changed 'testing' to 'sarge' and 'unstable' to 'sid'. When I started
    up aptitude and updated, things weren't right. My installed packages
    were listed fine under Installed Packages. But under Uninstalled
    Packages everything was listed, even the ones I have installed. For
    my installed packages they had their currently installed version
    number, but <none> listed as their available version number. All
    uninstalled packages had <none> listed for both their available and
    installed version numbers.

    The conclusion I came to is that /etc/apt/preferences doesn't support
    the release specific names (woody, sarge, sid, etc) and only the
    generic names (stable, testing, and unstable). So I changed the
    entries in my preferences back to testing and unstable as listed
    above.

    It seems to me that the discrepency between /etc/apt/sources.list and
    /etc/apt/preferences could cause some serious problems for people when
    Sarge goes stable, especially if they have mixed distros. I don't
    have any automated updating, so I'll just have to remember to read the
    news before updating every day...that way I can alter the two files
    correctly before I update. But for people that have scripts which
    automate the update process, they could get fubar'd. Any thoughts?

    Ben

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

  • Next message: Baltasar Cevc: "Vserver kernel/Lilo/unknown on Debian woody trouble - any hints?"

    Relevant Pages

    • Re: Problems with debian install
      ... >>to install debian on a number of machines in a computer ... For Sarge, the number of CDs will be even larger once it is ... Set it up to get packages from a ...
      (Debian-User)
    • RE: Cant find libselinux1
      ... I finally just loaded stock sarge (I couldn't even get ... sarge to work in expert install mode so that I could disable pcmcia and ... filesystems (the standard install doesn't let you reuse your old ... apt-get to fetch packages from the cdrom instead of from the ...
      (Debian-User)
    • openoffice.org1.1-bin: Depends: libfreetype6 (< 2.1.0) but 2.1.4-5 is to be installed +++ E: Sorr
      ... Some packages could not be installed. ... (no problem for me to uninstall all & install again, but i don't want to do ... deb http://non-us.debian.org/debian-non-US stable/non-US main contrib ... deb http://security.debian.org stable/updates main contrib non-free ...
      (Debian-User)
    • Re: Newbie question..
      ... > I just installed debian from Knoppix-3.4 CD. ... > I want to add tetex packages to the system. ... deb-src http://ftp.belnet.be/debian/ testing main contrib non-free ... Once you know what you want, you can install with: ...
      (Debian-User)
    • Re: Etch back to Sarge
      ... I need to downgrade from Etch back to Sarge. ... in the repository several stable packages (KDE packages, ... but if you don't want to do a fresh install this could be a way to go. ...
      (Debian-User)