Yes, that sounds OK. Here’s an example from an update I just ran (truncated to fit reply limits):
$ sudo dnf update --refresh -y
First updates metadata. Since I used --refresh, it also re-downloads it.
Copr repo for neomutt owned by flatcap 5.9 kB/s | 3.5 kB 00:00
Adobe Systems Incorporated 51 kB/s | 2.9 kB 00:00
Fedora Modular 30 - x86_64 49 kB/s | 24 kB 00:00
Fedora Modular 30 - x86_64 - Updates 56 kB/s | 23 kB 00:00
Fedora 30 - x86_64 - Test Updates 35 kB/s | 22 kB 00:00
Fedora 30 - x86_64 - Updates 167 kB/s | 25 kB 00:00
Fedora 30 - x86_64 39 kB/s | 25 kB 00:00
google-chrome 36 kB/s | 1.3 kB 00:00
google-chrome 54 kB/s | 3.4 kB 00:00
RPM Fusion for Fedora 30 - Free - Test Updates 67 kB/s | 9.8 kB 00:00
RPM Fusion for Fedora 30 - Free - Updates 63 kB/s | 9.4 kB 00:00
RPM Fusion for Fedora 30 - Free 73 kB/s | 10 kB 00:00
RPM Fusion for Fedora 30 - Nonfree - Test Updates 68 kB/s | 10 kB 00:00
RPM Fusion for Fedora 30 - Nonfree - Updates 68 kB/s | 9.6 kB 00:00
RPM Fusion for Fedora 30 - Nonfree 72 kB/s | 10 kB 00:00
Then it resolves dependencies and provides a summary of the transaction to carry out:
Dependencies resolved.
==============================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================
Installing:
kernel x86_64 5.0.17-300.fc30 updates-testing 26 k
kernel-core x86_64 5.0.17-300.fc30 updates-testing 25 M
kernel-modules x86_64 5.0.17-300.fc30 updates-testing 28 M
kernel-modules-extra x86_64 5.0.17-300.fc30 updates-testing 2.1 M
Upgrading:
createrepo_c x86_64 0.13.2-2.fc30 updates-testing 65 k
createrepo_c-libs x86_64 0.13.2-2.fc30 updates-testing 95 k
grub2-common noarch 1:2.02-81.fc30 updates-testing 869 k
grub2-efi-ia32 x86_64 1:2.02-81.fc30 updates-testing 339 k
grub2-efi-ia32-cdboot x86_64 1:2.02-81.fc30 updates-testing 1.1 M
grub2-efi-x64 x86_64 1:2.02-81.fc30 updates-testing 357 k
grub2-efi-x64-cdboot x86_64 1:2.02-81.fc30 updates-testing 1.1 M
grub2-pc x86_64 1:2.02-81.fc30 updates-testing 24 k
grub2-pc-modules noarch 1:2.02-81.fc30 updates-testing 888 k
grub2-tools x86_64 1:2.02-81.fc30 updates-testing 1.9 M
grub2-tools-efi x86_64 1:2.02-81.fc30 updates-testing 433 k
grub2-tools-extra x86_64 1:2.02-81.fc30 updates-testing 1.0 M
grub2-tools-minimal x86_64 1:2.02-81.fc30 updates-testing 186 k
hdparm x86_64 9.58-1.fc30 updates-testing 91 k
ibus-libpinyin x86_64 1.11.1-1.fc30 updates-testing 866 k
ibus-libzhuyin x86_64 1.9.1-1.fc30 updates-testing 7.4 M
librepo x86_64 1.10.2-1.fc30 updates-testing 88 k
nautilus x86_64 3.32.1-2.fc30 updates-testing 2.6 M
nautilus-extensions x86_64 3.32.1-2.fc30 updates-testing 34 k
nss x86_64 3.44.0-2.fc30 updates-testing 633 k
nss-softokn x86_64 3.44.0-2.fc30 updates-testing 363 k
nss-softokn-freebl x86_64 3.44.0-2.fc30 updates-testing 215 k
nss-sysinit x86_64 3.44.0-2.fc30 updates-testing 20 k
nss-util x86_64 3.44.0-2.fc30 updates-testing 83 k
vim-X11 x86_64 2:8.1.1359-1.fc30 updates-testing 1.5 M
vim-common x86_64 2:8.1.1359-1.fc30 updates-testing 6.6 M
vim-enhanced x86_64 2:8.1.1359-1.fc30 updates-testing 1.4 M
vim-filesystem noarch 2:8.1.1359-1.fc30 updates-testing 29 k
vim-minimal x86_64 2:8.1.1359-1.fc30 updates-testing 564 k
google-chrome-stable x86_64 74.0.3729.169-1 google-chrome 56 M
Removing:
kernel x86_64 5.0.11-300.fc30 @updates 0
kernel-core x86_64 5.0.11-300.fc30 @updates 61 M
kernel-modules x86_64 5.0.11-300.fc30 @updates 27 M
kernel-modules-extra x86_64 5.0.11-300.fc30 @updates 2.1 M
Transaction Summary
==============================================================================================================================================================================================
Install 4 Packages
Upgrade 30 Packages
Remove 4 Packages
Total download size: 142 M
If one does not use -y
, it will ask if it should continue here. Then it begins to download packages:
Downloading Packages:
(1/34): librepo-1.9.6-2.fc30_1.10.2-1.fc30.x86_64.drpm 248 kB/s | 37 kB 00:00
(2/34): createrepo_c-libs-0.13.2-1.fc30_0.13.2-2.fc30.x86_64.drpm 67 kB/s | 11 kB 00:00
(3/34): kernel-5.0.17-300.fc30.x86_64.rpm 557 kB/s | 26 kB 00:00
(4/34): vim-common-8.1.1137-1.fc30_8.1.1359-1.fc30.x86_64.drpm 545 kB/s | 363 kB 00:00
[DRPM 1/3] librepo-1.9.6-2.fc30_1.10.2-1.fc30.x86_64.drpm: done
[DRPM 2/3] createrepo_c-libs-0.13.2-1.fc30_0.13.2-2.fc30.x86_64.drpm: done
(5/34): kernel-modules-extra-5.0.17-300.fc30.x86_64.rpm 1.2 MB/s | 2.1 MB 00:01
(6/34): createrepo_c-0.13.2-2.fc30.x86_64.rpm 281 kB/s | 65 kB 00:00
(7/34): grub2-common-2.02-81.fc30.noarch.rpm 1.3 MB/s | 869 kB 00:00
(8/34): grub2-efi-ia32-2.02-81.fc30.x86_64.rpm 1.1 MB/s | 339 kB 00:00
(9/34): grub2-efi-ia32-cdboot-2.02-81.fc30.x86_64.rpm 1.4 MB/s | 1.1 MB 00:00
(10/34): grub2-efi-x64-2.02-81.fc30.x86_64.rpm 1.1 MB/s | 357 kB 00:00
(11/34): grub2-efi-x64-cdboot-2.02-81.fc30.x86_64.rpm 1.1 MB/s | 1.1 MB 00:00
(12/34): grub2-pc-2.02-81.fc30.x86_64.rpm 527 kB/s | 24 kB 00:00
(13/34): grub2-pc-modules-2.02-81.fc30.noarch.rpm 966 kB/s | 888 kB 00:00
(14/34): grub2-tools-2.02-81.fc30.x86_64.rpm 951 kB/s | 1.9 MB 00:02
(15/34): grub2-tools-efi-2.02-81.fc30.x86_64.rpm 905 kB/s | 433 kB 00:00
(16/34): grub2-tools-extra-2.02-81.fc30.x86_64.rpm 961 kB/s | 1.0 MB 00:01
(17/34): grub2-tools-minimal-2.02-81.fc30.x86_64.rpm 685 kB/s | 186 kB 00:00
(18/34): hdparm-9.58-1.fc30.x86_64.rpm 591 kB/s | 91 kB 00:00
(19/34): ibus-libpinyin-1.11.1-1.fc30.x86_64.rpm 1.1 MB/s | 866 kB 00:00
(20/34): kernel-core-5.0.17-300.fc30.x86_64.rpm 1.6 MB/s | 25 MB 00:15
(21/34): ibus-libzhuyin-1.9.1-1.fc30.x86_64.rpm 1.2 MB/s | 7.4 MB 00:05
(22/34): nautilus-extensions-3.32.1-2.fc30.x86_64.rpm 444 kB/s | 34 kB 00:00
(23/34): nautilus-3.32.1-2.fc30.x86_64.rpm 1.6 MB/s | 2.6 MB 00:01
(24/34): nss-softokn-3.44.0-2.fc30.x86_64.rpm 1.9 MB/s | 363 kB 00:00
(25/34): nss-softokn-freebl-3.44.0-2.fc30.x86_64.rpm 1.6 MB/s | 215 kB 00:00
(26/34): nss-3.44.0-2.fc30.x86_64.rpm 1.1 MB/s | 633 kB 00:00
(27/34): nss-sysinit-3.44.0-2.fc30.x86_64.rpm 538 kB/s | 20 kB 00:00
(28/34): nss-util-3.44.0-2.fc30.x86_64.rpm 1.1 MB/s | 83 kB 00:00
(29/34): vim-X11-8.1.1359-1.fc30.x86_64.rpm 1.4 MB/s | 1.5 MB 00:01
(30/34): vim-filesystem-8.1.1359-1.fc30.noarch.rpm 632 kB/s | 29 kB 00:00
(31/34): vim-enhanced-8.1.1359-1.fc30.x86_64.rpm 1.1 MB/s | 1.4 MB 00:01
(32/34): vim-minimal-8.1.1359-1.fc30.x86_64.rpm 1.6 MB/s | 564 kB 00:00
(33/34): kernel-modules-5.0.17-300.fc30.x86_64.rpm 1.1 MB/s | 28 MB 00:24
(34/34): google-chrome-stable-74.0.3729.169-1.x86_64.rpm 3.6 MB/s | 56 MB 00:15
[DRPM 3/3] vim-common-8.1.1137-1.fc30_8.1.1359-1.fc30.x86_64.drpm: done
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.8 MB/s | 135 MB 00:35
Delta RPMs reduced 141.8 MB of updates to 135.5 MB (4.1% saved)
Then it runs the transaction. First a check, then a test, then if they succeed, it runs it:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
First upgrades/installs:
...
Running scriptlet: google-chrome-stable-74.0.3729.169-1.x86_64 22/68
Upgrading : google-chrome-stable-74.0.3729.169-1.x86_64 22/68
Running scriptlet: google-chrome-stable-74.0.3729.169-1.x86_64 22/68
Redirecting to /bin/systemctl start atd.service
...
Running scriptlet: google-chrome-stable-74.0.3729.157-1.x86_64 35/68
Then cleanups of older versions:
Cleanup : google-chrome-stable-74.0.3729.157-1.x86_64 35/68
...
Verifies that everything is OK:
...
Verifying : google-chrome-stable-74.0.3729.169-1.x86_64 63/68
Verifying : google-chrome-stable-74.0.3729.157-1.x86_64 64/68...
Output from the tracer plugin: dnf-plugin-tracer
tells you what services need to be restarted (this is why Gnome-software only updates on reboot:
You should restart:
* Some applications using:
sudo systemctl restart libvirtd
sudo systemctl restart udisks2
* These applications manually:
QtWebEngineProcess --type=zygote --webengine-schemes=qrc:sLV --lang=en-GB
dnf
evolution-addressbook-factory
evolution-alarm-notify
evolution-calendar-factory
evolution-source-registry
gnome-calendar
gnome-shell-calendar-server
gsd-smartcard
qutebrowser
vimx
zathura
Additionally to those process above, there are:
- 1 processes requiring reboot
For more information run:
sudo tracer -iat 1558470548.110805
Transaction summary:
Upgraded:
createrepo_c-0.13.2-2.fc30.x86_64 createrepo_c-libs-0.13.2-2.fc30.x86_64 grub2-common-1:2.02-81.fc30.noarch grub2-efi-ia32-1:2.02-81.fc30.x86_64
grub2-efi-ia32-cdboot-1:2.02-81.fc30.x86_64 grub2-efi-x64-1:2.02-81.fc30.x86_64 grub2-efi-x64-cdboot-1:2.02-81.fc30.x86_64 grub2-pc-1:2.02-81.fc30.x86_64
grub2-pc-modules-1:2.02-81.fc30.noarch grub2-tools-1:2.02-81.fc30.x86_64 grub2-tools-efi-1:2.02-81.fc30.x86_64 grub2-tools-extra-1:2.02-81.fc30.x86_64
grub2-tools-minimal-1:2.02-81.fc30.x86_64 hdparm-9.58-1.fc30.x86_64 ibus-libpinyin-1.11.1-1.fc30.x86_64 ibus-libzhuyin-1.9.1-1.fc30.x86_64
librepo-1.10.2-1.fc30.x86_64 nautilus-3.32.1-2.fc30.x86_64 nautilus-extensions-3.32.1-2.fc30.x86_64 nss-3.44.0-2.fc30.x86_64
nss-softokn-3.44.0-2.fc30.x86_64 nss-softokn-freebl-3.44.0-2.fc30.x86_64 nss-sysinit-3.44.0-2.fc30.x86_64 nss-util-3.44.0-2.fc30.x86_64
vim-X11-2:8.1.1359-1.fc30.x86_64 vim-common-2:8.1.1359-1.fc30.x86_64 vim-enhanced-2:8.1.1359-1.fc30.x86_64 vim-filesystem-2:8.1.1359-1.fc30.noarch
vim-minimal-2:8.1.1359-1.fc30.x86_64 google-chrome-stable-74.0.3729.169-1.x86_64
Installed:
kernel-5.0.17-300.fc30.x86_64 kernel-core-5.0.17-300.fc30.x86_64 kernel-modules-5.0.17-300.fc30.x86_64 kernel-modules-extra-5.0.17-300.fc30.x86_64
Removed:
kernel-5.0.11-300.fc30.x86_64 kernel-core-5.0.11-300.fc30.x86_64 kernel-modules-5.0.11-300.fc30.x86_64 kernel-modules-extra-5.0.11-300.fc30.x86_64
Complete!
All done!