Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Removing proposed packages to revert to stable.

  1. #1
    Join Date
    Apr 2007
    Beans
    7
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Removing proposed packages to revert to stable.

    Recently, I had the need to use the -proposed repository on a server whose hardware was causing issues with the shipped version of one of the packages. The patched package has since been migrated to one of the standard repositories, so I've removed the proposed line from my sources.list.

    My problem is that the presence of the -proposed source meant some of my other packages have been replaced with proposed versions, throwing that machine out of sync with the rest.

    Is there any way I can revert all packages, even those which have picked up a higher version from -proposed, back to the stable versions found in the normal repositories? I've tried and tried, and even if I remove the package and reinstall, it still reverts to the "newer" one, despite the -proposed repository being absent from the sources list.

  2. #2
    Join Date
    Nov 2005
    Beans
    2,322
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: Removing proposed packages to revert to stable.

    You can use APT pinning to accomplish this (http://wiki.debian.org/AptPinning)

    Create file /etc/apt/preferences with contents
    Code:
    Package: *
    Pin: release a=feisty
    Pin-Priority: 1001
    
    Package: *
    Pin: release a=feisty-updates
    Pin-Priority: 1001
    
    Package: *
    Pin: release a=feisty-proposed
    Pin-Priority: -10
    Priority over 1000 allows downgrading. This should make apt believe that packages from feisty and feisty-updates are newer.


    To simulate
    Code:
    sudo aptitude -s upgrade
    To perform the downgrade
    Code:
    sudo aptitude upgrade
    Building on Ubuntu using [pbuilder]
    Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]

  3. #3

    Lightbulb Re: Removing proposed packages to revert to stable.

    Thanks mlind, three years and a half later, your post helped me revert maverick from proposed to normal.

  4. #4
    Join Date
    May 2010
    Beans
    26
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Removing proposed packages to revert to stable.

    Hey, me too!
    Thank You for the solution!

    The proposed repository completely sucks! It has broken half of my system!
    And trying to revert to stable wasted a lot of time!

    WTH? Should there be some kind of warning? "If You take the Red pill, there'll be no going back" or something!
    This is really frustrated! CANONICAL TAKE A LOOK AT THIS MAJOR PROBLEM!
    FIX THIS PLEASE! Or at least create a button that will say: REVERT TO STABLE REPOS
    Quit trying to take Gnome Foundation's money and please fix this...

    Okay? Because it's really took a go on my nerves...
    (and I'm sure not only mine)

  5. #5
    Join Date
    Apr 2006
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Removing proposed packages to revert to stable.

    Likewise... thanks!

  6. #6
    Join Date
    Oct 2011
    Beans
    7

    Re: Removing proposed packages to revert to stable.

    Thanks - this worked in 11.10 too!

    Update: I forgot to mention that in 11.10 (and some versions previous) it's 'apt-get' instead of 'aptitude'
    Last edited by mattubu16; October 17th, 2011 at 12:43 AM. Reason: apt-get instead of aptitude

  7. #7
    Join Date
    Oct 2011
    Beans
    7

    Re: Removing proposed packages to revert to stable.

    Quote Originally Posted by DrAcid View Post
    The proposed repository completely sucks! It has broken half of my system!
    And trying to revert to stable wasted a lot of time!

    WTH? Should there be some kind of warning? "If You take the Red pill, there'll be no going back" or something!
    This is really frustrated! CANONICAL TAKE A LOOK AT THIS MAJOR PROBLEM!
    FIX THIS PLEASE! Or at least create a button that will say: REVERT TO STABLE REPOS
    Quit trying to take Gnome Foundation's money and please fix this...

    Okay? Because it's really took a go on my nerves...
    (and I'm sure not only mine)
    The point of the proposed repos is for pre-release testing, which is why they are not selected by default. The Ubuntu documentation does state: "The testing area for updates. This repository is recommended only to those interested in helping to test updates and provide feedback."

  8. #8
    Join Date
    Feb 2010
    Beans
    30

    Re: Removing proposed packages to revert to stable.

    OMG!!! You've just help me get rid of the broken system after accidentally activate the proposed repo.
    Just 3 words send from 3 years later: I LOVE YOU.

  9. #9
    Join Date
    Nov 2004
    Location
    USA
    Beans
    19

    Re: Removing proposed packages to revert to stable.

    A big thank you from 2012!

    Sean

  10. #10
    Join Date
    Jul 2012
    Location
    Germany
    Beans
    19
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Removing proposed packages to revert to stable.

    Thank you

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •