-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Dnf5 added a "replacing package" line after every package that is listed for updating, when doing dnf update.
I find the "replacing package" line to be unnecessary and very distracting. I'd like to see a way added to suppress that line (---quiet=x) or better yet, suppress it by default and enable it with a command line switch, --verbose=y or --display=replacing or --showreplacing.
For example, this:
Upgrading:
cmake x86_64 3.30.7-1.fc41 updates 32.7 MiB
replacing cmake x86_64 3.30.5-1.fc41 <unknown> 32.5 MiB
cmake-data noarch 3.30.7-1.fc41 updates 8.2 MiB
replacing cmake-data noarch 3.30.5-1.fc41 <unknown> 8.2 MiB
cmake-filesystem x86_64 3.30.7-1.fc41 updates 0.0 B
replacing cmake-filesystem x86_64 3.30.5-1.fc41 <unknown> 0.0 B
cmake-rpm-macros noarch 3.30.7-1.fc41 updates 7.7 KiB
replacing cmake-rpm-macros noarch 3.30.5-1.fc41 <unknown> 7.5 KiB
dnf-data noarch 4.22.0-2.fc41 updates 38.6 KiB
replacing dnf-data noarch 4.22.0-1.fc41 updates 38.6 KiB
gnome-connections x86_64 47.2.1-1.fc41 updates 1.1 MiB
replacing gnome-connections x86_64 47.0-2.fc41 updates 1.1 MiB
gnome-online-accounts x86_64 3.53.1-3.fc41 updates 2.2 MiB
replacing gnome-online-accounts x86_64 3.53.0-1.fc41 <unknown> 2.2 MiB
python3-dnf noarch 4.22.0-2.fc41 updates 2.6 MiB
replacing python3-dnf noarch 4.22.0-1.fc41 updates 2.6 MiB
python3-legacy-cgi noarch 2.6.2-1.fc41 updates 132.4 KiB
replacing python3-legacy-cgi noarch 2.6.1-1.fc41 updates 132.4 KiB
tuned noarch 2.25.1-1.fc41 updates 1.6 MiB
replacing tuned noarch 2.25.0-1.fc41 updates 1.6 MiB
tuned-ppd noarch 2.25.1-1.fc41 updates 6.9 KiB
replacing tuned-ppd noarch 2.25.0-1.fc41 updates 6.9 KiB
could be displayed as this, again:
Upgrading:
cmake x86_64 3.30.7-1.fc41 updates 32.7 MiB
cmake-data noarch 3.30.7-1.fc41 updates 8.2 MiB
cmake-filesystem x86_64 3.30.7-1.fc41 updates 0.0 B
cmake-rpm-macros noarch 3.30.7-1.fc41 updates 7.7 KiB
dnf-data noarch 4.22.0-2.fc41 updates 38.6 KiB
gnome-connections x86_64 47.2.1-1.fc41 updates 1.1 MiB
gnome-online-accounts x86_64 3.53.1-3.fc41 updates 2.2 MiB
python3-dnf noarch 4.22.0-2.fc41 updates 2.6 MiB
python3-legacy-cgi noarch 2.6.2-1.fc41 updates 132.4 KiB
tuned noarch 2.25.1-1.fc41 updates 1.6 Mi
tuned-ppd noarch 2.25.1-1.fc41 updates 6.9 KiB
90% of the time I do not need to know what package is being replaced when I run dnf update. If I do need to see what is being replaced I could use a command line switch to see or I could use dnf list package
Aside: I also question the use of the word "Upgrading" in a dnf update transaction. In Fedora, upgrades are to a new version of the distro, updates are changes to the existing version of the distro.
DNF rocks. It is by far my favorite package manager. Keep up the good work.