IBM TechXchange Group

TechXchange Group

Your hub for all things community! Ask questions, connect with fellow members, get the support you need, and stay informed with the latest updates.


#Other
#TechXchangePresenter

 View Only

Help with DNF --unable to rollback

  • 1.  Help with DNF --unable to rollback

    Posted 12 days ago

    I am using IBM opensource repository.

    I am new to using dnf so pardon my lack of knowledge on this.

    I upgraded curl from 7.83.1-1 to curl-8.14.1-1.

    I tried to undo upgrade but failing with message below.

    Why is that? 

    1. Does dnf not save a copy of filesets somewhere non my system for rollback?
    2. Is the message below  No package ca-certificates-2023.2.60-0.ppc available because it cannot find it in the repository ?  The repository on my system has two versions of curl. Did dnf go out to IBM and not see that version needed to rollback.  Did dnf look at IBM website here Index of /aix/freeSoftware/aixtoolbox/RPMS/ppc/ca-certificates and the closest available is ca-certificates-2023.2.60-1.ppc?

    3. Can I download ca-certificates-2023.2.60-1.ppc and install manually and try rollback (undo). Will I see other failures too?

    Appreciate any assistance provided.

    Thank you!

    denapdt02:/opt/freeware/bin# ./dnf history
    ID | Command line | Date and time | Action(s) | Altered
    -------------------------------------------------------------------------------
    2 | upgrade curl | 2025-11-21 15:02 | Upgrade | 12 E<
    1 | update | 2024-10-08 09:41 | I, O, U | 90 >E
    denapdt02:/opt/freeware/bin# l
    denapdt02:/opt/freeware/bin# ./dnf list
    denapdt02:/opt/freeware/bin# ./dnf history undo 2
    Last metadata expiration check: 0:04:38 ago on Mon Nov 24 10:06:58 CST 2025.
    Undoing transaction 2, from Fri Nov 21 15:02:51 CST 2025
    Upgrade ca-certificates-2024.2.66-2.ppc @AIX_Toolbox
    Upgraded ca-certificates-2023.2.60-0.ppc @@System
    Upgrade curl-8.14.1-1.ppc @AIX_Toolbox
    Upgraded curl-7.83.1-1.ppc @@System
    Upgrade krb5-libs-1.21.3-3.ppc @AIX_Toolbox
    Upgraded krb5-libs-1.18.5-2.ppc @@System
    Upgrade libnghttp2-1.62.1-1.ppc @AIX_Toolbox
    Upgraded libnghttp2-1.46.0-1.ppc @@System
    Upgrade libssh2-1.11.1-1.ppc @AIX_Toolbox
    Upgraded libssh2-1.10.0-1.ppc @@System
    Upgrade libssh2-docs-1.11.1-1.ppc @AIX_Toolbox
    Upgraded libssh2-docs-1.10.0-1.ppc @@System
    Upgrade openldap-2.5.16-3.ppc @AIX_Toolbox
    Upgraded openldap-2.4.58-4.ppc @@System
    Upgrade openldap-devel-2.5.16-3.ppc @AIX_Toolbox
    Upgraded openldap-devel-2.4.58-4.ppc @@System
    Upgrade p11-kit-0.25.5-2.ppc @AIX_Toolbox
    Upgraded p11-kit-0.23.22-1.ppc @@System
    Upgrade p11-kit-tools-0.25.5-2.ppc @AIX_Toolbox
    Upgraded p11-kit-tools-0.23.22-1.ppc @@System
    Upgrade zlib-1.2.13-1.ppc @AIX_Toolbox
    Upgraded zlib-1.2.12-1.ppc @@System
    Upgrade zlib-devel-1.2.13-1.ppc @AIX_Toolbox
    Upgraded zlib-devel-1.2.12-1.ppc @@System
    No package ca-certificates-2023.2.60-0.ppc available.
    Error: no package matched

    denapdt02:/opt/freeware/bin# rpm -qa|grep -i ca-certificates
    ca-certificates-2024.2.66-2.ppc



    ------------------------------
    Eng Tan
    ------------------------------