The big Plasma 6 update: YAY wants to download 50GiB?!

Oh boy! I can’t wait to download this big ol’ update here! Wait… not THAT big!

Vanilla pacman shows an update size that looks correct. YAY, though, shows no size estimate at all, and, based on half an hour of download progress, seems to want to download 50GiB of updates.

I’ll remain on Plasma 5 until I can explained this, in case it’s a symptom of something important that should be fixed. Any ideas?

What packages do you have from the AUR?

Can you share a screenshot of what you are referring to?

There is no way it should be 50GiB unless there is some crazy stuff installed.

1 Like

I think I have a normal amount of stuff from the AUR. Here is what I see when I run yay again:

aidan   18:13   ~
->  yay
[sudo] password for aidan: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                                                                                                        8.4 MiB   116 KiB/s 01:14 [----------------------------------------------------------------------------------------------] 100%
 community is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
 -> libx11: ignoring package upgrade (1.8.4-1 => 1.8.7-1)
 -> Packages not in AUR: baloo5  khotkeys  kpeoplevcard  kquickcharts5  kuserfeedback5  libblockdev-utils
 -> Orphan (unmaintained) AUR Packages: ksysguard
 -> Flagged Out Of Date AUR Packages: hourglass  huiontablet  tidal-hifi-appimage
:: 10 dependencies will also be installed for this operation.
    extra/clang                 -> 16.0.6-2
    (make dependency of electron25)
    extra/gn                    -> 0.2143.a2e2717e-1
    (make dependency of electron25)
    extra/gperf                 -> 3.1-5
    (make dependency of electron25)
    extra/http-parser           -> 2.9.4-1
    (make dependency of electron25)
    extra/lld                   -> 16.0.6-1
    (make dependency of electron25)
    extra/llvm                  -> 16.0.6-1
    (make dependency of electron25)
    extra/nodejs-lts-hydrogen   -> 18.18.2-2
    (make dependency of electron25)
    extra/patchutils            -> 0.4.2-2
    (make dependency of electron25)
    extra/python-httplib2       -> 0.22.0-4
    (make dependency of electron25)
    extra/yarn                  -> 1.22.21-1
    (make dependency of electron25)

:: 147 packages to upgrade/install.
147  endeavouros/eos-settings-plasma     1.5-1               -> 1.6-1
146  endeavouros/yay                     12.3.0-1            -> 12.3.1-1
145  core/cryptsetup                     2.7.0-1             -> 2.7.0-3
144  core/device-mapper                  2.03.23-1           -> 2.03.23-3
143  core/fakeroot                       1.33-2              -> 1.34-1
142  core/hwdata                         0.379-1             -> 0.380-1
141  core/kmod                           31-1                -> 32-1
140  core/libelf                         0.190-2             -> 0.191-1
139  core/linux-headers                  6.7.7.arch1-1       -> 6.7.8.arch1-1
138  core/lvm2                           2.03.23-1           -> 2.03.23-3
137  core/mdadm                          4.3-1               -> 4.3-2
136  core/psmisc                         23.6-1              -> 23.7-1
135  core/python                         3.11.7-1            -> 3.11.8-1
134  core/shadow                         4.14.5-1            -> 4.14.6-1
133  core/systemd                        255.4-1             -> 255.4-2
132  core/systemd-libs                   255.4-1             -> 255.4-2
131  core/systemd-sysvcompat             255.4-1             -> 255.4-2
130  extra/accounts-qml-module           0.7-4               -> 0.7-6
129  extra/ark                           23.08.5-1           -> 24.02.0-1
128  extra/audiocd-kio                   23.08.5-1           -> 24.02.0-1
127  extra/baloo-widgets                 23.08.5-1           -> 24.02.0-1
126  extra/bluedevil                     1:5.27.10-3         -> 1:6.0.1-1
125  extra/breeze                        5.27.10-1           -> 6.0.1-3
124  extra/breeze-gtk                    5.27.10-1           -> 6.0.1.1-1
123  extra/breeze-icons                  5.115.0-1           -> 6.0.0-1
122  extra/discord                       0.0.43-1            -> 0.0.44-1
121  extra/dolphin                       23.08.5-1           -> 24.02.0-1
120  extra/dragon                        23.08.5-1           -> 24.02.0-1
119  extra/electron27                    27.3.4-1            -> 27.3.5-1
118  extra/elisa                         23.08.5-1           -> 24.02.0-1
117  extra/firefox                       123.0-1             -> 123.0.1-1
116  extra/github-cli                    2.44.1-1            -> 2.45.0-1
115  extra/glslang                       14.0.0-1            -> 14.0.0-2
114  extra/go                            2:1.22.0-1          -> 2:1.22.1-1
113  extra/gwenview                      23.08.5-1           -> 24.02.0-3
112  extra/hwdetect                      2024.02.05-1        -> 2024.03.05-1
111  extra/iniparser                     4.1-4               -> 4.1-5
110  extra/iwd                           2.15-1              -> 2.16-1
109  extra/kaccounts-integration         23.08.5-1           -> 24.02.0-1
108  extra/kactivitymanagerd             5.27.10-1           -> 6.0.1-1
107  extra/kamoso                        23.08.5-1           -> 24.02.0-1
106  extra/kate                          23.08.5-1           -> 24.02.0-1
105  extra/kcolorpicker-qt5              0.3.0-3             -> 0.3.1-4
104  extra/kde-cli-tools                 5.27.10-1           -> 6.0.1-1
103  extra/kde-gtk-config                5.27.10-1           -> 6.0.1-1
102  extra/kdeconnect                    23.08.5-1           -> 24.02.0-2
101  extra/kdecoration                   5.27.10-1           -> 6.0.1-1
100  extra/kdeplasma-addons              5.27.10-2           -> 6.0.1-1
 99  extra/kglobalaccel5                 5.115.0-1           -> 5.115.0-3
 98  extra/kguiaddons5                   5.115.0-1           -> 5.115.0-2
 97  extra/kimageannotator-qt5           0.7.0-3             -> 0.7.1-2
 96  extra/kinfocenter                   5.27.10-1           -> 6.0.1-1
 95  extra/kio-extras                    23.08.5-1           -> 24.02.0-1
 94  extra/kio-fuse                      5.1.0-1             -> 5.1.0-3
 93  extra/kio5                          5.115.0-1           -> 5.115.0-3
 92  extra/kmenuedit                     5.27.10-1           -> 6.0.1-1
 91  extra/konsole                       23.08.5-1           -> 24.02.0-1
 90  extra/kpipewire                     5.27.10-1           -> 6.0.1.1-1
 89  extra/kpmcore                       23.08.5-1           -> 24.02.0-1
 88  extra/kscreen                       5.27.10-1           -> 6.0.1-1
 87  extra/kscreenlocker                 5.27.10-1           -> 6.0.1-1
 86  extra/ksystemstats                  5.27.10-1           -> 6.0.1-1
 85  extra/kwallet-pam                   5.27.10-1           -> 6.0.1-1
 84  extra/kwallet5                      5.115.0-1           -> 5.115.0-2
 83  extra/kwin                          5.27.10-2           -> 6.0.1-1
 82  extra/layer-shell-qt                5.27.10-1           -> 6.0.1-1
 81  extra/libaccounts-qt                1.16-3              -> 1.16-5
 80  extra/libblockdev                   3.1.0-1             -> 3.1.0-2
 79  extra/libblockdev-crypto            3.1.0-1             -> 3.1.0-2
 78  extra/libblockdev-fs                3.1.0-1             -> 3.1.0-2
 77  extra/libblockdev-loop              3.1.0-1             -> 3.1.0-2
 76  extra/libblockdev-mdraid            3.1.0-1             -> 3.1.0-2
 75  extra/libblockdev-nvme              3.1.0-1             -> 3.1.0-2
 74  extra/libblockdev-part              3.1.0-1             -> 3.1.0-2
 73  extra/libblockdev-swap              3.1.0-1             -> 3.1.0-2
 72  extra/libkcddb5                     23.08.5-1           -> 24.02.0-1
 71  extra/libkcompactdisc               23.08.5-1           -> 24.02.0-1
 70  extra/libkdcraw5                    23.08.5-1           -> 24.02.0-1
 69  extra/libkexiv2                     23.08.5-1           -> 24.02.0-1
 68  extra/libkscreen                    5.27.10-1           -> 6.0.1-1
 67  extra/libksysguard                  5.27.10-1           -> 6.0.1-1
 66  extra/liblouis                      3.28.0-1            -> 3.29.0-1
 65  extra/libnewt                       0.52.23-2           -> 0.52.24-1
 64  extra/libnice                       0.1.21-2            -> 0.1.22-1
 63  extra/libopenmpt                    0.7.3-1             -> 0.7.4-1
 62  extra/libsodium                     1.0.19-2            -> 1.0.19-3
 61  extra/libtar                        1.2.20-6            -> 1.2.20-7
 60  extra/libxdmcp                      1.1.4-2             -> 1.1.5-1
 59  extra/lightdm-gtk-greeter           1:2.0.8-3           -> 1:2.0.9-1
 58  extra/lightdm-gtk-greeter-settings  1.2.2-8             -> 1.2.3-1
 57  extra/lsof                          4.99.0-1            -> 4.99.3-1
 56  extra/milou                         5.27.10-1           -> 6.0.1-1
 55  extra/nodejs                        21.6.2-1            -> 21.7.0-1
 54  extra/okular                        23.08.5-1           -> 24.02.0-2
 53  extra/openjpeg2                     2.5.0-3             -> 2.5.2-1
 52  extra/opus                          1.4-1               -> 1.5.1-1
 51  extra/oxygen-sounds                 5.27.10-1           -> 6.0.1-1
 50  extra/partitionmanager              23.08.5-1           -> 24.02.0-1
 49  extra/pcsclite                      2.0.2-1             -> 2.0.3-1
 48  extra/phonon-qt5                    4.12.0-3            -> 4.12.0-4
 47  extra/plasma-desktop                5.27.10-1           -> 6.0.1-1
 46  extra/plasma-disks                  5.27.10-1           -> 6.0.1-1
 45  extra/plasma-framework5             5.115.0-1           -> 5.115.0-3
 44  extra/plasma-integration            5.27.10-1           -> 6.0.1-2
 43  extra/plasma-nm                     5.27.10-1           -> 6.0.1-1
 42  extra/plasma-pa                     5.27.10-1           -> 6.0.1-1
 41  extra/plasma-workspace              5.27.10-2           -> 6.0.1-1
 40  extra/polkit-kde-agent              5.27.10-1           -> 6.0.1-1
 39  extra/powerdevil                    5.27.10-2           -> 6.0.1-1
 38  extra/print-manager                 23.08.5-1           -> 1:6.0.1-1
 37  extra/protobuf                      25.2-1              -> 25.3-1
 36  extra/pulseaudio-qt                 1.4.0-1             -> 1.4.0-3
 35  extra/purpose5                      5.115.0-1           -> 5.115.0-3
 34  extra/python-dateutil               2.9.0-1             -> 2.9.0-2
 33  extra/python-trove-classifiers      2024.2.22-1         -> 2024.3.3-1
 32  extra/rtmpdump                      1:2.4.r99.f1b83c1-2 -> 1:2.4.r105.6f6bb13-1
 31  extra/sddm                          0.20.0-4            -> 0.21.0-4
 30  extra/sddm-kcm                      5.27.10-1           -> 6.0.1-1
 29  extra/sdl2                          2.30.0-1            -> 2.30.1-1
 28  extra/signon-kwallet-extension      23.08.5-1           -> 24.02.0-1
 27  extra/signon-plugin-oauth2          0.25-1              -> 0.25-3
 26  extra/signon-ui                     0.17+20171022-3     -> 0.17+20231016-2
 25  extra/signond                       8.61-1              -> 8.61-3
 24  extra/socat                         1.7.4.4-1           -> 1.8.0.0-1
 23  extra/sof-firmware                  2023.12-1           -> 2023.12.1-1
 22  extra/spectacle                     23.08.5-1           -> 24.02.0-2
 21  extra/suitesparse                   7.6.0-1             -> 7.6.1-1
 20  extra/syntax-highlighting5          5.115.0-1           -> 5.115.0-2
 19  extra/systemsettings                5.27.10-1           -> 6.0.1-1
 18  extra/tcl                           8.6.13-1            -> 8.6.14-1
 17  extra/thunderbird                   115.8.0-1           -> 115.8.1-1
 16  extra/tk                            8.6.13-2            -> 8.6.14-1
 15  extra/udisks2                       2.10.1-3            -> 2.10.1-4
 14  extra/vulkan-headers                1:1.3.276-1         -> 1:1.3.279-1
 13  extra/vulkan-icd-loader             1.3.276-1           -> 1.3.279-1
 12  extra/wavpack                       5.6.0-1             -> 5.7.0-1
 11  extra/xdg-desktop-portal-kde        5.27.10-1           -> 6.0.1-1
 10  extra/xorg-xauth                    1.1.2-1             -> 1.1.3-1
  9  extra/xorg-xmessage                 1.0.6-1             -> 1.0.7-1
  8  multilib/lib32-amdvlk               2024.Q1.1-1         -> 2024.Q1.2-1
  7  multilib/lib32-keyutils             1.6.3-1             -> 1.6.3-2
  6  multilib/lib32-libdrm               2.4.119-1           -> 2.4.120-1
  5  multilib/lib32-libelf               0.190-1             -> 0.191-1
  4  multilib/lib32-sdl2                 2.30.0-1            -> 2.30.1-1
  3  multilib/lib32-vulkan-icd-loader    1.3.276-1           -> 1.3.279-1
  2  aur/brave-bin                       1:1.63.165-1        -> 1:1.63.169-1
  1  aur/electron25                      25.9.8-4            -> 25.9.8-5
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Dependency (1): electron25-25.9.8-5
AUR Explicit (1): brave-bin-1:1.63.169-1
Sync Dependency (97): rtmpdump-1:2.4.r105.6f6bb13-1, kactivitymanagerd-6.0.1-1, baloo-widgets-24.02.0-1, pcsclite-2.0.3-1, kmod-32-1, milou-6.0.1-1, iniparser-4.1-5, openjpeg2-2.5.2-1, plasma-integration-6.0.1-2, suitesparse-7.6.1-1, socat-1.8.0.0-1, lib32-keyutils-1.6.3-2, libtar-1.2.20-7, libkscreen-6.0.1-1, libblockdev-loop-3.1.0-2, lib32-libdrm-2.4.120-1, kguiaddons5-5.115.0-2, kmenuedit-6.0.1-1, libaccounts-qt-1.16-5, sddm-0.21.0-4, syntax-highlighting5-5.115.0-2, libblockdev-3.1.0-2, signon-plugin-oauth2-0.25-3, libkdcraw5-24.02.0-1, libnice-0.1.22-1, kio-extras-24.02.0-1, electron27-27.3.5-1, libblockdev-mdraid-3.1.0-2, hwdata-0.380-1, kwin-6.0.1-1, kde-cli-tools-6.0.1-1, vulkan-headers-1:1.3.279-1, accounts-qml-module-0.7-6, psmisc-23.7-1, opus-1.5.1-1, python-dateutil-2.9.0-2, libxdmcp-1.1.5-1, libkcompactdisc-24.02.0-1, libblockdev-swap-3.1.0-2, liblouis-3.29.0-1, breeze-icons-6.0.0-1, libkexiv2-24.02.0-1, libblockdev-crypto-3.1.0-2, libopenmpt-0.7.4-1, xorg-xmessage-1.0.7-1, libkcddb5-24.02.0-1, libnewt-0.52.24-1, kio5-5.115.0-3, polkit-kde-agent-6.0.1-1, xdg-desktop-portal-kde-6.0.1-1, oxygen-sounds-6.0.1-1, libblockdev-part-3.1.0-2, layer-shell-qt-6.0.1-1, libsodium-1.0.19-3, libblockdev-fs-3.1.0-2, libelf-0.191-1, kscreenlocker-6.0.1-1, protobuf-25.3-1, sdl2-2.30.1-1, breeze-6.0.1-3, lsof-4.99.3-1, signon-ui-0.17+20231016-2, pulseaudio-qt-1.4.0-3, glslang-14.0.0-2, go-2:1.22.1-1, libksysguard-6.0.1-1, kdecoration-6.0.1-1, tk-8.6.14-1, kpipewire-6.0.1.1-1, phonon-qt5-4.12.0-4, lib32-vulkan-icd-loader-1.3.279-1, purpose5-5.115.0-3, signon-kwallet-extension-24.02.0-1, ksystemstats-6.0.1-1, xorg-xauth-1.1.3-1, nodejs-21.7.0-1, plasma-workspace-6.0.1-1, kimageannotator-qt5-0.7.1-2, kpmcore-24.02.0-1, libblockdev-nvme-3.1.0-2, systemsettings-6.0.1-1, udisks2-2.10.1-4, lib32-libelf-0.191-1, signond-8.61-3, kwallet5-5.115.0-2, kcolorpicker-qt5-0.3.1-4, python-trove-classifiers-2024.3.3-1, vulkan-icd-loader-1.3.279-1, systemd-libs-255.4-2, kglobalaccel5-5.115.0-3, wavpack-5.7.0-1, kaccounts-integration-24.02.0-1, shadow-4.14.6-1, plasma-framework5-5.115.0-3, systemd-255.4-2, fakeroot-1.34-1, tcl-8.6.14-1
Sync Explicit (48): plasma-disks-6.0.1-1, lightdm-gtk-greeter-1:2.0.9-1, discord-0.0.44-1, lvm2-2.03.23-3, okular-24.02.0-2, firefox-123.0.1-1, kdeplasma-addons-6.0.1-1, hwdetect-2024.03.05-1, kwallet-pam-6.0.1-1, plasma-pa-6.0.1-1, dragon-24.02.0-1, sof-firmware-2023.12.1-1, plasma-desktop-6.0.1-1, partitionmanager-24.02.0-1, print-manager-1:6.0.1-1, eos-settings-plasma-1.6-1, iwd-2.16-1, kdeconnect-24.02.0-2, dolphin-24.02.0-1, lib32-sdl2-2.30.1-1, kamoso-24.02.0-1, lightdm-gtk-greeter-settings-1.2.3-1, kate-24.02.0-1, kscreen-6.0.1-1, yay-12.3.1-1, systemd-sysvcompat-255.4-2, sddm-kcm-6.0.1-1, cryptsetup-2.7.0-3, python-3.11.8-1, github-cli-2.45.0-1, audiocd-kio-24.02.0-1, gwenview-24.02.0-3, konsole-24.02.0-1, powerdevil-6.0.1-1, spectacle-24.02.0-2, kinfocenter-6.0.1-1, elisa-24.02.0-1, ark-24.02.0-1, thunderbird-115.8.1-1, linux-headers-6.7.8.arch1-1, kio-fuse-5.1.0-3, bluedevil-1:6.0.1-1, plasma-nm-6.0.1-1, mdadm-4.3-2, lib32-amdvlk-2024.Q1.2-1, kde-gtk-config-6.0.1-1, breeze-gtk-6.0.1.1-1, device-mapper-2.03.23-3
Sync Make Dependency (10): http-parser-2.9.4-1, patchutils-0.4.2-2, gn-0.2143.a2e2717e-1, python-httplib2-0.22.0-4, clang-16.0.6-2, lld-16.0.6-1, yarn-1.22.21-1, nodejs-lts-hydrogen-18.18.2-2, llvm-16.0.6-1, gperf-3.1-5
:: PKGBUILD up to date, skipping download: electron25
:: PKGBUILD up to date, skipping download: brave-bin
  2 electron25                       (Installed) (Build Files Exist)
  1 brave-bin                        (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  2 electron25                       (Installed) (Build Files Exist)
  1 brave-bin                        (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: electron25 25.9.8-5 (Wed 06 Mar 2024 06:20:29 PM EST)
==> Retrieving sources...
  -> Updating electron git repo...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 61 (delta 40), reused 46 (delta 33), pack-reused 0
Unpacking objects: 100% (61/61), 41.27 KiB | 2.17 MiB/s, done.
From https://github.com/electron/electron
 + 349fb619fb...e421763747 refs/pull/41358/merge -> refs/pull/41358/merge  (forced update)
 + 462512862f...ccc0c20128 refs/pull/41369/merge -> refs/pull/41369/merge  (forced update)
 * [new tag]               v29.1.1               -> v29.1.1
  -> Found REVERT-disable-autoupgrading-debug-info.patch
  -> Found add-some-typename-s-that-are-required-in-C-17.patch
  -> Found default_app-icon.patch
  -> Found electron-launcher.sh
  -> Found electron.desktop
  -> Found icu-74.patch
  -> Found jinja-python-3.10.patch
  -> Found libxml2-2.12.patch
  -> Found random-fixes-for-gcc13.patch
  -> Found std-vector-non-const.patch
  -> Found use-system-libraries-in-node.patch
  -> Found makepkg-source-roller.py
  -> Cloning chromium-mirror git repo...
Cloning into bare repository '/home/aidan/.cache/yay/electron25/chromium-mirror'...
remote: Enumerating objects: 22475510, done.
remote: Counting objects: 100% (14339/14339), done.
remote: Compressing objects: 100% (7366/7366), done.
Receiving objects:   0% (197477/22475510), 93.64 MiB | 2.24 MiB/ss

I think the latter part is it finding the previous download progress.

Does sudo pacman -R electron25 return any errors?

1 Like

electron25 was removed without any errors.

Now try updating.

Your omnipresence is almost scary, dalto. YAY now presents an update size similar to vanilla pacman.

Would you be so inclined to elucidate your deduction, dear Holmes?

Many packages depend on a specific version of electron. As those packages are updated, the version number is updated. As they update the version of electron needed is also updated.

This often leads to a situation where you have an old version of electron that you no longer need. Those old versions stay on your system until you remove them. Eventually, those packages leave the repo and end up in AUR. However, once they hit AUR you are building them from source. Building electron from source brings down a huge repo since it is based on chromium. While it isn’t 50GB, it still can take a long time to clone a repo that large, especially over a slow connection. Once it is downloaded, you then have to build the whole thing from source which also can take a long time.

Removing that old version of electron you no longer need, stops that whole process from happening and leaves you with a normal update.

To avoid that in the future, you should check your system for orphans once in a while with yay -Yc

6 Likes

Thanks. I have been trimming orphans once or twice a year. Either this got missed, or I need to do it more often.

1 Like

I also don’t remove orphans very often. However, whenever I update I review the packages that are being updated from AUR and make sure there isn’t something there that I didn’t install. When I see things that have dropped to AUR, I remove them before starting the update.

The term “orphan” is somewhat overloaded. There are two different things, in the context of Arch Linux Package Management, called “orphans”.

The first type of “orphan” is a former dependency, and unneeded package that was installed as a dependency for another package, but since became unnecessary, most likely because the package that depends on it was removed, or rarely, an update changed its dependencies. Those can be seen by running pacman -Qdt.

The second type of “orphan” is an entry on the AUR which does not currently have a maintainer. Those are pretty dangerous, especially if they are popular packages, because anyone can take them over and include something malicious in the next update.

It is possible that a package can an “orphan” in both of these meanings at the same time, having started as a repo package and a dependency for something, but became obsolete and was dropped to the AUR, where nobody took it over. Of course, that is quite rare. But it can be very sneaky if later a malicious person takes over the maintenance of the AUR package and injects malware in it. You’ve never explicitly installed that package, so you just update it, not suspecting anything,…

That’s why it’s a good idea to remove all unnecessary packages before updating. Not to mention, there’s fewer packages to download during an update.

2 Likes

KILL ALL THE ORPHANS!!!11111

honka_memes-128px-40

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.