Ask Your Question

dnf error after update

asked 2017-06-21 14:20:47 -0500

yvsdev gravatar image


I have a issue, i executed "dnf update" command and the update finish without problems, then i try to install a new package, but the following message appear:

system-python: /builddir/build/BUILD/hawkey-0.6.4/src/sack.c:354: load_ext: La declaración ret == 0' no se cumple. Abortado (core' generado)

dnf didn't work anymore, any dnf command shows that message, what can i do? any idea?

Fedora25 4.11.5-200.fc25.x86_64


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2017-06-21 15:20:27 -0500

ssieb gravatar image

There was a problem with the repo data. Add --refresh to the dnf command line and you should be ok now.

edit flag offensive delete link more

answered 2017-06-21 15:50:19 -0500

beduine gravatar image

If the refresh option doesn't work, you could try a dnf clean all && dnf update

edit flag offensive delete link more


That is what --refresh does. This is a known issue, you just need to get the updated repo metadata.

ssieb gravatar imagessieb ( 2017-06-21 15:52:57 -0500 )edit

ok - didn't know that the refresh helps in this case. Does the --refresh option also remove all the cached packages?

beduine gravatar imagebeduine ( 2017-06-21 15:58:38 -0500 )edit

My comment wasn't completely correct. No, --refresh isn't exactly the same as clean all. It doesn't remove cached packages. But that wasn't the problem in this case.

ssieb gravatar imagessieb ( 2017-06-21 16:13:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-06-21 14:20:47 -0500

Seen: 234 times

Last updated: Jun 21 '17