• HOW TO: Downgrade a package


    This post is from @just , I liked so much that I’m posting it here so everybody can see it. Thanks @just!

    (…) If you’re coming from Arch, you’re probably familiar with Arch Rollback Machine (ARM) . It holds old packages for much time ago, for various archs, organized in many different ways.

    UPDATE: the Arch Rollback Machine (ARM) is now named Arch Linux Archive (ALA) (new link). (thanks @Patrick !)

    Python2, for example, is present here.

    Download python2-2.7.9-1-x86_64.pkg.tar.xz to the local disk.

    Then install downloaded package (downgrading python2 from 2.7.12 to 2.7.9) :

    sudo pacman -U <path-to-package>
    

    For example,

    $ sudo pacman -U '/1st/dnl/python2-2.7.9-1-x86_64.pkg.tar.xz'
    [sudo] password for just: *********
    loading packages...
    warning: python2-2.7.9-1 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (1) python2-2.7.9-1
    
    Total Installed Size:  70.03 MiB
    Net Upgrade Size:       0.00 MiB
    
    :: Proceed with installation? [Y/n] No, thanks, already done
    $ 
    

    Pretty easy.

  • I apologise for necroposting

    However, I have a problem woth zfs module after kernel update, is there a way to do this from rootfs?

  • @karasu thanks for this post, I think I will surely use this info one day.

    I just wanted to inform that the Arch Rollback Machine (ARM) is now named Arch Linux Archive (ALA) (new link).
    The Arch Linux Archive is now located here and the examples links for Python2 are closed now.
    One should use instead this link.

  • @Patrick said in HOW TO: Downgrade a package:

    @karasu thanks for this post, I think I will surely use this info one day.

    I just wanted to inform that the Arch Rollback Machine (ARM) is now named Arch Linux Archive (ALA)

    You’re absolutely right.

    The Arch Rollback Machine (ARM) was renamed and is called Arch Linux Archive (ALA) now.

    The OP was posted awhile ago, before the renaming.

    Regards

  • Arch has got this reputation, & it’s complete rubbish …

    If ever I have a problem with Antergos/Arch… which is rare, mind - but when I do, it can almost always be solved by the wonder that is “downgrading packages”.

    I only stopped by to find out how to solve another problem about corrupted PGP keys … & I found a post here on this forum right out the gate within seconds of arriving, & tore through the problem with two quick terminal commands!

    Long Live Antergos! :)

  • I AM A NEWBIE…THIS CONVERSATION WAS REALLY HELPFUL FOR ME…

  • @annchriss234 said in HOW TO: Downgrade a package:

    THIS CONVERSATION WAS REALLY HELPFUL FOR ME…

    Glad to hear!
    Honestly, I learned a little bit from this thread also:slight_smile:

    Keep trying, never give up. In the end, you will find that it was all worth it

    Community ISO: https://antergoscommunityeditions.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

downgrade4 arm1 Posts 7Views 2787
Log in to reply