Re: Help: Interrupted dnf update, second update fails with duplicate packages

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

 



Running "dnf update --allowerasing results in:

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/doc/glib2/NEWS from install of glib2-2.76.4-3.fc38.i686 conflicts with file from package glib2-2.76.3-1.fc38.x86_64
  file /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo from install of glib2-2.76.4-3.fc38.i686 conflicts with file from package glib2-2.76.3-1.fc38.x86_64
  ....... same 160 lines of "... conflicts with file from package ..."

The redhat https://bugzilla.redhat.com/show_bug.cgi?id=1091702
does not seem to provide enough information for solution plan;
I'd really don't want to have to do a complete re-install;
while I back a lot of stuff up on other machines, doing a
new installation from a CD is my last resort.


On 7/31/23 15:41, Richard Shaw wrote:
On Mon, Jul 31, 2023 at 5:12 PM richard emberson <emberson.rich@xxxxxxxxx <mailto:emberson.rich@xxxxxxxxx>> wrote:

    I had a "dnf update" interrupted.

    Running "dnf clean all" and then "dnf update" again results in:

    Running transaction check
    Transaction check succeeded.
    Running transaction test
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    Error: Transaction test error:
        file /usr/share/doc/glib2/NEWS from install of glib2-2.76.4-3.fc38.i686 conflicts with file from package glib2-2.76.3-1.fc38.x86_64
        file /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo from install of glib2-2.76.4-3.fc38.i686 conflicts with file from package glib2-2.76.3-1.fc38.x86_64
        file /usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo from install of glib2-2.76.4-3.fc38.i686 conflicts with file from package glib2-2.76.3-1.fc38.x86_64
        ....... 160 lines of "... conflicts with file from package ..."

    Running "dnf check" gives:
    NetworkManager-1:1.42.6-1.fc38.x86_64 is a duplicate with NetworkManager-1:1.42.8-1.fc38.x86_64
    ...
    systemd-253.5-1.fc38.x86_64 is a duplicate with systemd-253.7-1.fc38.x86_64
    ...
    systemd-udev-253.5-1.fc38.x86_64 is a duplicate with systemd-udev-253.7-1.fc38.x86_64
    ...
    xxhash-libs-0.8.1-4.fc38.x86_64 is a duplicate with xxhash-libs-0.8.2-1.fc38.x86_64
    Error: Check discovered 430 problem(s)


    What is the problem (aside from the fact that I interrupted the update) and
    How can I recover?


An equivalent for yum-complete-transaction was requested but never implemented.
https://bugzilla.redhat.com/show_bug.cgi?id=1091702 <https://bugzilla.redhat.com/show_bug.cgi?id=1091702>

There's probably a way to use `dnf repoquery` based commands to list the problem packages and them remove them.

Have you tried doing an update with --allowerasing?

Thanks,
Richard

_______________________________________________
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

--
Quis custodiet ipsos custodes
Forsan et haec olim meminisse iuvabit
Ubi solitudinem faciunt pacem appellant
_______________________________________________
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