The installation of GParted pulls in too many GNOME packages

Why does installing GParted require installing GNOME packages? Are these dependencies necessary for GParted to function?

Especially these packages:

  • gnome-control-center
  • gnome-online-accounts
  • gnome-session
  • gnome-session-wayland-session
  • gnome-settings-daemon
  • gnome-shell
  • mutter
  • gdm
emanu@Fedora ~ [2]> sudo dnf install gparted
Aggiornamento e caricamento dei repository:
Repository caricati.
 https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/pubkey.gpg                                                                                                                     100% |   2.6 KiB/s |   1.0 KiB |  00m00s
 https://linux.teamviewer.com/pubkey/currentkey.asc                                                                                                                                                     100% |  57.8 KiB/s |   5.3 KiB |  00m00s
Package                                                                            Arch              Version                                                                            Repository                                          Size
Installing:
 gparted                                                                           x86_64            1.7.0-1.fc42                                                                       fedora                                           8.9 MiB
Installing dependencies:
 abseil-cpp                                                                        x86_64            20240722.1-1.fc42                                                                  fedora                                           2.3 MiB
 accountsservice-libs                                                              x86_64            23.13.9-8.fc42                                                                     fedora                                         212.2 KiB
 bluez-obexd                                                                       x86_64            5.79-3.fc42                                                                        updates-testing                                340.9 KiB
 colord-gtk4                                                                       x86_64            0.3.1-3.fc42                                                                       fedora                                          35.5 KiB
 dbus-daemon                                                                       x86_64            1:1.16.0-3.fc42                                                                    fedora                                         452.2 KiB
 dbus-tools                                                                        x86_64            1:1.16.0-3.fc42                                                                    fedora                                         111.3 KiB
 evolution-data-server                                                             x86_64            3.55.3-1.fc42                                                                      updates-testing                                  8.6 MiB
 evolution-data-server-langpacks                                                   noarch            3.55.3-1.fc42                                                                      updates-testing                                  8.8 MiB
 freerdp-libs                                                                      x86_64            2:3.12.0-1.fc42                                                                    updates-testing                                  3.6 MiB
 gcr                                                                               x86_64            4.3.91-1.fc42                                                                      fedora                                         134.0 KiB
 gdm                                                                               x86_64            1:48~beta-1.fc42                                                                   updates-testing                                  4.9 MiB
 geoclue2-libs                                                                     x86_64            2.7.2-2.fc42                                                                       fedora                                         167.1 KiB
 geocode-glib                                                                      x86_64            3.26.4-13.fc42                                                                     fedora                                         226.9 KiB
 gjs                                                                               x86_64            1.82.1-4.fc42                                                                      fedora                                           1.6 MiB
 gnome-autoar                                                                      x86_64            0.4.5-2.fc42                                                                       fedora                                         159.0 KiB
 gnome-bluetooth-libs                                                              x86_64            1:47.1-2.fc42                                                                      fedora                                           1.0 MiB
 gnome-control-center                                                              x86_64            48~alpha-2.fc42                                                                    fedora                                          22.3 MiB
 gnome-control-center-filesystem                                                   noarch            48~alpha-2.fc42                                                                    fedora                                           0.0   B
 gnome-desktop3                                                                    x86_64            44.1-3.fc42                                                                        fedora                                           3.0 MiB
 gnome-desktop4                                                                    x86_64            44.1-3.fc42                                                                        fedora                                         487.5 KiB
 gnome-online-accounts                                                             x86_64            3.53.2-1.fc42                                                                      updates-testing                                  2.2 MiB
 gnome-session                                                                     x86_64            47.0.1-2.fc42                                                                      fedora                                           1.5 MiB
 gnome-session-wayland-session                                                     x86_64            47.0.1-2.fc42                                                                      fedora                                          15.9 KiB
 gnome-settings-daemon                                                             x86_64            47.2-3.fc42                                                                        fedora                                           6.1 MiB
 gnome-shell                                                                       x86_64            48~beta-2.fc42                                                                     updates-testing                                 14.0 MiB
 gsound                                                                            x86_64            1.0.3-10.fc42                                                                      fedora                                          81.4 KiB
 gst-editing-services                                                              x86_64            1.24.11-2.fc42                                                                     fedora                                           1.5 MiB
 gupnp-av                                                                          x86_64            0.14.3-1.fc42                                                                      fedora                                         357.2 KiB
 gupnp-dlna                                                                        x86_64            0.12.0-10.fc42                                                                     fedora                                         360.4 KiB
 gvfs-goa                                                                          x86_64            1.56.1-6.fc42                                                                      updates-testing                                242.9 KiB
 iio-sensor-proxy                                                                  x86_64            3.5-6.fc42                                                                         fedora                                         160.9 KiB
 javascriptcoregtk6.0                                                              x86_64            2.47.90-1.fc42                                                                     updates-testing                                 30.0 MiB
 libeis                                                                            x86_64            1.4.0-1.fc42                                                                       fedora                                         115.2 KiB
 libgdata                                                                          x86_64            0.18.1-14.fc42                                                                     fedora                                           1.9 MiB
 libgee                                                                            x86_64            0.20.8-1.fc42                                                                      fedora                                         936.7 KiB
 libgtop2                                                                          x86_64            2.41.3-3.fc42                                                                      fedora                                         509.4 KiB
 libgweather                                                                       x86_64            4.4.4-2.fc42                                                                       fedora                                          22.8 MiB
 libical                                                                           x86_64            3.0.19-2.fc42                                                                      fedora                                           1.7 MiB
 libical-glib                                                                      x86_64            3.0.19-2.fc42                                                                      fedora                                           1.8 MiB
 libmediaart                                                                       x86_64            1.9.6-11.fc42                                                                      fedora                                          83.5 KiB
 libnma-gtk4                                                                       x86_64            1.10.6-9.fc42                                                                      fedora                                         352.7 KiB
 libphonenumber                                                                    x86_64            8.13.55-1.fc42                                                                     fedora                                           6.5 MiB
 libsoup                                                                           x86_64            2.74.3-8.fc42                                                                      fedora                                           1.2 MiB
 libvncserver                                                                      x86_64            0.9.15-3.fc42                                                                      fedora                                           1.0 MiB
 libwinpr                                                                          x86_64            2:3.12.0-1.fc42                                                                    updates-testing                                  1.2 MiB
 malcontent                                                                        x86_64            0.13.0-2.fc42                                                                      fedora                                         556.4 KiB
 malcontent-ui-libs                                                                x86_64            0.13.0-2.fc42                                                                      fedora                                         116.5 KiB
 mozjs128                                                                          x86_64            128.5.1-3.fc42                                                                     fedora                                          19.1 MiB
 msgraph                                                                           x86_64            0.2.3-3.fc42                                                                       fedora                                         129.6 KiB
 mutter                                                                            x86_64            48~beta-1.fc42                                                                     fedora                                          12.7 MiB
 mutter-common                                                                     noarch            48~beta-1.fc42                                                                     fedora                                          35.9 KiB
 protobuf                                                                          x86_64            3.19.6-10.fc41                                                                     fedora                                           3.3 MiB
 python3-pam                                                                       noarch            2.0.2-11.fc42                                                                      fedora                                          58.2 KiB
 rest                                                                              x86_64            0.9.1-12.fc42                                                                      fedora                                         194.5 KiB
 switcheroo-control                                                                x86_64            2.6-8.fc42                                                                         fedora                                         102.3 KiB
 tecla                                                                             x86_64            47.0-2.fc42                                                                        fedora                                         136.7 KiB
 uriparser                                                                         x86_64            0.9.8-3.fc42                                                                       fedora                                         137.7 KiB
 webkitgtk6.0                                                                      x86_64            2.47.90-1.fc42                                                                     updates-testing                                 85.8 MiB
 xdg-desktop-portal-gnome                                                          x86_64            48~beta.2-1.fc42                                                                   updates-testing                                878.8 KiB
 xdg-user-dirs-gtk                                                                 x86_64            0.11-6.fc42                                                                        fedora                                         204.2 KiB
Installing weak dependencies:
 bolt                                                                              x86_64            0.9.8-4.fc42                                                                       fedora                                         506.9 KiB
 gnome-bluetooth                                                                   x86_64            1:47.1-2.fc42                                                                      fedora                                          99.9 KiB
 gnome-color-manager                                                               x86_64            3.36.2-1.fc42                                                                      fedora                                           3.1 MiB
 gnome-remote-desktop                                                              x86_64            47.2-1.fc42                                                                        fedora                                           1.6 MiB
 gnome-tour                                                                        x86_64            47.0-2.fc42                                                                        fedora                                           2.4 MiB
 malcontent-control                                                                x86_64            0.13.0-2.fc42                                                                      fedora                                         120.9 KiB
 pinentry-gnome3                                                                   x86_64            1.3.1-3.fc42                                                                       fedora                                          88.8 KiB
 qadwaitadecorations-qt5                                                           x86_64            0.1.6-7.fc42                                                                       fedora                                         151.8 KiB
 rygel                                                                             x86_64            0.44.1-3.fc42                                                                      updates-testing                                  4.5 MiB

Transaction Summary:
 Installing:        70 packages

Total size of inbound packages is 78 MiB. Need to download 78 MiB.
After this operation, 300 MiB extra will be used (install 300 MiB, remove 0 B).
Is this ok [y/N]: n
Operation aborted by the user.

Looking at the dependencies:

emanu@Fedora ~ [2]> dnf repoquery --depends gparted
Aggiornamento e caricamento dei repository:
Repository caricati.
/usr/bin/sh
PolicyKit-authentication-agent
libatkmm-1.6.so.1()(64bit)
libc.so.6(GLIBC_2.38)(64bit)
libcairomm-1.0.so.1()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_3.3.1)(64bit)
libgdk-3.so.0()(64bit)
libgdkmm-3.0.so.1()(64bit)
libglib-2.0.so.0()(64bit)
libglibmm-2.4.so.1()(64bit)
libgtk-3.so.0()(64bit)
libgtkmm-3.0.so.1()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpangomm-1.4.so.1()(64bit)
libparted-fs-resize.so.0()(64bit)
libparted-fs-resize.so.0(LIBPARTED_FS_RESIZE_0.0.0)(64bit)
libparted.so.2()(64bit)
libsigc-2.0.so.0()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
libstdc++.so.6(GLIBCXX_3.4.30)(64bit)
libstdc++.so.6(GLIBCXX_3.4.32)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libuuid.so.1()(64bit)
libuuid.so.1(UUID_1.0)(64bit)
rtld(GNU_HASH)

I assume that as gparted is a Gnome package the deps are expected?

But you might like to look at using parted which is a command line partition manager that
is likely already installed on your system.

You probably need to install something that provides PolicyKit-authentication-agent.
dnf rq --whatprovides PolicyKit-authentication-agent

4 Likes

Not really. The Fedora Workstation edition does not include gparted and includes gnome disks instead.

In Fedora 41, gparted does not require on any of these packages.

I solved it by installing the package “polkit-kde-0:6.3.2-1.fc42.x86_64”, which required only a few KDE Plasma libraries (I’m using Cosmic desktop).
Thanks! :slight_smile:

emanu@Fedora ~ [1]> sudo dnf install polkit-kde-0:6.3.2-1.fc42.x86_64
Aggiornamento e caricamento dei repository:
Repository caricati.
 https://linux.teamviewer.com/pubkey/currentkey.asc                                                                                                                                                     100% |  77.0 KiB/s |   5.3 KiB |  00m00s
 https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/pubkey.gpg                                                                                                                     100% |   9.0 KiB/s |   1.0 KiB |  00m00s
Package                                                                            Arch              Version                                                                            Repository                                          Size
Installing:
 polkit-kde                                                                        x86_64            6.3.2-1.fc42                                                                       updates-testing                                274.3 KiB
Installing dependencies:
 kf6-kcoreaddons                                                                   x86_64            6.11.0-1.fc42                                                                      fedora                                           1.8 MiB
 kf6-kcrash                                                                        x86_64            6.11.0-1.fc42                                                                      fedora                                          87.8 KiB
 kf6-kdbusaddons                                                                   x86_64            6.11.0-1.fc42                                                                      fedora                                         276.6 KiB
 kf6-ki18n                                                                         x86_64            6.11.0-1.fc42                                                                      fedora                                          17.4 MiB
 kf6-kwindowsystem                                                                 x86_64            6.11.0-1.fc42                                                                      fedora                                         671.9 KiB
 polkit-qt6-1                                                                      x86_64            0.200.0-3.fc42                                                                     fedora                                         287.7 KiB

Transaction Summary:
 Installing:         7 packages
emanu@Fedora ~> sudo dnf install gparted
Aggiornamento e caricamento dei repository:
Repository caricati.
 https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/pubkey.gpg                                                                                                                     100% |  14.6 KiB/s |   1.0 KiB |  00m00s
 https://linux.teamviewer.com/pubkey/currentkey.asc                                                                                                                                                     100% |  78.2 KiB/s |   5.3 KiB |  00m00s
Package                                                                            Arch              Version                                                                            Repository                                          Size
Installing:
 gparted                                                                           x86_64            1.7.0-1.fc42                                                                       fedora                                           8.9 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 2 MiB. Need to download 2 MiB.
After this operation, 9 MiB extra will be used (install 9 MiB, remove 0 B).
Is this ok [y/N]: y
1 Like