Bug 1440366 - dnf install -y wget fails with ImportError: /lib64/libhawkey.so.2: symbol pool_parserpmrichdep, version SOLV_1.0 not defined in file libsolvext.so.0 with link time reference
Summary: dnf install -y wget fails with ImportError: /lib64/libhawkey.so.2: symbol poo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-08 06:10 UTC by Wesley Tanaka
Modified: 2017-04-16 04:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-15 22:48:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wesley Tanaka 2017-04-08 06:10:54 UTC
Description of problem:

Installing python2-dnf in fedora 24 (e.g. for Ansible) causes:

dnf install -y wget fails with:

ImportError: /lib64/libhawkey.so.2: symbol pool_parserpmrichdep, version SOLV_1.0 not defined in file libsolvext.so.0 with link time reference


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


How reproducible:

every time


Steps to Reproduce:
1. docker run -i -t --rm fedora:24 sh -c "dnf install -y python2-dnf; dnf install -y wget"  



Actual results:

https://travis-ci.org/wtanaka/ansible-role-slack/jobs/219942643#L2641

stderr: Traceback (most recent call last):
  File "/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.5/site-packages/dnf/__init__.py", line 31, in <module>
    import dnf.base
  File "/usr/lib/python3.5/site-packages/dnf/base.py", line 30, in <module>
    from dnf.yum import history
  File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 22, in <module>
    import hawkey
  File "/usr/lib64/python3.5/site-packages/hawkey/__init__.py", line 24, in <module>
    from . import _hawkey
ImportError: /lib64/libhawkey.so.2: symbol pool_parserpmrichdep, version SOLV_1.0 not defined in file libsolvext.so.0 with link time reference
FATAL: all hosts have already failed -- aborting



Expected results:

wget gets installed

Additional info:

Comment 1 Igor Gnatenko 2017-04-08 07:22:04 UTC
Probably time to migrate to F25+...

Anyhow, I've fixed it in https://bodhi.fedoraproject.org/updates/FEDORA-2017-41c9dfdceb

Comment 2 Fedora Update System 2017-04-08 07:22:26 UTC
hawkey-0.6.4-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-41c9dfdceb

Comment 3 Fedora Update System 2017-04-09 04:22:05 UTC
hawkey-0.6.4-3.fc24 has been pushed to the Fedora 24 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-41c9dfdceb

Comment 4 Fedora Update System 2017-04-15 22:48:33 UTC
hawkey-0.6.4-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Wesley Tanaka 2017-04-16 04:19:24 UTC
Confirmed that

docker run -i -t --rm fedora:24 sh -c "dnf install -y python2-dnf; dnf install -y wget"

works for me


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