Re: Problem with apt-get/dselect/aptitude and unstable/stable packages

From: Jerome R. Acks (jracksjr_at_bellatlantic.net)
Date: 10/19/03

  • Next message: Ron Johnson: "Re: OT - Programming Languages w/o English Syntax"
    Date: Sat, 18 Oct 2003 19:38:04 -0400
    To: Joseph Jones <joe@bumpycarrot.cjb.net>
    
    
    

    On Sat, Oct 18, 2003 at 11:59:20PM +0100, Joseph Jones wrote:
    > Monique Y. Herman wrote:
    >
    > >On Sat, 18 Oct 2003 at 14:51 GMT, Joseph Jones penned:
    > >
    > >
    > >>I installed some unstable packages, and I'd like to know whether
    > >>there's a way of having dselect or whatever un-install all the
    > >>unstable packages without having to mess around fixing dependancies.
    > >>As in, I don't want it to do anything but un-install all the unstable
    > >>packages. My apt-get has been effectively frozen for several days
    > >>simply because it was impossible to un-install these packages without
    > >>scaring a newbie like me off.
    > >>
    > >>Any help appreciated :)

    Look at "man apt_preferences".
    Create an /etc/apt/preferences that consists of three lines:

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

    #apt-get update
    #apt-get --simulate dist-upgrade

    If this looks like it will accomplish the downgrade, rerun apt-get
    without the simulate option.

    #apt-get -u dist-upgrade

    After downgrade back to stable, if you still want to be able to
    install testing or unstable packages, change /etc/apt/preferences to:

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

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

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

    > >>
    > >>
    > >>
    > >
    > >I think there's some critical info missing from your problem
    > >description. Are you currently running stable and installed some
    > >unstable packages?
    > >
    > >What is happening when you try to uninstall these unstable packages that
    > >doesn't happen when you try to uninstall your stable packages?
    > >
    > Well, whenever apt-get tries to do anything, it says "Sorry, but the
    > following packages have unmet dependencies:"
    >
    > And lists a load of packages. I'm running stable with some unstable
    > packages, and I get this error whenever apt-get tries to do anything.
    > The last line says something about using a -f option. When I checked the
    > help, it said that it disregards the integrity check. I suspect that
    > these packages are dependencies of linneighborhood, but I can't figure
    > out why dselect/aptitude (whichever I used to d/l linneighborhood from
    > the unstable set) didn't download them as well. Now it's stuck in this
    > state.
    >
    >

    -- 
    Jerome
    
    

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


  • Next message: Ron Johnson: "Re: OT - Programming Languages w/o English Syntax"

    Relevant Pages

    • Sources for tracing into standard libraries + apt-get source versioning
      ... though it might be useful to trace into the source ... Pin: release a=unstable ... Pin-Priority: 50 ... Second, having obtained the packages, how do I get it to construct the ...
      (Debian-User)
    • apt-get upgrade confusion.
      ... Just when I thought I had my head around the apt-get mechanism when dealing ... with a mixing of stable and testing packages, ... Pin-Priority: 900 ... Pin: release o=Debian,a=testing ...
      (Debian-User)
    • Pinning to testing
      ... from now on, I'd like to be tracking sarge, but certain packages should ... Pin: release a=unstable ... Pin-Priority: 302 ...
      (Debian-User)
    • Re: How can I get a working Gnome installation on a new "testing" machine?
      ... and I still have not mamanged to get a working Gnome install. ... To limit packages installed from unstable and still be able to upgrade ... Pin-Priority: 990 ... Pin: release a=unstable ...
      (Debian-User)
    • Re: Configuring /etc/apt/preferences
      ... So I guess there aren't security ... as some packages that are not actively developed ... Pin-Priority: 900 ... Pin: release a=unstable ...
      (Debian-User)