In Fedora when I was playing around with dnf, trying to learn new things (and Linux in general), I noticed the command "dnf repoclosure". Naturally I ran it to see the output. My initial thought was that nothing would show since "dnf update" was returning "dependencies resolved". To my surprise it spat out many package-names and their "unresolved" dependencies. Why is this? Why does "dnf update" show no dependency issues whilst "dnf repoclosure" shows so many?
How exactly are dependencies tracked? I thought that each package independently informed the system which dependencies it needed and that when installed was added to a registry of sorts.
- "dnf repoclosure" shows many unresolved dependencies whilst "dnf update" shows none. Why is that? Is there a way to resolve them? Am I missing libraries/packages or what does this mean?
- How are dependencies tracked? If there is a register of all dependencies, then why can't the OS just fetch the ones missing?
EDIT: Would like to point out that this is a quite fresh install of Fedora 28, so there shouldn't really be any dependency issues.