Simple way to skip updates to certain packages

Hi there,

Just wanting to run an update although skip some packages.

Would this command be the best way to skip individual packages (i.e Skype)

dnf upgrade -x skypeforlinux

yes, though it may have certain other dependencies that would also have to be skipped in order to remain functional. Try it and see what happens.

Yes it worked lucky guess I had

What other dependencies would be skipped, only for skype your saying:

Also i love the way the rpm package manager sorts the installation updates alphabetised…its neat

This is with:

Last metadata expiration check: 3:17:38 ago on Wed 10 Aug 2022 21:05:59.
Dependencies resolved.
================================================================================
 Package                               Arch   Version           Repo       Size
================================================================================
Upgrading:
 bind-libs                             x86_64 32:9.16.31-1.fc36 updates   1.2 M
 bind-license                          noarch 32:9.16.31-1.fc36 updates    14 k
 bind-utils                            x86_64 32:9.16.31-1.fc36 updates   206 k
 coreutils                             x86_64 9.0-8.fc36        updates   1.1 M
 coreutils-common                      x86_64 9.0-8.fc36        updates   2.0 M
 distribution-gpg-keys                 noarch 1.75-1.fc36       updates   375 k
 evolution-data-server                 x86_64 3.44.4-1.fc36     updates   2.4 M
 evolution-data-server-langpacks       noarch 3.44.4-1.fc36     updates   1.2 M
 gegl04                                x86_64 0.4.38-1.fc36     updates   3.1 M
 gnome-software                        x86_64 42.4-1.fc36       updates   1.6 M
 grub2-common                          noarch 1:2.06-47.fc36    updates   906 k
 grub2-efi-ia32                        x86_64 1:2.06-47.fc36    updates   1.3 M
 grub2-efi-ia32-cdboot                 x86_64 1:2.06-47.fc36    updates   1.3 M
 grub2-efi-x64                         x86_64 1:2.06-47.fc36    updates   1.3 M
 grub2-efi-x64-cdboot                  x86_64 1:2.06-47.fc36    updates   1.3 M
 grub2-pc                              x86_64 1:2.06-47.fc36    updates    17 k
 grub2-pc-modules                      noarch 1:2.06-47.fc36    updates   915 k
 grub2-tools                           x86_64 1:2.06-47.fc36    updates   1.8 M
 grub2-tools-efi                       x86_64 1:2.06-47.fc36    updates   542 k
 grub2-tools-extra                     x86_64 1:2.06-47.fc36    updates   842 k
 grub2-tools-minimal                   x86_64 1:2.06-47.fc36    updates   605 k
 grubby                                x86_64 8.40-64.fc36      updates    33 k
 ibus-m17n                             x86_64 1.4.10-1.fc36     updates   164 k
 libupnp                               x86_64 1.14.13-1.fc36    updates   111 k
 libwebp                               x86_64 1.2.4-1.fc36      updates   278 k
 mesa-dri-drivers                      x86_64 22.1.5-2.fc36     updates    18 M
 mesa-filesystem                       x86_64 22.1.5-2.fc36     updates    18 k
 mesa-libEGL                           x86_64 22.1.5-2.fc36     updates   125 k
 mesa-libGL                            x86_64 22.1.5-2.fc36     updates   175 k
 mesa-libgbm                           x86_64 22.1.5-2.fc36     updates    44 k
 mesa-libglapi                         x86_64 22.1.5-2.fc36     updates    53 k
 mesa-libxatracker                     x86_64 22.1.5-2.fc36     updates   2.0 M
 mesa-vulkan-drivers                   x86_64 22.1.5-2.fc36     updates   4.8 M
 net-snmp-libs                         x86_64 1:5.9.3-1.fc36    updates   741 k
 pipewire-codec-aptx                   x86_64 0.3.56-1.fc36     rpmfusion-free-updates
                                                                           25 k
 qemu-audio-alsa                       x86_64 2:6.2.0-13.fc36   updates    25 k
 qemu-audio-jack                       x86_64 2:6.2.0-13.fc36   updates    23 k
 qemu-audio-oss                        x86_64 2:6.2.0-13.fc36   updates    23 k
 qemu-audio-pa                         x86_64 2:6.2.0-13.fc36   updates    25 k
 qemu-audio-sdl                        x86_64 2:6.2.0-13.fc36   updates    22 k
 qemu-audio-spice                      x86_64 2:6.2.0-13.fc36   updates    21 k
 qemu-block-curl                       x86_64 2:6.2.0-13.fc36   updates    27 k
 qemu-block-dmg                        x86_64 2:6.2.0-13.fc36   updates    19 k
 qemu-block-gluster                    x86_64 2:6.2.0-13.fc36   updates    28 k
 qemu-block-iscsi                      x86_64 2:6.2.0-13.fc36   updates    35 k
 qemu-block-nfs                        x86_64 2:6.2.0-13.fc36   updates    27 k
 qemu-block-rbd                        x86_64 2:6.2.0-13.fc36   updates    30 k
 qemu-block-ssh                        x86_64 2:6.2.0-13.fc36   updates    29 k
 qemu-char-baum                        x86_64 2:6.2.0-13.fc36   updates    23 k
 qemu-char-spice                       x86_64 2:6.2.0-13.fc36   updates    22 k
 qemu-common                           x86_64 2:6.2.0-13.fc36   updates   399 k
 qemu-device-display-qxl               x86_64 2:6.2.0-13.fc36   updates    44 k
 qemu-device-display-vhost-user-gpu    x86_64 2:6.2.0-13.fc36   updates   116 k
 qemu-device-display-virtio-gpu        x86_64 2:6.2.0-13.fc36   updates    38 k
 qemu-device-display-virtio-gpu-gl     x86_64 2:6.2.0-13.fc36   updates    26 k
 qemu-device-display-virtio-gpu-pci    x86_64 2:6.2.0-13.fc36   updates    20 k
 qemu-device-display-virtio-gpu-pci-gl x86_64 2:6.2.0-13.fc36   updates    19 k
 qemu-device-display-virtio-vga        x86_64 2:6.2.0-13.fc36   updates    21 k
 qemu-device-display-virtio-vga-gl     x86_64 2:6.2.0-13.fc36   updates    19 k
 qemu-device-usb-host                  x86_64 2:6.2.0-13.fc36   updates    33 k
 qemu-device-usb-redirect              x86_64 2:6.2.0-13.fc36   updates    39 k
 qemu-device-usb-smartcard             x86_64 2:6.2.0-13.fc36   updates    27 k
 qemu-guest-agent                      x86_64 2:6.2.0-13.fc36   updates   198 k
 qemu-img                              x86_64 2:6.2.0-13.fc36   updates   1.7 M
 qemu-kvm                              x86_64 2:6.2.0-13.fc36   updates    15 k
 qemu-pr-helper                        x86_64 2:6.2.0-13.fc36   updates   318 k
 qemu-system-x86                       x86_64 2:6.2.0-13.fc36   updates    16 k
 qemu-system-x86-core                  x86_64 2:6.2.0-13.fc36   updates   7.2 M
 qemu-ui-curses                        x86_64 2:6.2.0-13.fc36   updates    28 k
 qemu-ui-egl-headless                  x86_64 2:6.2.0-13.fc36   updates    21 k
 qemu-ui-gtk                           x86_64 2:6.2.0-13.fc36   updates    43 k
 qemu-ui-opengl                        x86_64 2:6.2.0-13.fc36   updates    26 k
 qemu-ui-sdl                           x86_64 2:6.2.0-13.fc36   updates    31 k
 qemu-ui-spice-app                     x86_64 2:6.2.0-13.fc36   updates    21 k
 qemu-ui-spice-core                    x86_64 2:6.2.0-13.fc36   updates    39 k
 qemu-virtiofsd                        x86_64 2:6.2.0-13.fc36   updates   128 k
 shadow-utils                          x86_64 2:4.11.1-3.fc36   updates   1.1 M
 shadow-utils-subid                    x86_64 2:4.11.1-3.fc36   updates    30 k
 ulauncher                             noarch 5.14.7-1.fc36     updates   1.5 M
 webkit2gtk3                           x86_64 2.36.6-1.fc36     updates    15 M
 webkit2gtk3-jsc                       x86_64 2.36.6-1.fc36     updates   6.3 M

Transaction Summary
================================================================================
Upgrade  81 Packages

Total download size: 85 M
Is this ok [Y/n]: 

THis is without

[isaiah@fedora ~]$ sudo dnf upgrade
Last metadata expiration check: 3:18:34 ago on Wed 10 Aug 2022 21:05:59.
Dependencies resolved.
================================================================================
 Package                            Arch   Version           Repository    Size
================================================================================
Upgrading:
 bind-libs                          x86_64 32:9.16.31-1.fc36 updates      1.2 M
 bind-license                       noarch 32:9.16.31-1.fc36 updates       14 k
 bind-utils                         x86_64 32:9.16.31-1.fc36 updates      206 k
 coreutils                          x86_64 9.0-8.fc36        updates      1.1 M
 coreutils-common                   x86_64 9.0-8.fc36        updates      2.0 M
 distribution-gpg-keys              noarch 1.75-1.fc36       updates      375 k
 evolution-data-server              x86_64 3.44.4-1.fc36     updates      2.4 M
 evolution-data-server-langpacks    noarch 3.44.4-1.fc36     updates      1.2 M
 gegl04                             x86_64 0.4.38-1.fc36     updates      3.1 M
 gnome-software                     x86_64 42.4-1.fc36       updates      1.6 M
 grub2-common                       noarch 1:2.06-47.fc36    updates      906 k
 grub2-efi-ia32                     x86_64 1:2.06-47.fc36    updates      1.3 M
 grub2-efi-ia32-cdboot              x86_64 1:2.06-47.fc36    updates      1.3 M
 grub2-efi-x64                      x86_64 1:2.06-47.fc36    updates      1.3 M
 grub2-efi-x64-cdboot               x86_64 1:2.06-47.fc36    updates      1.3 M
 grub2-pc                           x86_64 1:2.06-47.fc36    updates       17 k
 grub2-pc-modules                   noarch 1:2.06-47.fc36    updates      915 k
 grub2-tools                        x86_64 1:2.06-47.fc36    updates      1.8 M
 grub2-tools-efi                    x86_64 1:2.06-47.fc36    updates      542 k
 grub2-tools-extra                  x86_64 1:2.06-47.fc36    updates      842 k
 grub2-tools-minimal                x86_64 1:2.06-47.fc36    updates      605 k
 grubby                             x86_64 8.40-64.fc36      updates       33 k
 ibus-m17n                          x86_64 1.4.10-1.fc36     updates      164 k
 libupnp                            x86_64 1.14.13-1.fc36    updates      111 k
 libwebp                            x86_64 1.2.4-1.fc36      updates      278 k
 mesa-dri-drivers                   x86_64 22.1.5-2.fc36     updates       18 M
 mesa-filesystem                    x86_64 22.1.5-2.fc36     updates       18 k
 mesa-libEGL                        x86_64 22.1.5-2.fc36     updates      125 k
 mesa-libGL                         x86_64 22.1.5-2.fc36     updates      175 k
 mesa-libgbm                        x86_64 22.1.5-2.fc36     updates       44 k
 mesa-libglapi                      x86_64 22.1.5-2.fc36     updates       53 k
 mesa-libxatracker                  x86_64 22.1.5-2.fc36     updates      2.0 M
 mesa-vulkan-drivers                x86_64 22.1.5-2.fc36     updates      4.8 M
 net-snmp-libs                      x86_64 1:5.9.3-1.fc36    updates      741 k
 pipewire-codec-aptx                x86_64 0.3.56-1.fc36     rpmfusion-free-updates
                                                                           25 k
 qemu-audio-alsa                    x86_64 2:6.2.0-13.fc36   updates       25 k
 qemu-audio-jack                    x86_64 2:6.2.0-13.fc36   updates       23 k
 qemu-audio-oss                     x86_64 2:6.2.0-13.fc36   updates       23 k
 qemu-audio-pa                      x86_64 2:6.2.0-13.fc36   updates       25 k
 qemu-audio-sdl                     x86_64 2:6.2.0-13.fc36   updates       22 k
 qemu-audio-spice                   x86_64 2:6.2.0-13.fc36   updates       21 k
 qemu-block-curl                    x86_64 2:6.2.0-13.fc36   updates       27 k
 qemu-block-dmg                     x86_64 2:6.2.0-13.fc36   updates       19 k
 qemu-block-gluster                 x86_64 2:6.2.0-13.fc36   updates       28 k
 qemu-block-iscsi                   x86_64 2:6.2.0-13.fc36   updates       35 k
 qemu-block-nfs                     x86_64 2:6.2.0-13.fc36   updates       27 k
 qemu-block-rbd                     x86_64 2:6.2.0-13.fc36   updates       30 k
 qemu-block-ssh                     x86_64 2:6.2.0-13.fc36   updates       29 k
 qemu-char-baum                     x86_64 2:6.2.0-13.fc36   updates       23 k
 qemu-char-spice                    x86_64 2:6.2.0-13.fc36   updates       22 k
 qemu-common                        x86_64 2:6.2.0-13.fc36   updates      399 k
 qemu-device-display-qxl            x86_64 2:6.2.0-13.fc36   updates       44 k
 qemu-device-display-vhost-user-gpu x86_64 2:6.2.0-13.fc36   updates      116 k
 qemu-device-display-virtio-gpu     x86_64 2:6.2.0-13.fc36   updates       38 k
 qemu-device-display-virtio-gpu-gl  x86_64 2:6.2.0-13.fc36   updates       26 k
 qemu-device-display-virtio-gpu-pci x86_64 2:6.2.0-13.fc36   updates       20 k
 qemu-device-display-virtio-gpu-pci-gl
                                    x86_64 2:6.2.0-13.fc36   updates       19 k
 qemu-device-display-virtio-vga     x86_64 2:6.2.0-13.fc36   updates       21 k
 qemu-device-display-virtio-vga-gl  x86_64 2:6.2.0-13.fc36   updates       19 k
 qemu-device-usb-host               x86_64 2:6.2.0-13.fc36   updates       33 k
 qemu-device-usb-redirect           x86_64 2:6.2.0-13.fc36   updates       39 k
 qemu-device-usb-smartcard          x86_64 2:6.2.0-13.fc36   updates       27 k
 qemu-guest-agent                   x86_64 2:6.2.0-13.fc36   updates      198 k
 qemu-img                           x86_64 2:6.2.0-13.fc36   updates      1.7 M
 qemu-kvm                           x86_64 2:6.2.0-13.fc36   updates       15 k
 qemu-pr-helper                     x86_64 2:6.2.0-13.fc36   updates      318 k
 qemu-system-x86                    x86_64 2:6.2.0-13.fc36   updates       16 k
 qemu-system-x86-core               x86_64 2:6.2.0-13.fc36   updates      7.2 M
 qemu-ui-curses                     x86_64 2:6.2.0-13.fc36   updates       28 k
 qemu-ui-egl-headless               x86_64 2:6.2.0-13.fc36   updates       21 k
 qemu-ui-gtk                        x86_64 2:6.2.0-13.fc36   updates       43 k
 qemu-ui-opengl                     x86_64 2:6.2.0-13.fc36   updates       26 k
 qemu-ui-sdl                        x86_64 2:6.2.0-13.fc36   updates       31 k
 qemu-ui-spice-app                  x86_64 2:6.2.0-13.fc36   updates       21 k
 qemu-ui-spice-core                 x86_64 2:6.2.0-13.fc36   updates       39 k
 qemu-virtiofsd                     x86_64 2:6.2.0-13.fc36   updates      128 k
 shadow-utils                       x86_64 2:4.11.1-3.fc36   updates      1.1 M
 shadow-utils-subid                 x86_64 2:4.11.1-3.fc36   updates       30 k
 skypeforlinux                      x86_64 8.87.0.403-1      skype-stable 120 M
 ulauncher                          noarch 5.14.7-1.fc36     updates      1.5 M
 webkit2gtk3                        x86_64 2.36.6-1.fc36     updates       15 M
 webkit2gtk3-jsc                    x86_64 2.36.6-1.fc36     updates      6.3 M

Transaction Summary
================================================================================
Upgrade  82 Packages

Total download size: 205 M
Is this ok [Y/n]: 

Those both appear perfectly normal for the way dnf functions.

:wink:

Skype is coming from a 3rd party repo so it may at times cause problems as well.

yes it is problematic, though the bugs are finally ironed out it seems, hence why I want to stop updates… why do third party repos cause issues, its not the official Skype for Linux I’m using?

Problems sometimes occur when there are dependencies that conflict. Many times there are no issues, but it can and has occurred. Then the user has to identify the problem and resolve the conflicts.