Ask Your Question

Why am I getting different results on running 'dnf repoclosure' and 'dnf update'?

asked 2018-06-16 07:31:46 -0500

yesiamabdul gravatar image

I did recently upgraded from Fedora 27 to Fedora 28. And I ran the command 'dnf repoclosure' and it showed a long list of unresolved deps. But when I ran the command 'dnf update', it showed 'Dependencies resolved'. I'd like a little help here. Thank you very much and I appreciate your help. Have a great day

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2018-06-16 11:09:01 -0500

villykruse gravatar image

updated 2018-06-16 14:22:02 -0500

dnf check-update shows what updates are available, and dnf update will apply these updates.

I am not sure what dnf repoclosure is supposed to do; the unresolved referenced are in fact resolvable. It does, however, only look at the repository contents and not on your installed packages.

Check out this bugzilla report

edit flag offensive delete link more

answered 2018-06-16 12:23:19 -0500

sideburns gravatar image

When you're installing packages, dnf only needs to resolve any dependencies in what it's installing, and in an upgrade/update, you're installing a newer version of an existing package. It has no need to check for or resolve dependencies in anything else, because there really shouldn't be anything to do. What repoclosure is meant for is a tad unclear to me, but it might be a modern version of the old package-cleanup problems.

edit flag offensive delete link more

answered 2018-06-16 09:46:45 -0500

edit flag offensive delete link more

Question Tools


Asked: 2018-06-16 07:31:46 -0500

Seen: 87 times

Last updated: Jun 16 '18