On 12/21/2016 02:00 AM, Kevin Fenzi wrote:
On Tue, 20 Dec 2016 15:39:08 -0800
Joe Zeff <joe(a)zeff.us> wrote:
> On 12/20/2016 03:27 PM, Matthew Miller wrote:
>> Depends on which part.
>>
>> You can use dnf repoquery to list duplicates, leaf packages (now
>> "unneeded", which I don't think is an improvement in clarity, but
>> whatever), orphans ("extras", and ditto), unsatisfied deps (formerly
>> "problems", now "unsatisfied" — that one is an improvement).
>>
>> The cleandupes functionality is now "dnf remove --duplicates".
>
> That's good to know. Somehow, upgrades seem to hang on this system
> (but not my laptop) leaving me unable to start a GUI, and with so
> many dupes that I'd have to get a list of them (package-cleanup
> --dupes | grep
> fcXX> dupes.txt with XX representing the older disty because it
> fcXX> listed
> both sets) and then clean them up a few at a time by hand. Not the
> most pleasant task, but doable as long as I've got a simple way to
> get that list.
FYI, If you are looking for a particular dnf command that does something
yum used to do the first place to look is 'man yum2dnf'
(or
https://dnf.readthedocs.io/en/latest/cli_vs_yum.html )
While we're at it:
No idea, what "dnf repoquery --unneeded" does, but it by no means is an
equivalent to "package-cleanup --leaves":
# package-cleanup --leaves | wc -l
...
40
# dnf repoquery --unneeded
[nothing]
It's one of the reasons I still have package-cleanup installed.
Ralf