Bug 1504831 - explicit_bzero provided by both man-pages and libbsd-devel
Summary: explicit_bzero provided by both man-pages and libbsd-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libbsd
Version: 27
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1513387 1514616 (view as bug list)
Depends On: 1462722
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-20 18:11 UTC by Georg Müller
Modified: 2017-12-06 07:02 UTC (History)
9 users (show)

Fixed In Version: libbsd-0.8.6-1.fc28 libbsd-0.8.6-1.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 23:52:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Georg Müller 2017-10-20 18:11:33 UTC
Description of problem:
When running dnf system-upgrade
file /usr/share/man/man3/explicit_bzero.3.gz conflicts between attempted installs of man-pages-4.12-1.fc27.noarch and libbsd-devel-0.8.3-5.fc27.x86_64

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


How reproducible:

Steps to Reproduce:
1. install man-pages and libbsd-devel
2. dnf system-upgrade download --refresh --releasever=27
...

Actual results:
Error: Transaction check error:
  file /usr/share/man/man3/explicit_bzero.3.gz conflicts between attempted installs of man-pages-4.12-1.fc27.noarch and libbsd-devel-0.8.3-5.fc27.x86_64

Expected results:
/usr/share/man/man3/explicit_bzero.3.gz should be provided by either man-pages or libbsd-devel, but not both

Additional info:
Uninstalling libbsd-devel works, but is only a workaround.

Comment 1 Georg Müller 2017-10-25 13:49:55 UTC
Release 0.8.6 fixes this, as mentioned in bug 1462722

Comment 2 Nikola Forró 2017-11-15 10:27:06 UTC
*** Bug 1513387 has been marked as a duplicate of this bug. ***

Comment 3 Habig, Alec 2017-11-15 21:22:33 UTC
Unfortunately, release 0.8.6 isn't what's accessed when trying to do a "dnf system-upgrade", even though f27 is officially out now.  libbsd-devel-0.8.3-5.fc27.x86_64 is what's in the f27 release repo.

So, this bug is currently blocking upgrades.

Plus, I am unclear as to why the system-upgrade wants to install the libbsd-devel library, it's not one I've currently got?

Comment 4 Habig, Alec 2017-11-15 21:24:38 UTC
doh - I do have libbsd-devel, so of course it's trying to update it - cancel that last sentence in my comment above, sorry!

Removing it before the system-upgrade allows the upgrade to continue, so I'm ok.  At least, until I remember why I needed that package and try to get it back!

Comment 5 Conrad Meyer 2017-11-18 08:07:13 UTC
*** Bug 1514616 has been marked as a duplicate of this bug. ***

Comment 6 Conrad Meyer 2017-11-18 08:14:45 UTC
Eric, are you still around and available to fix this bug?  Would you like to take on a co-maintainer for libbsd?  Thanks!

Comment 7 Erwan Legrand 2017-11-21 08:54:16 UTC
This prevents me from upgrading to Fedora 27. I have tried removing the man-pages package. Since the affected box is always online, it is easier for me to go without the man pages than without the devel package. Unfortunately, this does not work as the upgrade process attempts to install the man-pages package anyway.

Thus probably the right workaround in my case is this:
 * Uninstall libbsd-devel
 * Upgrade to Fedora 27
 * Uninstall man-pages
 * Install libbsd-devel

Comment 8 Georg Müller 2017-11-21 09:11:00 UTC
As a work-around, you could patch the sources yourself with the patch I attached in bug 1462722 (That's what I did). But the best would be to just resolve bug 1462722 by someone who can...

fedpkg clone -a libbsd
cd libbsd
patch -p1 < /path/to/0001-Update-to-libbsd-0.8.6.patch
wget https://libbsd.freedesktop.org/releases/libbsd-0.8.6.tar.xz
fedpkg local
rpm -U x86_64/libbsd-devel-0.8.6-1.fc28.x86_64.rpm libbsd-0.8.6-1.fc28.x86_64.rpm

Comment 9 Erwan Legrand 2017-11-21 11:44:05 UTC
Thank you, Georg!

I did as you suggested. Only I did not had to apply the patch or fetch the archive. This was enough:

fedpkg clone -a libbsd
cd libbsd
fedpkg local
sudo rpm -U x86_64/libbsd-devel-0.8.6-1.fc28.x86_64.rpm x86_64/libbsd-0.8.6-1.fc28.x86_64.rpm

Comment 10 Georg Müller 2017-11-21 12:34:03 UTC
Yes, because there is some progress in the libbsd repo, so the manual patching is not required any more.

Comment 11 Fedora Update System 2017-11-21 17:27:21 UTC
libbsd-0.8.6-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d29dda981a

Comment 12 Fedora Update System 2017-11-22 06:33:59 UTC
libbsd-0.8.6-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d29dda981a

Comment 13 Fedora Update System 2017-11-28 23:52:03 UTC
libbsd-0.8.6-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Jens Petersen 2017-12-06 06:58:39 UTC
Okay I will do an update for F26 too then.

Comment 15 Jens Petersen 2017-12-06 07:02:04 UTC
Ah maybe not necessary?

The earlier comments were before the update...


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