Bug 2232545 - file conflict breaks dnf upgrade: /usr/share/gocode/src/github.com/shirou/gopsutil/v3
Summary: file conflict breaks dnf upgrade: /usr/share/gocode/src/github.com/shirou/gop...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-shirou-gopsutil
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Pavel Solovev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-17 10:15 UTC by Hans Ulrich Niedermann
Modified: 2024-05-28 13:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:50:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2232546 0 unspecified CLOSED file conflict breaks dnf upgrade: /usr/share/gocode/src/github.com/imdario/mergo 2024-05-28 13:50:29 UTC

Internal Links: 2232546

Description Hans Ulrich Niedermann 2023-08-17 10:15:01 UTC
Running "dnf -y upgrade" on an otherwise up to date F38 machine, I get

[...]
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/gocode/src/github.com/shirou/gopsutil/v3 from install of compat-golang-github-shirou-gopsutil-3-devel-3.23.5-2.fc38.noarch conflicts with file from package golang-github-shirou-gopsutil-devel-3.21.6-4.fc38.noarch

This has been happening for about a week now, basically blocking package upgrades unless I explicitly list all those other packages one by one on the "dnf upgrade" command line.

Running "dnf upgrade golang-github-shirou-gopsutil-devel" reproduces the same problem without all the other packages.

Escalating to "dnf upgrade --enablerepo=updates-testing golang-github-shirou-gopsutil-devel" produces the same result.

Reproducible: Always

Steps to Reproduce:
1. Run "dnf upgrade" and confirm the "[y/N]" question or run "dnf -y upgrade".

Actual Results:  
Error: Transaction test error:
  file /usr/share/gocode/src/github.com/shirou/gopsutil/v3 from install of compat-golang-github-shirou-gopsutil-3-devel-3.23.5-2.fc38.noarch conflicts with file from package golang-github-shirou-gopsutil-devel-3.21.6-4.fc38.noarch


Expected Results:  
Successful package upgrade.

golang-github-shirou-gopsutil-devel was the first package which produced this kind of error. However, golang-github-imdario-mergo-devel has recently started exhibiting this behaviour as well.

Comment 1 Aoife Moloney 2024-05-28 13:50:28 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.