On Tue, Jul 7, 2020 at 8:10 AM H.Merijn Brand
On Tue, 7 Jul 2020 19:25:44 +0800, Maurizio Galli
wrote: Hello Carson,
On Tue, Jul 7, 2020 at 11:46 AM Carson Black
wrote: Any thoughts/objections regarding the possibility of replacing the libzypp stack in openSUSE with the libdnf stack?
-- Carson Black [ jan Pontajosi, Jan Blackquill ]
Mine is a feedback as a Tumbleweed user, and switching to dnf was very good for me:
1) Parallel download is a blessing because mirrors in China aren't always very fast. 2) I don't need to taboo packages I don't want to reinstall after each dup anymore because from what I can tell dnf remembers them unlike zypper. 3) Aliases already in place for dnf to mimic zypper are for the most part enough for my user case. Plus i'm discovering additional dnf features that zypper is missing such as removing orphan packages.
Is there a list of "matching" options yet?
zypper clean --all dnf clean all zypper dup dnf upgrade zypper in dnf install zypper lr dnf repolist zypper ls dnf repolist zypper lu dnf check-update --cacheonly zypper lp dnf updateinfo --cacheonly --security zypper patch dnf update-minimal --cacheonly --security zypper ref dnf makecache zypper rm dnf erase zypper se dnf search zypper up dnf update
Oh, and every time I need to use dnf (which I remember as acronym for Did Not Finish) I curse the fact that it doesn't know abbreviations like zypper does. I already entered "dnf se pattern" and "dnf in foo" a zillion times on CentOS. I also dislike the always automatic refresh that yum and dnf do, I want to refresh once and than set --cacheonly for all subsequent commands. (see below for zypper)
For reasons that I still don't get, RHEL and Fedora don't install the Zypper compatibility aliases by default. That said, some abbreviations are supported now as of CentOS 8.2, just not the zypper alias ones (dup, ref, etc.). The aliases that map to DNF commands cleanly are installed and activated by default on SUSE distributions. You can also make your own aliases and install them into /etc/dnf/aliases.d, or use the dnf alias command to set them up.
And "dnf clean all" mostoften *also* requires a "rm -rf /var/cache/yum"
This should not be necessary at all. Also, DNF does not write into /var/cache/yum. :) -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org