Pamac CLI terminated during update... update continued in backend

So I ran pamac checkupdate and then pamac update and started the update as usual this time in konsole (I usualy do it in yakuake)

I noticed that the system was runnin a little laggy, so I opened another tab and ran btop the memory usage was at 90%, so I opened another tab and ran sudo sysctl vm.swappiness=30 (This might have been a bad idea that I didn’t realize at the time)

In the tab where I ran pamac update just said gzsh terminated pamac update, what was weird was the gzsh started without any space between the update log, not thinking much I ran pamac update again.

This time after authentication it said waiting for another package manager to quit, then I was for sure on the thought of the update being still running in backend.

So then I ran tail -f /var/log/pacman.log and as I thought the update was indeed running in backend.

So I waited for [2026-05-03T20:06:00+0530] [ALPM-SCRIPTLET] Generating EFI bundles.... to appear last, as I knew from earlier that is when the update is done (not at something like transaction successful)

Then restarted the system.
I am just curious what caused that terminal process to end so I can avoid this next time (I will avoid changing swapiness anyways, but it would be better to actually know if sudo command did that or btop did that)

1 Like

I am not an expert by any stretch but I always run my updates from tty , it’s the safest method of updating . [HowTo] Updating Manjaro as safely as possible

5 Likes

That’s a bit too extreme tbh… I chose terminal over gui for safety, but I’m not that worried for 0.001% times it may crash.

This isn’t a bad idea - but I think only necessary for potentially problematic updates to be honest.

I certainly do prefer to run pacman - I always did, even when I used yay for everything.

Was pamac working on repos, or had it started on AUR before it crapped out?

I’m so glad someone measured this - I keep hearing stories, and it didn’t happen to me yet. :stuck_out_tongue:

1 Like

Running updates from tty is a long standing habit of mine as well as using pacman instead of pamac . Now if it’s just Firefox or a few files depending on what they are I’ll run pacman in the terminal but the few extra seconds it takes to use tty and have everything out of the way for larger updates is time well spent IMO .

1 Like

No It did not complete even the download of the packages from extra repo when it terminated, let alone AUR.

I completed AUR update after restart, to be fair there was only one AUR update available (shelly which I am done testing and do not use anymore, also why does it get update every single day idk)

2 Likes

At this stage (downloading all the packages) there wasn’t a change to the system.

1 Like

The developer takes all the comments and issues and feeds them into ChatGPT, pastes in new code, then updates :wink:

The last one was pushed in a hurry because one line messed it up, and if you typed a single letter in the search box it crashed instantly.

1 Like

ChatGPT is so passé. Everyone uses Claude now. :face_with_hand_over_mouth:

3 Likes

Yes, My guess is btop or sudo sysctl vm.swappiness=30 caused the konsole session to terminate something that makes the terminal print the steps during updates, as the update itself was without any problems continued successfully in backend.

I am surprised that CachyOS made it default package manager to their distro…
This is crazy.

And God help whoever uses grok :laughing:

3 Likes

Any chance of you doing it again to confirm?

Neither of these things should cause pamac to crash, but if I had to pick one it would be swappiness - either way it would be a bug and makes me wonder whether the pamac crashes of late may have something to do with swap? (taking a huge leap there, but worth considering - huge leap because that value shouldn’t immediately dump caches).

To me it sounds like this old issue. But in case the terminal was terminated and not the pamac cli, there would be tmux that would allow reattaching the process.

1 Like

Thank you, that’s the one!

if it were already installed (as far as I know it’s not packaged with a default install of Manjaro)

1 Like

It may also be possible that shelly (or dotnet-sdk dependency) created some “bad-vibes” forpamac

3 Likes

I’m trying to work out what this gzsh is. The only application I can find is a Rust-based terminal that uses emojis for commands, and it hasn’t been updated since September, 2022:

It isn’t in the repos or AUR.

If this terminal is being used for the pamac update command, perhaps a memory leak could be the reason for the RAM filling up? It appears to be very much an abandoned project - just the first commits, and then nothing.

If the above gzsh terminal is not being used, please clarify which terminal you are using.

Also, please provide the output of inxi -zv8. Not every helper here wants to spend 5 or 10 minutes of their time searching through your old posts just to find relevant system information.

I had a look at the only inxi you have provided to the forum so far (back in January):

OP's inxi -zv8 output from January
System:
  Kernel: 6.12.63-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=ab1f84f1-6ca3-43bb-be66-d7a9dda7067a rw rootflags=subvol=@
    quiet splash udev.log_priority=3
  Desktop: KDE Plasma v: 6.5.4 tk: Qt v: N/A info: frameworks v: 6.21.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20AMS36W0J v: ThinkPad X240
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20AMS36W0J v: 0B98401 WIN serial: <superuser required>
    part-nu: LENOVO_MT_20AM_BU_Think_FM_ThinkPad X240 uuid: <superuser required>
    Firmware: UEFI-[Legacy] vendor: LENOVO v: GIET99WW (2.49 )
    date: 03/17/2020
Battery:
  ID-1: BAT0 charge: 2.3 Wh (98.3%) condition: 2.3/23.2 Wh (10%) volts: 12.22
    min: 11.1 model: SANYO 45N1773 type: Li-ion serial: <filter> charging:
    status: not charging control: start: 95% end: 100% cycles: N/A
Memory:
  System RAM: total: 4 GiB available: 3.52 GiB used: 2.48 GiB (70.3%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 8 GiB slots: 1 modules: 1 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: ACR16D3LS1NGG/4G serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-4300U bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x45 (69) stepping: 1 microcode: 0x26
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 threads: 4 tpc: 2
    smt: enabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB
    desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 2594 min/max: 800/2900 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 2594 2: 2594 3: 2594 4: 2594 bogomips: 19960
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid lahf_lm lm mca mce md_clear mmx
    monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds mitigation: Microcode
  Type: tsa status: Not affected
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo ThinkPad X240
    driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports:
    active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Lite-On Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:5 chip-ID: 04ca:7035
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: crocus gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x05e0 built: 2013 res: mode: 1366x768
    hz: 60 scale: 100% (1) dpi: 125 gamma: 1.2 chroma: red: x: 0.592 y: 0.349
    green: x: 0.337 y: 0.569 blue: x: 0.161 y: 0.122 white: x: 0.314 y: 0.329
    size: 277x156mm (10.91x6.14") diag: 318mm (12.5") ratio: 16:9
    modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
    device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus wayland:
    drv: crocus x11: drv: crocus
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.3.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4400 (HSW
    GT2) device-ID: 8086:0a16 memory: 1.46 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.4.335 layers: 2 device: 0 type: integrated-gpu name: Intel
    HD Graphics 4400 (HSW GT2) driver: mesa intel v: 25.3.2-arch1.1
    device-ID: 8086:0a16 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo ThinkPad X240
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c
    class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Lenovo ThinkPad X240
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20
    class-ID: 0403
  API: ALSA v: k6.12.63-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off with: nsmd status: off
    tools: jack_control
  Server-3: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I218-LM vendor: Lenovo ThinkPad X240 driver: e1000e
    v: kernel port: 3080 bus-ID: 00:19.0 chip-ID: 8086:155a class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b2 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 8087:07dc
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 63.03 GiB (13.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000LPLX-08ZNTT0 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A05 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 63.03 GiB (13.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 63.03 GiB (13.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-3: /var/cache raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 63.03 GiB (13.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-4: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 63.03 GiB (13.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 9 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-2:2 info: Alcor Micro Hub ports: 4 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 058f:9254 class-ID: 0900
  Device-1: 1-2.2:8 info: USB OPTICAL MOUSE type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
    chip-ID: 0000:3825 class-ID: 0301
  Device-2: 1-2.4:6 info: Usb KeyBoard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 98mA
    chip-ID: c0f4:0ff5 class-ID: 0300
  Device-3: 1-7:3 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:07dc class-ID: e001
  Device-4: 1-8:5 info: Lite-On Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04ca:7035 class-ID: 0e02
  Hub-3: 2-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-4: 3-0:1 info: full speed or root hub ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-5: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 73.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 1874 pm: pacman pkgs: 1838 libs: 508 tools: pamac pm: flatpak
    pkgs: 36
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    2: https://mirrors.manjaro.org/repo/stable/$repo/$arch
    3: https://mirrors2.manjaro.org/stable/$repo/$arch
Processes:
  CPU top: 5 of 273
  1: cpu: 20.0% command: ps pid: 14887 mem: 4.19 MiB (0.1%)
  2: cpu: 14.6% command: zen pid: 1658 mem: 413.3 MiB (11.4%)
  3: cpu: 6.4% command: plasmashell pid: 993 mem: 532.8 MiB (14.7%)
  4: cpu: 5.7% command: kwin_wayland pid: 797 mem: 179.1 MiB (4.9%)
  5: cpu: 4.2% command: konsole pid: 14799 mem: 227.9 MiB (6.3%)
  Memory top: 5 of 273
  1: mem: 532.8 MiB (14.7%) command: plasmashell pid: 993 cpu: 6.4%
  2: mem: 413.3 MiB (11.4%) command: zen pid: 1658 cpu: 14.6%
  3: mem: 255.6 MiB (7.0%) command: zen pid: 13994 cpu: 3.4%
  4: mem: 227.9 MiB (6.3%) command: konsole pid: 14799 cpu: 4.2%
  5: mem: 179.1 MiB (4.9%) command: kwin_wayland pid: 797 cpu: 5.7%
Info:
  Processes: 273 Power: uptime: 2h 19m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 1.39 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 258 default: graphical
    tool: systemctl
  Compilers: clang: 21.1.6 gcc: 15.2.1 alt: 14 Shell: Zsh v: 5.9
    running-in: konsole inxi: 3.3.40

Initially I thought you are running your system with no swap space. However, I did another search of your forum posts, and found that you have since set up zram along with a swapfile:

With such a small amount (4GB) of RAM on your system, you might be better off switching to zswap instead of zram, due to zswap’s superior management of swapping pages between the RAM and the disk.

1 Like

Yea seems similar to that but mine just said gzsh terminated pamac update

Thats’s a good Idea, I’ll let few updates pule up and try recreate it.

And how would one do that? tmux only syncs the terminal itself right? I do use tmux for ssh, but if the terminal is displaying that message and then enters the new line where you put new command, surely tmux will also show the same…
In this case the terminal window isn’t crashing/closing where tmux session would save the day.

That’s what I used tail -f /var/log/pacman.log for monitoring the rest of the process.

I just thought it was initial of my username gaurav and followed by zsh, or as I said earlier, there was no separation between the process’s logs and the gzsh terminated pamac update not even space, as much I remember the last words were download started so there is no reason for g to be there but could’ve been next word’s first letter idk…

I’m using the default terminal that comes with manjaro, Konsole with zsh, only modification is with profile that only changes the theme colors/opacity of background - that shouldn’t cause any issues.

Honestly it is working really, really well, I dont really want to disturb this configuration now.
There was one moment few days ago when I was running GIMP, Inksacpe, Zen Browser, Dolphin, and VSCodium simultaneously, which I would never be able to do before…

It used all of total 9.3 GiB of swap (the combination of zram and swapfile), so I increased the swapfile size to 20 GiB just cuz I have the space so might as well (yes I did turn off swap and in proper way, I followed the instruction on arch wiki)…

Sure

❯ inxi -zv8
System:
  Kernel: 7.0.3-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 16.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-7.0-x86_64
    root=UUID=ab1f84f1-6ca3-43bb-be66-d7a9dda7067a rw rootflags=subvol=@
    quiet splash udev.log_priority=3
  Desktop: KDE Plasma v: 6.6.4 tk: Qt v: N/A info: frameworks v: 6.25.0
    wm: kwin_wayland with: krunner tools: avail: hyprlock vt: 1 dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20AMS36W0J v: ThinkPad X240
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20AMS36W0J v: 0B98401 WIN serial: <superuser required>
    part-nu: LENOVO_MT_20AM_BU_Think_FM_ThinkPad X240 uuid: <superuser required>
    Firmware: UEFI-[Legacy] vendor: LENOVO v: GIET99WW (2.49 )
    date: 03/17/2020
Battery:
  ID-1: BAT0 charge: 1.3 Wh (100%) condition: 1.3/23.2 Wh (5.8%) volts: 12.2
    min: 11.1 model: SANYO 45N1773 type: Li-ion serial: <filter> charging:
    status: full control: start: 95% end: 100% cycles: N/A
Memory:
  System RAM: total: 4 GiB available: 3.52 GiB used: 2.7 GiB (76.8%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 8 GiB slots: 1 modules: 1 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: ACR16D3LS1NGG/4G serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-4300U bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x45 (69) stepping: 1 microcode: 0x26
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 2 threads: 4 tpc: 2
    smt: enabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB
    desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1896 min/max: 800/2900 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 1896 2: 1896 3: 1896 4: 1896 bogomips: 19953
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid lahf_lm lm mca mce md_clear mmx
    monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Not affected
  Type: old_microcode status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds mitigation: Microcode
  Type: tsa status: Not affected
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo ThinkPad X240
    driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports:
    active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Lite-On Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:15 chip-ID: 04ca:7035
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.22 with: Xwayland v: 24.1.11
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: crocus gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x05e0 built: 2013 res: mode: 1366x768
    hz: 60 scale: 100% (1) dpi: 125 gamma: 1.2 chroma: red: x: 0.592 y: 0.349
    green: x: 0.337 y: 0.569 blue: x: 0.161 y: 0.122 white: x: 0.314 y: 0.329
    size: 277x156mm (10.91x6.14") diag: 318mm (12.5") ratio: 16:9
    modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
    device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus wayland:
    drv: crocus x11: drv: crocus
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 26.0.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4400 (HSW
    GT2) device-ID: 8086:0a16 memory: 1.46 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.4.341 layers: 6 device: 0 type: integrated-gpu name: Intel
    HD Graphics 4400 (HSW GT2) driver: mesa intel v: 26.0.6-arch1.1
    device-ID: 8086:0a16 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo ThinkPad X240
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c
    class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Lenovo ThinkPad X240
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20
    class-ID: 0403
  API: ALSA v: k7.0.3-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off with: nsmd status: off
    tools: jack_control
  Server-3: PipeWire v: 1.6.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I218-LM vendor: Lenovo ThinkPad X240 driver: e1000e
    v: kernel port: 3080 bus-ID: 00:19.0 chip-ID: 8086:155a class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b2 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
  IP v4: <filter> scope: global
  IP v6: <filter> scope: global
  IP v6: <filter> virtual: stable-privacy proto kernel_ll scope: link
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 8087:07dc
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: no pairing: no class-ID: 6c010c
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 131.87 GiB (28.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000LPLX-08ZNTT0 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A05 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 131.87 GiB (28.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 131.87 GiB (28.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-3: /swap raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 131.87 GiB (28.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-4: /var/cache raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 131.87 GiB (28.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
  ID-5: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 131.87 GiB (28.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: ab1f84f1-6ca3-43bb-be66-d7a9dda7067a
Swap:
  Kernel: swappiness: 40 (default 60) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: zram size: 3.52 GiB used: 1.19 GiB (33.8%)
    priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
    dev: /dev/zram0
  ID-2: swap-2 type: file size: 20 GiB used: 0 KiB (0.0%) priority: -1
    file: /swap/swapfile
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 9 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:22 info: USB OPTICAL MOUSE type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
    chip-ID: 0000:3825 class-ID: 0301
  Device-2: 1-2:18 info: Usb KeyBoard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 98mA
    chip-ID: c0f4:0ff5 class-ID: 0300
  Device-3: 1-7:4 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:07dc class-ID: e001
  Device-4: 1-8:15 info: Lite-On Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04ca:7035 class-ID: 0e02
  Hub-2: 2-0:1 info: full speed or root hub ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-3: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-4: 3-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 75.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 2096 pm: pacman pkgs: 2016 libs: 481 tools: pamac pm: flatpak
    pkgs: 80
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirrors.manjaro.org/repo/unstable/$repo/$arch
    2: https://mirror.netcologne.de/manjaro/unstable/$repo/$arch
    3: https://ftp.halifax.rwth-aachen.de/manjaro/unstable/$repo/$arch
    4: https://manjaro.mirror.wearetriple.com/unstable/$repo/$arch
    5: https://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/unstable/$repo/$arch
    6: https://mirror.23m.com/manjaro/unstable/$repo/$arch
    7: https://manjaro.mirror.garr.it/manjaro/unstable/$repo/$arch
    8: https://mirrors.ucr.ac.cr/manjaro/unstable/$repo/$arch
Processes:
  CPU top: 5 of 229
  1: cpu: 10.0% command: ps pid: 46230 mem: 4.09 MiB (0.1%)
  2: cpu: 8.3% command: zen pid: 43650 mem: 351.1 MiB (9.7%)
  3: cpu: 3.1% command: zen pid: 38543 mem: 519.7 MiB (14.4%)
  4: cpu: 2.7% command: zen pid: 38297 mem: 487.0 MiB (13.5%)
  5: cpu: 1.7% command: kwin_wayland pid: 936 mem: 120.2 MiB (3.3%)
  Memory top: 5 of 229
  1: mem: 519.7 MiB (14.4%) command: zen pid: 38543 cpu: 3.1%
  2: mem: 487.0 MiB (13.5%) command: zen pid: 38297 cpu: 2.7%
  3: mem: 351.1 MiB (9.7%) command: zen pid: 43650 cpu: 8.3%
  4: mem: 293.7 MiB (8.1%) command: zen pid: 41875 cpu: 0.1%
  5: mem: 120.2 MiB (3.3%) command: kwin_wayland pid: 936 cpu: 1.7%
Info:
  Processes: 229 Power: uptime: 1d 6h 52m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 1 fails: 24 hibernate: platform
    avail: shutdown, reboot, suspend, test_resume image: 1.39 GiB
    services: org_kde_powerdevil, power-profiles-daemon, upowerd Init: systemd
    v: 260 default: graphical tool: systemctl
  Compilers: clang: 22.1.3 gcc: 16.1.1 Shell: Zsh v: 5.9 running-in: yakuake
    inxi: 3.3.40

I understand, If I knew that would be helpful I’d have included that in the original post.
And this isn’t looking like a big bug, as I said I’ll try recreate it just in case, but no-one else seems to experience this other than -

so I think it’s not that important. could also be just a small issue that happened between some core utility updates and is already fixed.

1 Like

This is what i wrote. Because of the gzsh in your post it just wasn’t clear to me whether some terminal session terminated or whether the pamac cli terminated. In the latter case it is the old issue i posted. Please notice the pamac cli is merely a frontend to the pamac-daemon, see /usr/bin/pamac-daemon that runs as root (it’s part of the libpamac package). The pamac tray icon and the pamac manager (GUI) are other frontends. To me the whole issue looks like the frontend somehow loses connection to the backend daemon process and terminates itself. This is a bug, but it isn’t crash (there aren’t any stack traces) nor is the issue caused by the upgrading process itself, and hence whether one uses the GUI, the CLI or the TTY doesn’t matter. There is no issue though using pacman instead of pamacso it really seems to be an issue in the pamac code.

2 Likes

Now I understand! Thanks :+1:
I thought pamac cli is something completely different from pacman. That definitely clears that the pamac cli frontend terminated while the daemon in backend was still running as it normally does.

In that case since this is a bug :bug:,
I’ll let the updates stack up to try recreate this, running btop first and then
sudo sysctl vm.swappiness=30

And by the way, I later visited the zram config file, I already have setup up swappiness to 30, so that command didn’t really change anything. Maybe that could also be related to the termination of pamac cli frontend in terminal.

Not a terminal but a shell. :wink:

The word “terminal” refers either to a tty or to a terminal emulator window in a graphical environment. A shell on the other hand is a command interpreter. :wink:

3 Likes

It might be an issue in pamac-cli, but it could have been affected by prior use of shelly, or changing swappiness value during update

Latest inxi data shows a different value for swappiness ( inxi -ja )

Swap:
  Kernel: swappiness: 40 (default 60) cache-pressure: 100 (default) zswap: yes

ArchWiki - Swap - Swappiness

To set the swappiness value permanently, create a sysctl.d configuration file

sudo tee /etc/sysctl.d/99-swappiness.conf <<< 'vm.swappiness = 30'