Bug 974840

Summary: golang-1.1.1-1.fc19 update fails due to conflicts
Product: [Fedora] Fedora Reporter: T.C. Hollingsworth <tchollingsworth>
Component: golangAssignee: Adam Goode <adam>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: adam, i, lemenkov, renich
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: golang-1.1.1-5.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 03:25:43 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:
Bug Depends On: 447156, 975909    
Bug Blocks:    
Attachments:
Description Flags
yum output indicating errors none

Description T.C. Hollingsworth 2013-06-16 11:56:41 UTC
Created attachment 761827 [details]
yum output indicating errors

Everything under %{_libdir}/golang/src is conflicting between golang and golang-data with the 1.1.1-1 update.

I'm guessing you forgot to remove something from the main package's %files when you split off the -data subpackage?  :-)

Comment 1 T.C. Hollingsworth 2013-06-16 12:20:48 UTC
Now that I look more closely I see my initial guess was incorrect.  RPM loses its mind when you try to replace a directory with a symlink (or vice versa).  See bug 447156 (and it's cousin bug 646523) for all the gory details.

You'll need to `rm -rf` any old directories being replaced by symlinks in %pretrans to stop upgrades from blowing up; something like this:
http://pkgs.fedoraproject.org/cgit/groff.git/commit/?id=036f949b899bb5d933e38760bf36995ca47df847

Comment 2 Adam Goode 2013-06-16 16:57:50 UTC
Oh dear. Thanks for pointing this out.

Comment 3 Adam Goode 2013-06-17 04:37:39 UTC
Building a new package, this should be fixed for Fedora <19. >=19 is dependent on #447156, which I reopened.

Comment 4 Fedora Update System 2013-06-17 05:00:07 UTC
golang-1.1.1-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/golang-1.1.1-2.fc17

Comment 5 Fedora Update System 2013-06-17 05:00:37 UTC
golang-1.1.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/golang-1.1.1-2.fc18

Comment 6 Fedora Update System 2013-06-17 05:00:54 UTC
golang-1.1.1-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/golang-1.1.1-2.fc19

Comment 7 Fedora Update System 2013-06-17 17:03:05 UTC
Package golang-1.1.1-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing golang-1.1.1-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11056/golang-1.1.1-2.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-06-19 15:45:00 UTC
golang-1.1.1-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/golang-1.1.1-3.fc19

Comment 9 Fedora Update System 2013-06-19 15:45:22 UTC
golang-1.1.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/golang-1.1.1-3.fc18

Comment 10 Fedora Update System 2013-06-19 15:45:38 UTC
golang-1.1.1-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/golang-1.1.1-3.fc17

Comment 11 Fedora Update System 2013-07-05 04:27:41 UTC
golang-1.1.1-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/golang-1.1.1-4.fc18

Comment 12 Fedora Update System 2013-07-05 04:28:05 UTC
golang-1.1.1-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/golang-1.1.1-4.fc17

Comment 13 Fedora Update System 2013-07-05 04:28:29 UTC
golang-1.1.1-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/golang-1.1.1-4.fc19

Comment 14 Fedora Update System 2013-07-10 06:23:03 UTC
golang-1.1.1-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/golang-1.1.1-5.fc18

Comment 15 Fedora Update System 2013-07-10 06:23:28 UTC
golang-1.1.1-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/golang-1.1.1-5.fc17

Comment 16 Fedora Update System 2013-07-10 06:23:47 UTC
golang-1.1.1-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/golang-1.1.1-5.fc19

Comment 17 Fedora Update System 2013-07-24 03:25:43 UTC
golang-1.1.1-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2013-07-24 03:34:57 UTC
golang-1.1.1-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2013-07-24 03:41:55 UTC
golang-1.1.1-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.