FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I cleaned things up a bit. Now when I use dnf remove package, I get the other packages listed like in tidy and libtidy. I think the problem might be that my updates got interrupted once. I went through and deleted each package listed in package-cleanup --leaves.
Now my question is it is telling me package-cleanup is a yum command and I am trying to figure out if there is an exact replacement and how to install it with dnf that yields the same results as package-cleanup?
Please assist if you know what I am referring to. <see below>
Installed size: 686 k
Is this ok [y/N]: n
Operation aborted.
[root@new-host-9 ~]# dnf package-cleanup --leaves
No such command: package-cleanup. Please use /bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(package-cleanup)'"
the package manager recognizes that libtidy also needs to be removed. I'd still like to know if and how to install the replacement for package-cleanup --leaves for dnf. If you know, and can help me get it installed that is very cool. However, for now, I am very happy my package manager is working again.
Yes, it does need that package. It's not a perfect solution, but if you remove a program and aren't sure everything it installed with it was removed, it'll work.
Also, you can check dnf list autoremove to see if anything is listed there, as that will tell you what dnf autoremove would remove without actually calling autoremove.
Maybe I need fedora 23 to run that command dnf repoquery --unneeded? I am using fedora 22.
I will update fedora 23 and try to rerun the command after the update. Maybe I will update tonight.
Hey - whatever magic that happened with the fedora 23 install lets me use dnf repoquery --unneeded to replace package-cleanup --leaves.
thx for telling me about this new command.
I am switching to dnf at the command-line. yumex on my system can't do that.
Everything seems to work except I have to reinstall my fancy mu or mu4e email system. It should be easy because i have the config files for emac and offlineimap.
Fri Feb 12 17:19:35 $ cat /etc/fedora-release
Fedora release 23 (Twenty Three)
Fri Feb 12 17:20:02 $ :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.