Re: Do Fedora only keep latest package on repo? How to get verbose/debug output of dnf history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh that was nice, i never know such repo are available. Thanks James Cassell for sharing

On 1/1/2021 1:20 am, James Cassell wrote:
To make downgrade work, you can install the fedora-repos-archive package and pass --enablerepo=fedora-archive when you attempt the downgrade/undo.

Installed and the repo (fedora-repos-archive) are enabled by default

$ grep "enabled" /etc/yum.repos.d/fedora-updates-archive.repo
enabled=1

$ dnf history info 15
Transaction ID : 15
Begin time     : Thu 31 Dec 2020 09:31:29 AM +08
Begin rpmdb    : 1448:392d27370be7608526fcef0475d4bee78ebffc22
End time       : Thu 31 Dec 2020 09:31:47 AM +08 (18 seconds)
End rpmdb      : 1448:46959b33ef3c9604fe74ec6a98b5d13771f73f3b
User           : robbi <robbi>
Return-Code    : Success
Releasever     : 33
Command Line   : update icecat
Comment        :
Packages Altered:
    Upgrade  icecat-78.6.0-2.rh1.fc33.x86_64 @updates
    Upgraded icecat-78.5.0-2.rh2.fc33.x86_64 @@System

$ dnf history undo 15
Fedora 33 - x86_64 - Updates
Fedora 33 - x86_64 - Updates
Fedora 33 - x86_64 - Updates Archive
Last metadata expiration check: 0:00:15 ago on Fri 01 Jan 2021 01:41:18 PM +08.
Undoing transaction 15, from Thu 31 Dec 2020 09:31:29 AM +08
    Upgrade  icecat-78.6.0-2.rh1.fc33.x86_64 @updates
    Upgraded icecat-78.5.0-2.rh2.fc33.x86_64 @@System
Dependencies resolved.
===========================================================================================================
Package Architecture Version
===========================================================================================================
Downgrading:
icecat x86_64 78.5.0-2.rh2.fc33

Transaction Summary
===========================================================================================================
Downgrade  1 Package

Total download size: 95 M
Is this ok [y/N]:

Yup, this is what i expected and looking for,Thank you! Happy new years everyone!

--
Email: robbinespu[@]fedoraproject[.]org
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key: https://keybase.io/robbinespu/pgp_keys.asc
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux