Ask Your Question

dnf error after update

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

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 -0600

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 -0600

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 -0600 )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 -0600 )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 -0600 )edit

Question Tools

1 follower


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

Seen: 340 times

Last updated: Jun 21 '17