Pamac keeps crashing with every update

Hi,
When there are updates and I try to open pamac to install them, pamac doesn’t lunch. It gives me an error that (Add/remove application failed to launch).
And I have to update it using pacman. During updating with pacman, the pamac opens well.

How can I fix this issue, please?
Thanks in advance.

You could try updating with pacman instead, via command-line:

sudo pacman -Syu

Cheers.

I know that I can use this command, but I actually want to use pamac.

Perhaps there is an issue that will be corrected with one of these updates, allowing you to then use Pamac without issue. Perhaps not.
Either way, I’d refer you back to the pacman approach to test the theory. Cheers.

Thanks for replaying. It actually doesn’t work with some updates, so I think the updates make an issue with it. After the updates, it works fine and with some other updates, it works fine, too.

Posting the output of:

sudo inxi --admin --verbosity=7 --filter --no-host --width

… may help others help you solve this. Also, there are many other commands here that will help you gather information.

pacman is Arch native package manager.

If you - for unknown reasons - have issues with Pamac - please use pacman.

Any sync may include packages which is in use and thus requires a system restart.

Syncing packages like wayland, xorg, nvidia and possibly others may be better done using a TTY to avoid problems.

1 Like

Check whether you are owner of /var/tmp/pamac/dbs/sync directory. If not change owner. (Problem may have happened due to a previous update)
Remove all files in /var/tmp/pamac/dbs/sync/ -they will be downloaded again when pamac starts.
An try again running pamac

I think I am the owner as I deleted them without any problems. Pamac started fine, but I can’t say the issue is now fixed, as it already works after I update the system through pacman. My issue is before some updates, I can’t open pamac.

I am already using pacman when I have issues, but I noticed that the issues are slightly more recently. So, I am asking if there is anything I can do for pamac to be fixed.

When a command is offered for you to get information from your system, can you please respond with either:

  1. Thanks, here is the result. …or
  2. I didn’t try it.

The same applies when someone offers a helpful link:

  1. Thanks, it was useful / wasn’t useful / I didn’t understand it, etc.
  2. I didn’t bother. Thanks anyway.
1 Like

Here it’s the result:

System:
  Kernel: 6.1.53-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=d4407709-5ea0-42a1-915f-202fc30174a2 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Compaq Pro 6300 MT v: N/A
    serial: <filter> Chassis: type: 6 serial: <filter>
  Mobo: Hewlett-Packard model: 339A serial: <filter> UEFI: Hewlett-Packard
    v: K01 v02.98 date: 03/18/2015
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 8 GiB available: 7.7 GiB used: 4.19 GiB (54.4%)
  Array-1: capacity: 32 GiB slots: 4 modules: 2 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: DIMM4 type: DDR3 detail: synchronous size: 4 GiB speed: 1600 MT/s
    volts: N/A width (bits): data: 64 total: 64 manufacturer: Hynix/Hyundai
    part-no: HMT351U6EFR8C-PB serial: <filter>
  Device-2: DIMM3 type: no module installed
  Device-3: DIMM2 type: no module installed
  Device-4: DIMM1 type: DDR3 detail: synchronous size: 4 GiB speed: 1600 MT/s
    volts: N/A width (bits): data: 64 total: 64 manufacturer: Hynix/Hyundai
    part-no: HMT351U6CFR8C-PB serial: <filter>
CPU:
  Info: model: Intel Core i7-3770 socket: BGA1155 bits: 64 type: MT MCP
    arch: Ivy Bridge gen: core 3 level: v2 built: 2012-15 process: Intel 22nm
    family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3236 high: 3889 min/max: 1600/3900 base/boost: 3400/3800
    scaling: driver: intel_cpufreq governor: schedutil volts: 1.1 V
    ext-clock: 100 MHz cores: 1: 3841 2: 1600 3: 3691 4: 1600 5: 3752 6: 3889
    7: 3761 8: 3754 bogomips: 54294
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    ept erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs
    ida lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx
    pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts
    rdrand rdtscp rep_good sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
    stibp syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid
    x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  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: 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
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GK106 [GeForce GTX 660] vendor: ZOTAC driver: nvidia
    v: 470.199.02 non-free: series: 470.xx+ status: legacy-active (EOL~2023/24)
    arch: Kepler code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:11c0 class-ID: 0300
  Display: server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 60 s-size: 1083x609mm (42.64x23.98")
    s-diag: 1242mm (48.92")
  Monitor-1: HDMI-0 res: 2560x1440 hz: 60 dpi: 41
    size: 1600x900mm (62.99x35.43") diag: 1836mm (72.27") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: swrast x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 470.199.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 660/PCIe/SSE2
    memory: 1.95 GiB
  API: Vulkan v: 1.3.264 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 660 driver: nvidia v: 470.199.02
    device-ID: 10de:11c0 surfaces: xcb,xlib
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Hewlett-Packard 7 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GK106 HDMI Audio vendor: ZOTAC driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:0e0b class-ID: 0403
  Device-3: C-Media USB Audio Device driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.4:4
    chip-ID: 0d8c:0012 class-ID: 0300
  API: ALSA v: k6.1.53-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 tools: N/A
  Server-3: PipeWire v: 0.3.80 status: n/a (root, process) with: wireplumber
    status: active tools: pw-cli,wpctl
  Server-4: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard
    driver: e1000e v: kernel port: f020 bus-ID: 00:19.0 chip-ID: 8086:1502
    class-ID: 0200
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.5 TiB used: 2.01 TiB (80.2%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3500414CS
    family: Pipeline HD 5900.2 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B sata: 2.6 speed: 3.0 Gb/s tech: HDD rpm: 5900
    serial: <filter> fw-rev: CA14 temp: 36 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 7y 80d 2h cycles: 2752
    Old-Age: UDMA CRC errors: 279937 alert: Bad cable/connection? Pre-Fail:
    attribute: Spin_Retry_Count value: 100 worst: 100 threshold: 97
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD20EADS-00R6B0
    family: Caviar Green size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B sata: 2.6 speed: 3.0 Gb/s tech: N/A serial: <filter>
    fw-rev: 0A01 temp: 38 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 1y 316d 19h cycles: 2332
  ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 250GB
    family: based SSDs size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.2 speed: 3.0 Gb/s tech: SSD serial: <filter>
    fw-rev: 4B6Q temp: 41 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 1y 60d 5h cycles: 1552
    written: 36.26 TiB
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 150.6 GiB size: 147.17 GiB (97.73%) used: 51.52 GiB (35.0%)
    fs: ext4 block-size: 4096 B dev: /dev/sdc7 maj-min: 8:39 label: N/A
    uuid: d4407709-5ea0-42a1-915f-202fc30174a2
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 288 KiB (0.0%) fs: vfat block-size: 512 B dev: /dev/sdc6 maj-min: 8:38
    label: N/A uuid: A999-BF76
  ID-3: /mnt/Data raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 322.92 GiB (69.3%) fs: ntfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1 label: Data uuid: 01D6D6DDA6146800
  ID-4: /mnt/Fun raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 1.64 TiB (90.2%) fs: ntfs block-size: 4096 B dev: /dev/sdb1
    maj-min: 8:17 label: Fun uuid: 5E7E4E247E4DF575
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 25%
  ID-1: swap-1 type: file size: 4 GiB used: 1.13 GiB (28.4%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/sdc1 maj-min: 8:33 size: 100 MiB fs: vfat label: N/A
    uuid: DA87-563D
  ID-2: /dev/sdc2 maj-min: 8:34 size: 16 MiB fs: N/A label: N/A uuid: N/A
  ID-3: /dev/sdc3 maj-min: 8:35 size: 80 GiB fs: ntfs label: Windows
    uuid: 701AA4131AA3D3FE
  ID-4: /dev/sdc4 maj-min: 8:36 size: 696 MiB fs: ntfs label: N/A
    uuid: 2AC0F1F9C0F1CAD9
  ID-5: /dev/sdc5 maj-min: 8:37 size: 505 MiB fs: ntfs label: N/A
    uuid: 4A4A8BCE4A8BB4EB
USB:
  Hub-1: 1-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-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
    class-ID: 0900
  Device-1: 1-1.3:3 info: Personal Communication Systems Dual PSX Adaptor
    type: HID driver: pantherlord,usbhid interfaces: 1 rev: 1.0
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 500mA
    chip-ID: 0810:0001 class-ID: 0300
  Device-2: 1-1.4:4 info: C-Media USB Audio Device type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0d8c:0012 class-ID: 0300
  Hub-3: 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-4: 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:0024
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 4 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: 3-1:2 info: YK 2.4G Wireless Device type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 3938:1080 class-ID: 0301
  Device-2: 3-2:3 info: Areson Corp 2.4G Receiver type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 25a7:fa23 class-ID: 0301
  Hub-6: 4-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: 44.0 C mobo: N/A gpu: nvidia temp: 48 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 35%
Info:
  Processes: 272 Uptime: 2h 37m wakeups: 0 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1498 pm: pacman pkgs: 1480 libs: 420 tools: pamac,yay pm: flatpak
  pkgs: 11 pm: snap pkgs: 7 Shell: Sudo (sudo) v: 1.9.14p3 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.30

Latest Pamac is unstable and crashes a lot at random situations, and from my experience it’s dangerous to use it for major/big upgrades, but it’s fine as package browser. As alternative use yay or pacman.

The frustrating is that on GitLab/Pamac, most crash related issues are not answered or discussed at all, it’s like the project is dying.

I am really sorry, I didn’t see your last response.

I am using yay, but still a GUI package installer is better for me.

Yeah, Pamac and stable branch were the main attractive points in Manjaro, but with AUR problems I jumped to unstable branch, and now with Pamac problems, I doubt my initial choice.

More than an overview of your problem is usually needed for anyone to help. This is why you will often see request for more information, and links to follow with tutorials on how to use the forum.

Continuing from the @medmedin comment, maybe you’d be comfortable using Discovery instead of Pamac, for general application installs:

sudo pacman -S discovery

It works similarly to Pamac-Manager (GUI): Pretty icons, and clickable buttons.

…and use pacman to perform upgrades.

One of the causes of using Manjaro is pamac as it’s not working well enough on other destros. I hope this can be fixed soon.

Thanks for that. Is it different from Discover of KDE?
My main need for a GUI package manager is to schedule updates and giving me a notification for updates, so I’m using pamac.

I couldn’t remember if it was installed by default. If you see it in KDE then yes, that’s the one.

Pamac GUI notifies of updates, yes. When I see that, I logout, and switch to a TTY (crl+alt+f2) and login through the terminal - then enter;

sudo pacman -Syu

… and when finished, reboot.

This is generally the safest way to perform an upgrade.