Add/Remove software error

Hello.

Every day that I try to install an application via Add/Remove Software it fails with "Failed to prepare transaction: invalid or corrupted database"

I found a workaround running "sudo pacman -Syy" in the terminal but is kinda anoying to do it every day.

What do you think guys?

Thank you.

System: Kernel: 5.15.2-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=237a9908-4e49-4521-88ed-64c5eeeafc8f
rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine: Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE v: x.x serial:
UEFI: American Megatrends LLC. v: F62c date: 05/10/2021
CPU: Info: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ family: 17 (23)
model-id: 8 stepping: 2 microcode: 800820D cache: L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 102204
Speed: 3311 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 1: 3311 2: 3222
3: 3272 4: 3300 5: 3303 6: 3316 7: 3309 8: 3317 9: 3280 10: 3285 11: 3294 12: 3300 13: 3316
14: 3317 15: 3312 16: 3287
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown 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: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine
driver: amdgpu v: kernel bus-ID: 07:00.0 chip-ID: 1002:67df class-ID: 0300
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 3000x1920 s-dpi: 96 s-size: 791x506mm (31.1x19.9") s-diag: 939mm (37")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.7x11.7")
diag: 604mm (23.8")
Monitor-2: DVI-D-0 res: 1080x1920 hz: 60
OpenGL: renderer: AMD Radeon RX 590 Series (POLARIS10 DRM 3.42.0 5.15.2-zen1-1-zen LLVM 13.0.0)
v: 4.6 Mesa 21.2.5 direct render: Yes
Audio: Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: XFX Pine
driver: snd_hda_intel v: kernel bus-ID: 07:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
bus-ID: 09:00.3 chip-ID: 1022:1457 class-ID: 0403
Sound Server-1: ALSA v: k5.15.2-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 1.9.19 running: no
Sound Server-4: PulseAudio v: 15.0 running: yes
Sound Server-5: PipeWire v: 0.3.40 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
v: kernel port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
IF-ID-1: docker0 state: down mac:
Drives: Local Storage: total: 1.58 TiB used: 737.44 GiB (45.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial:
rev: S8542101 temp: 45.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-75WN4A1 size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200
serial: rev: 7113 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: rev: 0009 scheme: GPT
Partition: ID-1: / raw-size: 223.31 GiB size: 223.31 GiB (100.00%) used: 94.89 GiB (42.5%) fs: btrfs
dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) used: 562 KiB (0.2%) fs: vfat
dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 223.31 GiB size: 223.31 GiB (100.00%) used: 94.89 GiB (42.5%) fs: btrfs
dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 223.31 GiB size: 223.31 GiB (100.00%) used: 94.89 GiB (42.5%)
fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 223.31 GiB size: 223.31 GiB (100.00%) used: 94.89 GiB (42.5%)
fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.63 GiB used: 1.62 GiB (10.4%) priority: 100 dev: /dev/zram0
Sensors: Message: No sensor data found. Is lm-sensors configured?
Info: Processes: 427 Uptime: 1h 59m wakeups: 0 Memory: 15.63 GiB used: 9.33 GiB (59.7%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 2096 lib: 473
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

1 Like

What application are you trying to install ? do others install?
Can we have your inxi -Faz

6 Likes

Update the system with

update

in terminal

If this fail install

sudo pacman -S garuda-update

then again "update" in terminal.

Use search function first before posting, also post your inxi -Faz.

5 Likes

I just edited my post, thank you. And no matter what application is, with everyone, filezilla, ruby, gimp, olive, its just everytime I restart my computer i need to run sudo pacman -Syy

Im gonna try this.

I get "warning: garuda-update-1.4.0-1 is up to date -- skipping
there is nothing to do"

Then you're good. :grinning_face_with_smiling_eyes:

2 Likes

Maybe you could try clearing your pacman cache with sudo pacman -Sc

1 Like

somehow this worked, I dont have the problem anymore. Thank you.

1 Like

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