Bug 2232546 - file conflict breaks dnf upgrade: /usr/share/gocode/src/github.com/imdario/mergo
Summary: file conflict breaks dnf upgrade: /usr/share/gocode/src/github.com/imdario/mergo
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-imdario-mergo
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2237065 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-17 10:17 UTC by Hans Ulrich Niedermann
Modified: 2024-05-28 13:50 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


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

Internal Links: 2232545

Description Hans Ulrich Niedermann 2023-08-17 10:17:22 UTC
Running "dnf -y upgrade golang-github-imdario-mergo-devel" on an otherwise up to date F38 machine, I get

[...]
Running transaction check
Transaction check succeeded.
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/imdario/mergo from install of compat-golang-github-imdario-mergo-devel-1.0.0-1.fc38.noarch conflicts with file from package golang-github-imdario-mergo-devel-0.3.13-3.fc38.noarch

This has been happening for about a few days now.

Escalating to "dnf upgrade --enablerepo=updates-testing golang-github-imdario-mergo-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/imdario/mergo from install of compat-golang-github-imdario-mergo-devel-1.0.0-1.fc38.noarch conflicts with file from package golang-github-imdario-mergo-devel-0.3.13-3.fc38.noarch



Expected Results:  
Successfull package upgrade

The golang-github-shirou-gopsutil-devel package has been producing the same kind of problems for a few days more.

Comment 1 Mikel Olasagasti Uranga 2023-08-21 10:59:14 UTC
-devel packages are used to build other packages, I don't expect anyone to have those installed on a system. Are you requiring them for something or were they installed in the past required by a package (which should not happen)?

Comment 2 Hans Ulrich Niedermann 2023-08-30 18:54:08 UTC
Must have been pulled in by something which I have installed to build something.

Sometimes "fedpkg local" is the quickest way to build a package when looking for a build error, so local installs of "-devel" packages do make sense for some developers.

Comment 3 Pablo Rodríguez 2023-09-07 15:43:21 UTC
*** Bug 2237065 has been marked as a duplicate of this bug. ***

Comment 4 Pablo Rodríguez 2023-09-07 16:11:15 UTC
Sorry, Mikel, but wouldn’t it be possible that golang-dario-mergo (https://koji.fedoraproject.org/koji/packageinfo?packageID=37568) might try to replace this package (without having the proper tagging)?

Many thanks for your help.

Comment 5 Aoife Moloney 2024-05-28 13:50:30 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.