Pamac returns to prompt during upgrade; but still working

Hi all,
when there is a massive upgrade (more than 1Gb) pamac behaves strangely.

Pamac starts, asks for upgrade confirmation and after a little time returns to prompt.

But the upgrade is not completed: looking at the processes pamac-daemon uses a lot of resources and there is still a lot of network activity.

Waiting for pamac-daemon to disappear from the top 10 processes seems to indicate that the upgrade was completed.

Issuing again an upgrade says that there is nothing to do.

What can I do to β€œpersuade” pamac to avoid returning to prompt before completion?

The upgrade log

οŒ’ ξ‚°  ~ ξ‚° LANG=C pamac upgrade                                                                                                                                                                                ξ‚² βœ”
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Multiple identities can be used for authentication:
 1.  Mirto (mirto)
 2.  Federica (federica)
 3.  Enrico (enrico)
Choose identity to authenticate as (1-3): 1
Password:
==== AUTHENTICATION COMPLETE ====
Sincronizzazione database dei pacchetti...
Aggiornamento AUR...
Checking sdl2 dependencies...
Resolving dependencies...
Checking inter-conflicts...
Warning: dependency cycle detected:
Warning: qt6-multimedia-ffmpeg will be installed before its qt6-multimedia dependency

To upgrade (155):
  glibc                      2.41+r2+g0a7c7a3e283a-1      (2.40+r66+g7d4b6bcae91f-1)     core      10,5 MB
  gcc-libs                   14.2.1+r730+gc061ad5a36ba-1  (14.2.1+r134+gab884fffe3fc-2)  core      36,7 MB
  abseil-cpp                 20240722.1-1                 (20240722.0-1)                 extra     1,3 MB
  xz                         5.6.4-1                      (5.6.3-1)                      core      739,2 kB
  aqbanking                  6.6.0-2                      (6.6.0-1)                      extra     1,1 MB
  archlinux-appstream-data   20250202-1                   (20241214-1)                   extra     21,8 MB
  libpng                     1.6.46-1                     (1.6.45-1)                     extra     259,9 kB
  libsysprof-capture         47.2-2                       (47.2-1)                       extra     50,4 kB
  freetype2                  2.13.3-3                     (2.13.3-1)                     extra     538,6 kB
  libx11                     1.8.11-1                     (1.8.10-1)                     extra     2,1 MB
  qt6-translations           6.8.2-1                      (6.8.1-1)                      extra     1,9 MB
  ca-certificates-mozilla    3.108-1                      (3.107-1)                      core      395,9 kB
  curl                       8.12.1-0                     (8.11.1-3)                     core      1,3 MB
  libelf                     0.192-3                      (0.192-2)                      core      613,9 kB
  hwdata                     0.392-1                      (0.391-1)                      core      1,7 MB
  qt6-base                   6.8.2-1.1                    (6.8.1-1)                      extra     19,8 MB
  qt6-declarative            6.8.2-1                      (6.8.1-3)                      extra     15,9 MB
  qt6-svg                    6.8.2-1                      (6.8.1-1)                      extra     255,1 kB
  qt6-wayland                6.8.2-1                      (6.8.1-1)                      extra     1,2 MB
  libvorbis                  1.3.7-4                      (1.3.7-3)                      extra     186,4 kB
  nss                        3.108-1                      (3.107-1)                      core      1,7 MB
  libtool                    2.5.4+r1+gbaa1fe41-2         (2.5.4+r1+gbaa1fe41-1)         core      428,6 kB
  mpfr                       4.2.1-5                      (4.2.1-4)                      core      445,7 kB
  qt6-shadertools            6.8.2-1                      (6.8.1-1)                      extra     1,6 MB
  qt6-5compat                6.8.2-1                      (6.8.1-1)                      extra     463,8 kB
  qca-qt6                    2.3.9-4                      (2.3.9-3)                      extra     890,8 kB
  ark                        24.12.2-1                    (24.12.1-1)                    extra     1,5 MB
  libkcddb                   24.12.2-1                    (24.12.1-1)                    extra     551,3 kB
  libkcompactdisc            24.12.2-1                    (24.12.1-1)                    extra     75,7 kB
  audiocd-kio                24.12.2-1                    (24.12.1-1)                    extra     746,5 kB
  b43-fwcutter               019-6                        (019-5)                        core      17,6 kB
  baloo-widgets              24.12.2-1                    (24.12.1-1)                    extra     146,0 kB
  binutils                   2.43_1+r186+g61f8adadd6db-1  (2.43_1+r171+g01da089627be-1)  core      8,0 MB
  gcc                        14.2.1+r730+gc061ad5a36ba-1  (14.2.1+r134+gab884fffe3fc-2)  core      53,6 MB
  dkms                       3.1.5-1                      (3.1.4-1)                      extra     50,0 kB
  libkexiv2                  24.12.2-1                    (24.12.1-1)                    extra     154,7 kB
  qt6-multimedia-ffmpeg      6.8.2-1                      (6.8.1-2)                      extra     209,8 kB
  qt6-multimedia             6.8.2-1                      (6.8.1-2)                      extra     1,1 MB
  qt6-speech                 6.8.2-1                      (6.8.1-1)                      extra     131,4 kB
  kio-extras                 24.12.2-1                    (24.12.1-1)                    extra     2,0 MB
  dolphin                    24.12.2-1                    (24.12.1-1)                    extra     4,9 MB
  dolphin-plugins            24.12.2-1                    (24.12.1-1)                    extra     517,9 kB
  dragon                     24.12.2-1                    (24.12.1-1)                    extra     2,0 MB
  elisa                      24.12.2-1                    (24.12.1-1)                    extra     1,9 MB
  exfatprogs                 1.2.7-1                      (1.2.6-1)                      extra     69,9 kB
  fakeroot                   1.37-1                       (1.36.2-1)                     core      78,6 kB
  qt6-webchannel             6.8.2-1                      (6.8.1-1)                      extra     132,8 kB
  qt6-positioning            6.8.2-1                      (6.8.1-1)                      extra     382,4 kB
  noto-fonts                 1:2025.02.01-1               (1:2025.01.01-1)               extra     29,2 MB
  qt6-webengine              6.8.2-1                      (6.8.1-2)                      extra     85,4 MB
  falkon                     24.12.2-1                    (24.12.1-1)                    extra     3,5 MB
  ffmpegthumbs               24.12.2-1                    (24.12.1-1)                    extra     32,7 kB
  filelight                  24.12.2-1                    (24.12.1-1)                    extra     779,3 kB
  fluidsynth                 2.4.3-1                      (2.4.2-1)                      extra     262,8 kB
  passim                     0.1.9-1                      (0.1.8-1)                      extra     85,9 kB
  fwupd                      2.0.5-1                      (2.0.4-1)                      extra     6,8 MB
  luajit                     2.1.1736781742-1             (2.1.1731601260-1)             extra     333,1 kB
  gegl                       0.4.52-2                     (0.4.52-1)                     extra     4,3 MB
  gstreamer                  1.24.12-1                    (1.24.11-2)                    extra     2,1 MB
  gst-plugins-base-libs      1.24.12-1                    (1.24.11-2)                    extra     2,3 MB
  gst-plugins-base           1.24.12-1                    (1.24.11-2)                    extra     315,0 kB
  opencv                     4.11.0-2                     (4.11.0-1)                     extra     28,4 MB
  gmic                       3.5.2-1                      (3.5.0-2)                      extra     8,5 MB
  procps-ng                  4.0.5-2                      (4.0.5-1)                      core      905,1 kB
  gimp-plugin-gmic           3.5.2-1                      (3.5.0-2)                      extra     951,6 kB
  glibc-locales              2.41+r2+g0a7c7a3e283a-1      (2.40+r66+g7d4b6bcae91f-1)     core      12,3 MB
  gst-libav                  1.24.12-1                    (1.24.11-2)                    extra     98,1 kB
  gst-plugins-bad-libs       1.24.12-1                    (1.24.11-2)                    extra     2,8 MB
  liblc3                     1.1.2-1                      (1.1.1-1)                      extra     119,1 kB
  webrtc-audio-processing-1  1.3-4                        (1.3-3)                        extra     537,9 kB
  zvbi                       0.2.43-1                     (0.2.42-1)                     extra     375,4 kB
  gst-plugins-bad            1.24.12-1                    (1.24.11-2)                    extra     1,1 MB
  wavpack                    5.8.1-1                      (5.7.0-1)                      extra     528,0 kB
  gst-plugins-good           1.24.12-1                    (1.24.11-2)                    extra     2,3 MB
  gst-plugins-ugly           1.24.12-1                    (1.24.11-2)                    extra     182,0 kB
  gtk3                       1:3.24.43-4.1                (1:3.24.43-4)                  extra     12,8 MB
  gtk-vnc                    1.4.0-2                      (1.4.0-1)                      extra     153,6 kB
  libkdcraw                  24.12.2-1                    (24.12.1-1)                    extra     44,6 kB
  signon-kwallet-extension   24.12.2-1                    (24.12.1-1)                    extra     14,8 kB
  kaccounts-integration      24.12.2-1                    (24.12.1-1)                    extra     147,8 kB
  gwenview                   24.12.2-1                    (24.12.1-1)                    extra     6,9 MB
  kaccounts-providers        24.12.2-1                    (24.12.1-1)                    extra     78,4 kB
  kamera                     24.12.2-1                    (24.12.1-1)                    extra     182,4 kB
  kate                       24.12.2-1                    (24.12.1-1)                    extra     10,6 MB
  kcalc                      24.12.2-1                    (24.12.1-1)                    extra     727,1 kB
  qt6-connectivity           6.8.2-1                      (6.8.1-1)                      extra     520,0 kB
  kdeconnect                 24.12.2-1                    (24.12.1-1)                    extra     1,4 MB
  kdegraphics-mobipocket     24.12.2-1                    (24.12.1-1)                    extra     20,5 kB
  kdegraphics-thumbnailers   24.12.2-1                    (24.12.1-1)                    extra     43,9 kB
  liburing                   2.9-1                        (2.8-1)                        extra     204,3 kB
  kdenetwork-filesharing     24.12.2-1                    (24.12.1-1)                    extra     225,7 kB
  kdialog                    24.12.2-1                    (24.12.1-1)                    extra     160,7 kB
  keditbookmarks             24.12.2-1                    (24.12.1-1)                    extra     392,1 kB
  kfind                      24.12.2-1                    (24.12.1-1)                    extra     429,5 kB
  khelpcenter                24.12.2-1                    (24.12.1-1)                    extra     3,7 MB
  konsole                    24.12.2-1                    (24.12.1-1)                    extra     2,2 MB
  kpmcore                    24.12.2-1                    (24.12.1-1)                    extra     753,5 kB
  kqtquickcharts             24.12.2-1                    (24.12.1-1)                    extra     53,7 kB
  ksanecore                  24.12.2-1                    (24.12.1-1)                    extra     94,0 kB
  ksystemlog                 24.12.2-1                    (24.12.1-1)                    extra     2,1 MB
  kwalletmanager             24.12.2-1                    (24.12.1-1)                    extra     1,2 MB
  qt6-sensors                6.8.2-1                      (6.8.1-1)                      extra     192,1 kB
  qt6-tools                  6.8.2-2                      (6.8.1-2)                      extra     6,2 MB
  layer-shell-qt             6.2.5-3                      (6.2.5-1)                      extra     36,3 kB
  kwin                       6.2.5-3                      (6.2.5-1)                      extra     10,6 MB
  lib32-glibc                2.41+r2+g0a7c7a3e283a-1      (2.40+r66+g7d4b6bcae91f-1)     core      3,6 MB
  lib32-gcc-libs             14.2.1+r730+gc061ad5a36ba-1  (14.2.1+r134+gab884fffe3fc-2)  core      32,7 MB
  lib32-curl                 8.12.1-0                     (8.11.1-3)                     multilib  421,3 kB
  lib32-libvorbis            1.3.7-4                      (1.3.7-2)                      multilib  177,5 kB
  lib32-libx11               1.8.11-1                     (1.8.10-1)                     multilib  636,4 kB
  lib32-xz                   5.6.4-1                      (5.6.3-1)                      multilib  105,3 kB
  libetonyek                 0.1.12-2                     (0.1.12-1)                     extra     638,2 kB
  libksane                   24.12.2-1                    (24.12.1-1)                    extra     170,7 kB
  libpamac                   11.7.2-2.1                   (11.7.2-2)                     extra     887,3 kB
  ostree                     2025.1-1                     (2024.10-1)                    extra     831,7 kB
  libpamac-flatpak-plugin    11.7.2-2.1                   (11.7.2-2)                     extra     30,3 kB
  libslirp                   4.9.0-1                      (4.8.0-1)                      extra     69,7 kB
  libwps                     0.4.14-3                     (0.4.14-2)                     extra     871,2 kB
  linux612                   6.12.12-2                    (6.12.11-1)                    core      146,2 MB
  linux613                   6.13.1-2                     (6.13.0-1)                     core      145,8 MB
  meson                      1.7.0-1                      (1.6.1-1)                      extra     2,2 MB
  mhwd-nvidia-470xx          470.256.02-10                (470.256.02-9)                 extra     27,8 kB
  mhwd-nvidia-390xx          390.157-19                   (390.157-18)                   extra     27,9 kB
  nodejs                     23.7.0-1                     (23.4.0-1)                     extra     16,4 MB
  noto-fonts-cjk             20240730-1                   (20230817-2)                   extra     197,9 MB
  okular                     24.12.2-1                    (24.12.1-1)                    extra     7,2 MB
  partitionmanager           24.12.2-1                    (24.12.1-1)                    extra     2,5 MB
  perl-dbi                   1.647-1                      (1.646-1)                      extra     963,5 kB
  shiboken6                  6.8.2.1-1                    (6.8.1.1-3)                    extra     1,3 MB
  pyside6                    6.8.2.1-1                    (6.8.1.1-3)                    extra     10,3 MB
  python-filelock            3.17.0-1                     (3.16.1-2)                     extra     29,0 kB
  python-cachecontrol        1:0.14.2-1                   (1:0.14.1-2)                   extra     42,5 kB
  python-certifi             2025.01.31-1                 (2024.12.14-1)                 extra     9,0 kB
  python-pillow              11.1.0-1                     (11.0.0-3)                     extra     884,3 kB
  python-pip                 25.0-1                       (24.3.1-3)                     extra     2,9 MB
  python-pyqt5-sip           12.17.0-1                    (12.16.1-2)                    extra     60,5 kB
  python-pyqt6-sip           13.10.0-1                    (13.9.1-2)                     extra     54,6 kB
  python-pyqt6               6.8.1-1                      (6.8.0-2)                      extra     4,0 MB
  python-trove-classifiers   2025.1.10.15-1               (2025.1.7.14-1)                extra     19,4 kB
  qca-qt5                    2.3.9-4                      (2.3.9-3)                      extra     789,9 kB
  qt6-imageformats           6.8.2-1                      (6.8.1-1)                      extra     68,0 kB
  qt6-quicktimeline          6.8.2-1                      (6.8.1-1)                      extra     77,1 kB
  qt6-quick3d                6.8.2-1                      (6.8.1-1)                      extra     5,4 MB
  qt6-virtualkeyboard        6.8.2-1                      (6.8.1-1)                      extra     2,5 MB
  qt6-websockets             6.8.2-1                      (6.8.1-1)                      extra     104,4 kB
  rsync                      3.4.1-2                      (3.4.1-1)                      extra     371,8 kB
  rust                       1:1.84.1-1                   (1:1.84.0-1)                   extra     68,9 MB
  skanlite                   24.12.2-1                    (24.12.1-1)                    extra     2,5 MB
  sof-firmware               2025.01-1                    (2024.09.2-1)                  extra     1,5 MB
  spectacle                  24.12.2-1                    (24.12.1-1)                    extra     2,1 MB
  telegram-desktop           5.10.7-1                     (5.10.5-1)                     extra     38,6 MB
  usbredir                   0.15.0-1                     (0.14.0-1)                     extra     45,3 kB
  wpa_supplicant             2:2.11-3                     (2:2.11-2)                     core      1,8 MB
  xorg-xwayland              24.1.5-1                     (24.1.4-1)                     extra     962,2 kB
  yakuake                    24.12.2-1                    (24.12.1-1)                    extra     471,1 kB
To install (8):
  sdl3                       3.2.2-1                                                     extra     1,4 MB
  sdl2-compat                2.30.52-1                    (Replaces: sdl2)               extra     410,3 kB
  wayland-protocols          1.39-1                                                      extra     112,0 kB
  libibus                    1.5.31-2                                                    extra     433,7 kB
  gtk4                       1:4.16.12-1                                                 extra     9,1 MB
  ibus                       1.5.31-2                                                    extra     12,1 MB
  xcb-imdkit                 1.0.9-1                                                     extra     332,2 kB
  fcitx5                     5.1.12-1                                                    extra     8,7 MB
To remove (1):
  sdl2                       2.30.11-1                    (Conflicts With: sdl2-compat)  AUR

Total download size: 1,2 GB
Total installed size: 174,7 MB
Total removed size: 4,6 MB

Apply transaction ? [y/N] y
Download di noto-fonts (1:2025.02.01-1) iniziato
153,3 MB/1,2 GB 1 minuto circa rimanentezsh: terminated  LANG=C pamac upgrade
 οŒ’ ξ‚°  ~ ξ‚°

The pamac-daemon activity and reissuing the upgrade


 οŒ’ ξ‚°  ~ ξ‚° date; ps -elf | grep pamac                                                                                                                                                                          ξ‚² βœ”
lun 17 feb 2025, 10:11:48, CET
0 S mirto       1773    1205  0  80   0 - 312768 do_sys 09:23 ?       00:00:00 /usr/bin/pamac-tray-plasma
4 S root        5780       1 65  80   0 - 164096 -     10:07 ?        00:02:58 /usr/bin/pamac-daemon
0 S mirto      35608    2268  0  80   0 -  1608 pipe_r 10:11 pts/6    00:00:00 grep pamac
 οŒ’ ξ‚°  ~ ξ‚°                                                                                                                                                                                                     ξ‚² βœ”
 οŒ’ ξ‚°  ~ ξ‚°                                                                                                                                                                                                     ξ‚² βœ”
 οŒ’ ξ‚°  ~ ξ‚° date; ps -elf | grep pamac                                                                                                                                                                          ξ‚² βœ”
lun 17 feb 2025, 10:12:25, CET
0 S mirto       1773    1205  0  80   0 - 312768 do_sys 09:23 ?       00:00:00 /usr/bin/pamac-tray-plasma
4 S root        5780       1 57  80   0 - 164096 -     10:07 ?        00:02:58 /usr/bin/pamac-daemon
0 S mirto      35629    2268  0  80   0 -  1608 pipe_r 10:12 pts/6    00:00:00 grep pamac

...

 οŒ’ ξ‚°  ~ ξ‚° date; ps -elf | grep pamac                                                                                                                                                                          ξ‚² βœ”
lun 17 feb 2025, 11:12:51, CET
0 S mirto       1773    1205  0  80   0 - 312768 do_sys 09:23 ?       00:00:00 /usr/bin/pamac-tray-plasma
4 S root        5780       1  4  80   0 - 164096 -     10:07 ?        00:02:58 /usr/bin/pamac-daemon
0 S mirto      49574    2268  0  80   0 -  1608 pipe_r 11:12 pts/6    00:00:00 grep pamac
 οŒ’ ξ‚°  ~ ξ‚°                                                                                                                                                                                                     ξ‚² βœ”
 οŒ’ ξ‚°  ~ ξ‚°                                                                                                                                                                                                     ξ‚² βœ”
 οŒ’ ξ‚°  ~ ξ‚° date; ps -elf | grep pamac                                                                                                                                                                          ξ‚² βœ”
lun 17 feb 2025, 11:13:35, CET
0 S mirto       1773    1205  0  80   0 - 312768 do_sys 09:23 ?       00:00:00 /usr/bin/pamac-tray-plasma
4 S root        5780       1  4  80   0 - 164096 -     10:07 ?        00:02:58 /usr/bin/pamac-daemon
0 S mirto      49736    2268  0  80   0 -  1608 pipe_r 11:13 pts/6    00:00:00 grep pamac
 οŒ’ ξ‚°  ~ ξ‚°                                                                                                                                                                                                     ξ‚² βœ”
 οŒ’ ξ‚°  ~ ξ‚° LANG=C pamac upgrade                                                                                                                                                                                ξ‚² βœ”
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Multiple identities can be used for authentication:
 1.  Mirto (mirto)
 2.  Federica (federica)
 3.  Enrico (enrico)
Choose identity to authenticate as (1-3): 1
Password:
==== AUTHENTICATION COMPLETE ====
Sincronizzazione database dei pacchetti...
Aggiornamento AUR...
Nothing to do.
Transaction successfully finished.
 οŒ’ ξ‚°  ~ ξ‚°

I suggest you do a full system sync when logged onto a TTY (no desktop session)

sudo pacman -Syu

Be sure to restart the system

Be sure to rebuild any custom packages after restarting the system.

2 Likes

Thanks I’ll try at the next upgrade

If I understand correctly you mean using the terminal accessed with CTRL+ALT+F3 instead of the Konsole application.

Correct?

Yes that is correct

1 Like

Honestly, I’d recommend using sudo pacman -Syu instead, then dealing with any AUR packages afterwards with Pamac β€” some are preferring yay or other alternatives for this, these days.

EDIT: Trackpad scrolling is temperamental; skipped past Post #2 without noticing. :facepalm:

Perhaps the SSD and its instant response wasn’t such a good idea! Too quick for me to see, sometimes.

1 Like