Re: Cleanup after Failed dnf Upgrade

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

 



On 5/9/24 4:00 PM, Jeffrey Walton wrote:


On Thu, May 9, 2024 at 3:51 PM Tim Evans <tkevans@xxxxxxxxxxx <mailto:tkevans@xxxxxxxxxxx>> wrote:

    Command-line dnf upgrade (F39->F40) failed yesterday, barfing on a
    missing GPG key for Fedora 40,


The key is automatically imported when following dnf-system-upgrade, <https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/ <https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/>>.

What procedure did you follow?

    leaving 2.5GB of rpms sitting in
    /var/lib/dnf/system-upgrade.  'dnt clean' does not remove these.

    Is it safe to manually clear out this subdirectory?


If you follow dnf-system-upgrade, then before the `dnf system-upgrade reboot` step, it tells you how to abort and delete the download cache. But I don't remember what it says to do. Sorry about that.

    (FWIW, I tried the now-recommended GUI software app's "upgrade" and it
    ran  the upgrade without error, but all this cruft is still sitting
    there.)


I believe the recommended procedure is detailed at dnf-system-upgrade, <https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/ <https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/>>.

What procedure did you follow?

Followed the above prescribed procedure. Final step in download reported 'curl' failure to download the GPG key. Onscreen cleanup instructions apparently did nothing, since all the packages were still sitting there. Repeated downloads also failed, reporting everything had already been downloaded, but barfing again on the GPG key download.

Attempting the upgrade reboot resulted in message the system "not ready for upgrade."
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux