Can't update-garuda - db (6.2.32-1) breaks dependancy

Hi,
When I try to update I get installing db (6.2.32-1) breaks dependency 'db=5.3.28' required by lib32-db

I've tried removing lib32-db... but feel I'm in danger of trying to remove too much. Here's a summary o9f what I've tried:

sudo garuda-update
[sudo] password for sid:
:: Synchronising package databases...
garuda                                                                96,7 KiB  80,1 KiB/s 00:01 [---------------------------------------------------------] 100%
core                                                                 152,6 KiB   143 KiB/s 00:01 [---------------------------------------------------------] 100%
extra                                                               1719,3 KiB   225 KiB/s 00:08 [---------------------------------------------------------] 100%
community                                                              7,2 MiB   330 KiB/s 00:22 [---------------------------------------------------------] 100%
multilib                                                             161,2 KiB   144 KiB/s 00:01 [---------------------------------------------------------] 100%
chaotic-aur                                                            2,2 MiB   731 KiB/s 00:03 [---------------------------------------------------------] 100%

--> Refreshing mirrorlists using reflector, please be patient..
[2022-12-26 12:35:00] WARNING: failed to rate http(s) download (https://mirror.funami.tech/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-26 12:35:07] WARNING: failed to rate http(s) download (https://asia.mirror.pkgbuild.com/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-26 12:35:14] WARNING: failed to rate http(s) download (https://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-26 12:35:20] WARNING: failed to rate http(s) download (https://archlinux.za.mirror.allworldit.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-26 12:35:27] WARNING: failed to rate http(s) download (https://at.arch.mirror.kescher.at/community/os/x86_64/community.db): Download timed out after 5 second(s).
:: Synchronising package databases...
garuda downloading...
core downloading...
extra downloading...
community downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing db (6.2.32-1) breaks dependency 'db=5.3.28' required by lib32-db

╭─sid@LittleHottie in ~ took 2m18s
[πŸ”΄]❯ sudo pacman -R lib32-db
[sudo] password for sid:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-db breaks dependency 'lib32-db' required by lib32-jack

╭─sid@LittleHottie in ~ took 3s
[πŸ”΄]❯ sudo pacman -R lib32-jack
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-jack breaks dependency 'libjack.so=0-32' required by lib32-fluidsynth
:: removing lib32-jack breaks dependency 'libjack.so=0-32' required by lib32-portaudio
:: removing lib32-jack breaks dependency 'lib32-jack' required by wineasio

garuda-inxi:

sudo garuda-inxi
[sudo] password for sid:
System:
Kernel: 6.0.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e8afabb7-2035-4f3d-9517-d4c56593050a rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: BESSTAR TECH product: X400 v: N/A serial: N/A
Mobo: BESSTAR TECH model: N/A serial: N/A UEFI: American Megatrends
v: ATB15011 date: 01/12/2021
CPU:
Info: model: AMD Ryzen 5 PRO 4650G with Radeon Graphics socket: AM4 bits: 64
type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600106
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 3700 min/max: 1400/3700 boost: enabled
base/boost: 3700/4300 scaling: driver: acpi-cpufreq governor: performance
volts: 1.2 V ext-clock: 100 MHz cores: 1: 3700 2: 3700 3: 3700 4: 3700
5: 3700 6: 3700 7: 3700 8: 3700 9: 3700 10: 3700 11: 3700 12: 3700
bogomips: 88632
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
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, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Renoir driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1 empty: DP-1,DP-2
bus-ID: 05:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 36.0 C
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
s-diag: 1165mm (45.88")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: BenQ EW3270U serial: <filter>
built: 2020 res: 3840x2160 hz: 60 dpi: 140 gamma: 1.2
size: 698x393mm (27.48x15.47") diag: 801mm (31.5") ratio: 16:9 modes:
max: 3840x2160 min: 720x400
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: AMD Radeon Graphics (renoir LLVM
14.0.6 DRM 3.48 6.0.12-zen1-1-zen) direct render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Realtek
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound API: ALSA v: k6.0.12-zen1-1-zen running: yes
Sound Server-1: JACK v: 0.126.0 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Device-4: Realtek RTL88x2bu [AC1200 Techkey] type: USB driver: rtw_8822bu
bus-ID: 1-2:2 chip-ID: 0bda:b812 class-ID: 0000 serial: <filter>
IF: wlp5s0f3u2 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-1:2
chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 191.92 GiB (40.2%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PDP3512B-A01
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: EDFK0S03 temp: 51.9 C scheme: GPT
SMART: yes health: PASSED on: 68d 2h cycles: 531
read-units: 17,700,376 [9.06 TB] written-units: 29,576,550 [15.1 TB]
Partition:
ID-1: / raw-size: 223.84 GiB size: 223.84 GiB (100.00%)
used: 152.29 GiB (68.0%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
maj-min: 259:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 30.5 MiB (31.8%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 223.84 GiB size: 223.84 GiB (100.00%)
used: 152.29 GiB (68.0%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
maj-min: 259:6
ID-4: /var/log raw-size: 223.84 GiB size: 223.84 GiB (100.00%)
used: 152.29 GiB (68.0%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
maj-min: 259:6
ID-5: /var/tmp raw-size: 223.84 GiB size: 223.84 GiB (100.00%)
used: 152.29 GiB (68.0%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p6
maj-min: 259:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.04 GiB used: 1.75 GiB (11.6%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 40.1 C mobo: N/A gpu: amdgpu temp: 35.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 339 Uptime: 20m wakeups: 0 Memory: 15.04 GiB
used: 5.23 GiB (34.7%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
pkgs: 2044 libs: 583 tools: pamac,paru Shell: garuda-inxi (sudo)
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23
Garuda (2.6.10-1):
System install date:     2021-04-13
Last full system update: 2022-12-10
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Yes
Snapshots:               Snapper
Failed units:

╭─sid@LittleHottie in ~ took 5s

I've searched around but can't find anything useful. It appears libjack relates to audio and is a core package provided in the original install and that's I thought I better ask for help before killing my system (again).

Let me know if you need any more info.

Cheers.

Try installing lib32-pipewire-jack.

Uhhh how exactly does your sound function?? Wha?
How old is your system? :exploding_head:

Will need some diagnostic info

pacman -Ql

1 Like

I personally wouldn't jump to a conclusion so quickly without seeing the rest of the package list. I have a feeling this sound stack is a bit messed up in general, and installing that package instead does nothing to address the actual conflict here.

1 Like

This issue is usually caused just because some small desync in the repo, that's common on some packages that have lib32/normal versions such as db. Just wait a little and try again.

Here's a pastebin of the output:

This started over a week ago and I hoped it'd go away, but nope :frowning_face:

Try changing the repo URL.

I just switched my mirror list from France to UK, I think that changes the repo URL, but I could be wrong. Outcome is the same:

sudo garuda-update
[sudo] password for sid:
:: Synchronising package databases...
garuda                                                                98,3 KiB  82,9 KiB/s 00:01 [---------------------------------------------------------] 100%
core                                                                 152,6 KiB   280 KiB/s 00:01 [---------------------------------------------------------] 100%
extra                                                               1720,1 KiB   274 KiB/s 00:06 [---------------------------------------------------------] 100%
community                                                              7,2 MiB   596 KiB/s 00:12 [---------------------------------------------------------] 100%
multilib is up to date
chaotic-aur                                                            2,2 MiB   526 KiB/s 00:04 [---------------------------------------------------------] 100%

--> Refreshing mirrorlists using reflector, please be patient..
[2022-12-27 12:30:34] WARNING: failed to rate http(s) download (https://mirror.cspacehostings.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-27 12:30:40] WARNING: failed to rate http(s) download (https://mirror.telepoint.bg/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-27 12:30:40] WARNING: failed to rate http(s) download (https://mirror.theash.xyz/arch/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-12-27 12:30:46] WARNING: failed to rate http(s) download (https://mirror.chaoticum.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-27 12:30:52] WARNING: failed to rate http(s) download (https://mirror.hackingand.coffee/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
:: Synchronising package databases...
garuda downloading...
core downloading...
extra downloading...
community downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing db (6.2.32-1) breaks dependency 'db=5.3.28' required by lib32-db

Changed to Germany, same outcome.

In terminal

sudo pacman -R lib32-db

Enter

Cheers SGS but I tried that earlier. Tried it again and:

[πŸ”΄]❯ sudo pacman -R lib32-db
[sudo] password for sid:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-db breaks dependency 'lib32-db' required by lib32-jack

So I next tried:

[πŸ”΄]❯ sudo pacman -R lib32-jack
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-jack breaks dependency 'libjack.so=0-32' required by lib32-fluidsynth
:: removing lib32-jack breaks dependency 'libjack.so=0-32' required by lib32-portaudio
:: removing lib32-jack breaks dependency 'lib32-jack' required by wineasio

This is where I stopped 'cos I'm worried about removing core packages if i go further.

Did you read this?

No I hadn't read that. Interesting and nice to know I'm not alone!

But I still can't remove it (I think) due to it's dependencies, as above plus these:

[πŸ”΄]❯ sudo pacman -Qii db
[sudo] password for sid:
Name            : db
Version         : 5.3.28-5
Description     : The Berkeley DB embedded database system
Architecture    : x86_64
URL             : https://www.oracle.com/technology/software/products/berkeley-db/index.html
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : gcc-libs  sh
Optional Deps   : None
Required By     : jack  lib32-db  libical  perl  php
Optional For    : apr-util  iproute2
Conflicts With  : None
Replaces        : None
Installed Size  : 6,41 MiB
Packager        : Evangelos Foutras <[email protected]>
Build Date      : mer. 13 nov. 2019 16:51:36
Install Date    : mar. 13 avril 2021 17:51:23
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Backup Files    :

I'm not gonna remove perl and php!

OK I thought I'd try reinstalling/upgrading the dependencies to remove their deps. Hasn't worked though :face_with_diagonal_mouth:

❯ sudo pacman -S perl
resolving dependencies...
looking for conflicting packages...

Packages (2) db5.3-5.3.28-2  perl-5.36.0-3

Total Download Size:   16,78 MiB
Total Installed Size:  67,10 MiB
Net Upgrade Size:       7,31 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
db5.3-5.3.28-2-x86_64                                               1229,3 KiB   316 KiB/s 00:04 [---------------------------------------------------------] 100%
perl-5.36.0-3-x86_64                                                  15,6 MiB   828 KiB/s 00:19 [---------------------------------------------------------] 100%
Total (2/2)                                                           16,8 MiB   866 KiB/s 00:20 [---------------------------------------------------------] 100%
(2/2) checking keys in keyring                                                                    [---------------------------------------------------------] 100%
(2/2) checking package integrity                                                                  [---------------------------------------------------------] 100%
(2/2) loading package files                                                                       [---------------------------------------------------------] 100%
(2/2) checking for file conflicts                                                                 [---------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
db5.3: /usr/lib/libdb-5.3.so exists in filesystem (owned by db)
db5.3: /usr/lib/libdb-5.so exists in filesystem (owned by db)
db5.3: /usr/lib/libdb_cxx-5.3.so exists in filesystem (owned by db)
db5.3: /usr/lib/libdb_cxx-5.so exists in filesystem (owned by db)
db5.3: /usr/lib/libdb_stl-5.3.so exists in filesystem (owned by db)
db5.3: /usr/lib/libdb_stl-5.so exists in filesystem (owned by db)
Errors occurred, no packages were upgraded.

Okay okay okay I suggest we just pause here, we're not getting any closer to figuring this out with running random pacman commands. PLEASE DISREGARD EVERYTHING PEOPLE HAVE SAID SO FAR, I don't want things to get worse than what we've got right now already.

I don't know what the hell your Audio setup is at this point. You have both pipewire and pulseaudio AND ancient jack libraries that don't exist anymore. How??

It's time to nuke all that and just switch to a proper audio stack. There is a chance there will be conflicts that can't be solved by pressing y, please post the full terminal log in such cases.

sudo pacman -S pipewire-support wireplumber

1 Like

Cheers TNE, I trust you and only press 'y' on your instruction :wink::

I'm happy to remove ancient Jack - dunno where that came from - but perl & php as dependencies is worrisome.

[πŸ”΄]❯ sudo pacman -S pipewire-support wireplumber > tne.txt
[sudo] password for sid:
:: pipewire-support and pulseaudio-equalizer are in conflict. Remove pulseaudio-equalizer? [y/N] y
:: pipewire-support and pulseaudio-jack are in conflict. Remove pulseaudio-jack? [y/N] y
:: pipewire-support and pulseaudio-lirc are in conflict. Remove pulseaudio-lirc? [y/N] y
:: pipewire-support and pulseaudio-rtp are in conflict. Remove pulseaudio-rtp? [y/N] y
:: pipewire-support and pulseaudio-support are in conflict. Remove pulseaudio-support? [y/N] y
:: pipewire-support and pulseaudio-zeroconf are in conflict. Remove pulseaudio-zeroconf? [y/N] y
:: pipewire-alsa and pulseaudio-alsa are in conflict. Remove pulseaudio-alsa? [y/N] y
:: pipewire-jack and jack are in conflict. Remove jack? [y/N] y
:: pipewire-pulse and pulseaudio are in conflict. Remove pulseaudio? [y/N] y
:: pipewire-pulse and pulseaudio-bluetooth are in conflict. Remove pulseaudio-bluetooth? [y/N] y
:: wireplumber and pipewire-media-session are in conflict. Remove pipewire-media-session? [y/N] y
:: Proceed with installation? [Y/n]

Reboot and rest time.....

Alrighty, time to repeat that story with lib32-pipewire-jack and then we can remove lib32-db!

sudo pacman -S lib32-pipewire-jack
sudo pacman -R lib32-db

Share the full output if you can of course!

1 Like

Ah, same again after reboot...

❯ sudo garuda-update
[sudo] password for sid:
:: Synchronising package databases...
garuda is up to date
core is up to date
extra                                                               1732,1 KiB   272 KiB/s 00:06 [---------------------------------------------------------] 100%
community                                                              7,2 MiB   579 KiB/s 00:13 [---------------------------------------------------------] 100%
multilib is up to date
chaotic-aur                                                            2,2 MiB   348 KiB/s 00:06 [---------------------------------------------------------] 100%

--> Refreshing mirrorlists using reflector, please be patient..
[2022-12-28 22:55:51] WARNING: failed to rate http(s) download (https://mirror.theash.xyz/arch/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-12-28 22:55:58] WARNING: failed to rate http(s) download (https://asia.mirror.pkgbuild.com/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-28 22:56:04] WARNING: failed to rate http(s) download (https://mirror.chaoticum.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-12-28 22:56:04] WARNING: failed to rate http(s) download (https://mirror.cyberbits.asia/archlinux/community/os/x86_64/community.db): <urlopen error [Errno 101] Network is unreachable>
[2022-12-28 22:56:09] WARNING: failed to rate http(s) download (https://mirror.moson.org/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
:: Synchronising package databases...
garuda downloading...
core downloading...
extra downloading...
community downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing db (6.2.32-1) breaks dependency 'db=5.3.28' required by lib32-db

I posted a new message in the mean time: