Bug 1304728

Summary: golang-bin & gcc-go both "own" /usr/bin/go.
Product: [Fedora] Fedora Reporter: John McKown <john.archie.mckown>
Component: golangAssignee: Jakub Čajka <jcajka>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: admiller, amurdaca, golang-updates, jcajka, lemenkov, renich, s, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-04 15:06:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John McKown 2016-02-04 13:25:26 UTC
Description of problem:
The /usr/bin/go program is "owned" (rpm -qf /usr/bin/go) by both gcc-go and golang-bin. It appears that these two packages should be mutually exclusive, or install to different directories.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.dnf install golang-bin gcc-go
2.rpm -qf /usr/bin/go
3.

Actual results:

$ rpm -qf /usr/bin/go
gcc-go-5.3.1-2.fc22.x86_64
golang-bin-1.5.3-1.fc22.x86_64

Expected results:

Only one "owner".

Additional info:

Comment 1 Jakub Čajka 2016-02-04 15:06:34 UTC
This is expected as "go" binaries uses Fedora Alternatives https://fedoraproject.org/wiki/Packaging:Alternatives. It is just symlink pointing to "correct" go binary, basically allowing you to switch back and forth between them without need to re/un/install the packages.