file /usr/share/gnome/help/gnucash-guide from install of gnucash-docs-2.6.0-1.fc20.noarch conflicts with file from package gnucash-docs-2.4.2-2.fc20.noarch file /usr/share/gnome/help/gnucash-help from install of gnucash-docs-2.6.0-1.fc20.noarch conflicts with file from package gnucash-docs-2.4.2-2.fc20.noarch
I don't get it. Before the above error messages, I do see: --> Running transaction check ---> Package gnucash.x86_64 0:2.4.13-5.fc20 will be updated ---> Package gnucash.x86_64 0:2.6.0-2.fc20 will be an update ---> Package gnucash-docs.noarch 0:2.4.2-2.fc20 will be updated ---> Package gnucash-docs.noarch 0:2.6.0-1.fc20 will be an update --> Finished Dependency Resolution So why would it list a file conflict with one getting updated? Could this possibly be a bug in yum, rather than gnucash-docs itself?
Probably relevant to the root problem is that those two files listed are symlinks (to subdirectory gnucash in the same directory). I still don't see why, but that does somewhat explain why these two in particular.
Try updating from 2.4.2-2.fc20
Also, probably relevant to this issue, somehow my other computer has gotten into a weird state such that I see this every time I try to yum reinstall gnucash gnucash-docs: Installing : gnucash-2.6.0-2.fc20.x86_64 1/2 warning: %post(gnucash-2.6.0-2.fc20.x86_64) scriptlet failed, exit status 127 Non-fatal POSTIN scriptlet failure in rpm package gnucash-2.6.0-2.fc20.x86_64 Installing : gnucash-docs-2.6.0-1.fc20.noarch 2/2 warning: %posttrans(gnucash-2.6.0-2.fc20.x86_64) scriptlet failed, exit status 127 Non-fatal POSTTRANS scriptlet failure in rpm package gnucash-2.6.0-2.fc20.x86_64 Not good.
Sorry, I didn't mean I don't get what the problem is (after all, "gnucash-docs.noarch 0:2.4.2-2.fc20 will be updated", and then I get the same error messages as your initial report). I meant I don't get why or how it's happening.
Actually, something very strange is going on, I'm getting POSTIN and PREIN errors from just about every package I update.
Regarding the scriptlets, have you caught up from the selinux-policy bug? If you have 3.12.1-116.fc20, you need to do some trickier stuff to get cleaned up from that. Bug #1054350 https://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates
Yeah, I figured that out, thanks. Yet another reason to disable selinux. :-(
> I meant I don't get why or how it's happening. RPM doesn't support replacing softlinks with directories or vice versa. As a last resort, you could work around it using trigger scriptlets. $ rpmls -p gnucash-docs-2.4.2-2.fc20.noarch.rpm |grep ^l lrwxrwxrwx /usr/share/gnome/help/gnucash-guide lrwxrwxrwx /usr/share/gnome/help/gnucash-help $ rpmls -p gnucash-docs-2.4.2-2.fc20.noarch.rpm |grep ^d drwxr-xr-x /usr/share/doc/gnucash-docs drwxr-xr-x /usr/share/gnome/help/gnucash drwxr-xr-x /usr/share/gnome/help/gnucash/C drwxr-xr-x /usr/share/gnome/help/gnucash/C/figures drwxr-xr-x /usr/share/gnome/help/gnucash/de_DE drwxr-xr-x /usr/share/gnome/help/gnucash/de_DE/figures drwxr-xr-x /usr/share/gnome/help/gnucash/it_IT drwxr-xr-x /usr/share/gnome/help/gnucash/it_IT/figures drwxr-xr-x /usr/share/gnome/help/gnucash/ja_JP drwxr-xr-x /usr/share/gnome/help/gnucash/ja_JP/figures $ rpmls -p gnucash-docs-2.6.0-1.fc20.noarch.rpm |grep ^l $ rpmls -p gnucash-docs-2.6.0-1.fc20.noarch.rpm |grep ^d drwxr-xr-x /usr/share/doc/gnucash-docs drwxr-xr-x /usr/share/gnome/help/gnucash-guide drwxr-xr-x /usr/share/gnome/help/gnucash-guide/C drwxr-xr-x /usr/share/gnome/help/gnucash-guide/C/figures drwxr-xr-x /usr/share/gnome/help/gnucash-guide/de drwxr-xr-x /usr/share/gnome/help/gnucash-guide/de/figures drwxr-xr-x /usr/share/gnome/help/gnucash-guide/it drwxr-xr-x /usr/share/gnome/help/gnucash-guide/it/figures drwxr-xr-x /usr/share/gnome/help/gnucash-guide/ja drwxr-xr-x /usr/share/gnome/help/gnucash-guide/ja/figures drwxr-xr-x /usr/share/gnome/help/gnucash-help drwxr-xr-x /usr/share/gnome/help/gnucash-help/C drwxr-xr-x /usr/share/gnome/help/gnucash-help/C/figures drwxr-xr-x /usr/share/gnome/help/gnucash-help/de drwxr-xr-x /usr/share/gnome/help/gnucash-help/de/figures drwxr-xr-x /usr/share/gnome/help/gnucash-help/it drwxr-xr-x /usr/share/gnome/help/gnucash-help/it/figures
bug 447156 [rpm cannot change directory to symlink (or the other way around)]
gnucash-docs-2.6.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gnucash-docs-2.6.0-2.fc20
I get the file conflicts too, on numerous hosts ... Transaction check error: file /usr/share/gnome/help/gnucash-guide from install of gnucash-docs-2.6.0-1.fc20.noarch conflicts with file from package gnucash-docs-2.4.2-2.fc20.noarch file /usr/share/gnome/help/gnucash-help from install of gnucash-docs-2.6.0-1.fc20.noarch conflicts with file from package gnucash-docs-2.4.2-2.fc20.noarch I already have selinux-policy-3.12.1-117.fc20.noarch installed so that shouldn't be the problem, right? Or is it because my yum-cron setup tried to update gnucash (and failed) prior to getting the corrected SEL policy? My workaround has been: $ sudo yum remove gnucash\* $ sudo yum install gnucash gnucash-docs
> that shouldn't be the problem, right? Correct. It's unrelated to the selinux-policy bug. See comment 9.
> Correct. It's unrelated to the selinux-policy bug. See comment 9. Ok, I skimmed that one too fast. So this is simply a packaging bug with gnucash. Thanks for the clarification Michael.
Package gnucash-docs-2.6.0-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnucash-docs-2.6.0-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1332/gnucash-docs-2.6.0-2.fc20 then log in and leave karma (feedback).
gnucash-docs-2.6.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.