dnf rollback last update
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dnf rollback last update

    Hello,
    after the last update (86 packages updated), the games in steam lag as hell!

    How can I rollback my last command "dnf update" ?

    Thanks!

  2. #2
    Join Date
    Dec 2011
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dnf rollback last update

    My approach to this is:
    Code:
    > sudo dnf history list | head -6                  # Show last 3 installs/updates
    
    ID     | Command line             | Date a | Action | Altere
    -------------------------------------------------------------------------------
       160 | install bleachbit        | 2015-12-29 11:38 | Install        |    1   
       159 | update                   | 2015-12-29 10:10 | Update         |    9   
       158 | update                   | 2015-12-27 10:08 | E, U           |    5   
    
    > sudo dnf history undo 160                        # Undo / roll-back install of bleachbit

  3. #3
    Join Date
    Jul 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dnf rollback last update

    I did the same:

    Code:
    [root@sara ~]# dnf history list | head -4
    Last metadata expiration check performed 1:49:03 ago on Tue Dec 29 15:30:02 2015.
    ID     | Linea di comando         | Data e | Azione | Modifi
    -------------------------------------------------------------------------------
        12 | update                   | 2015-12-29 08:30 | I, U           |   86  <
    Code:
    [root@sara ~]# dnf history undo 12
    Last metadata expiration check performed 1:50:23 ago on Tue Dec 29 15:30:02 2015.
    Undoing transaction 12, from Tue Dec 29 08:30:47 2015
        Aggiornato bind99-libs-9.9.7-7.P3.fc22.x86_64           (unknown)
        Upgrade                9.9.8-1.P2.fc22.x86_64           @updates
    ...
    ...
    Nessun pacchetto openvpn-0:2.3.8-1.fc22.x86_64 disponibile.
    Errore: An operation cannot be undone
    It means: No package openvpn-0:2.3.8-1.fc22.x86_64 available!!

  4. #4
    Join Date
    Sep 2009
    Posts
    2,209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dnf rollback last update

    Click the Fedora Project button at the top right of this screen. Go to Koji and download the RPM you need, then use "sudo dnf downgrade ./packagename.rpm" to downgrade openvpn. The old version you need has been replaced in the repos, which is making it impossible to rollback.

    dd_wizard

Similar Threads

  1. Replies: 2
    Last Post: 14th September 2013, 05:48 PM
  2. PHP Rollback
    By wt6g in forum Using Fedora
    Replies: 2
    Last Post: 25th May 2010, 05:09 PM
  3. package update breaks function and rollback
    By lodore in forum Using Fedora
    Replies: 2
    Last Post: 2nd May 2009, 06:26 PM
  4. gcc rollback from 3.4.3 to 3.4.2
    By Knudson in forum Using Fedora
    Replies: 2
    Last Post: 6th June 2005, 12:12 AM

Tags for this Thread

Posting Permissions

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