Can't garuda-update: gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so exists in filesystem (owned by gcc12)

I’m getting this error when I try to garuda-update:

Total Installed Size:  16433.45 MiB
Net Upgrade Size:        143.35 MiB

:: Proceed with installation? [Y/n]
(707/707) checking keys in keyring                                       [-----------------------------------------] 100%
(707/707) checking package integrity                                     [-----------------------------------------] 100%
(707/707) loading package files                                          [-----------------------------------------] 100%
(707/707) checking for file conflicts                                    [-----------------------------------------] 100%
error: failed to commit transaction (conflicting files)
gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so exists in filesystem (owned by gcc12)
gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1 exists in filesystem (owned by gcc12)
Errors occurred, no packages were upgraded.
Press enter to exit
[🔴] × garuda-inxi
System:
Kernel: 6.8.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=1841fbdb-0a5a-497a-86d3-67c2ef2f6c76 rw rootflags=subvol=@
quiet rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 with: krunner vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Avell High Performance product: A65 MOB v: Standard
serial: <superuser required>
Mobo: Avell High Performance model: Avell A65 MOB v: Standard
serial: <superuser required> part-nu: A65 MOB uuid: <superuser required>
UEFI: American Megatrends LLC. v: N.1.07AVE00 date: 07/23/2021
Battery:
ID-1: BAT0 charge: 67.9 Wh (96.0%) condition: 70.7/93.5 Wh (75.6%)
volts: 12.1 min: 11.4 model: standard type: Li-ion serial: <filter>
status: not charging
ID-2: hidpp_battery_0 charge: 100% condition: N/A volts: 4.2 min: N/A
model: Logitech G703 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
serial: <filter> status: full
CPU:
Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
microcode: 0x50
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 2188 high: 4394 min/max: 800/4600 scaling:
driver: intel_pstate governor: performance cores: 1: 3336 2: 3325 3: 800
4: 800 5: 1246 6: 800 7: 800 8: 1942 9: 4394 10: 4300 11: 4200 12: 800
13: 800 14: 4193 15: 800 16: 2484 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Tongfang Hongkong
driver: i915 v: kernel alternate: xe arch: Gen-12.1 process: Intel 10nm
built: 2020-21 ports: active: eDP-1 empty: DP-1 bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q]
vendor: Tongfang Hongkong driver: nvidia v: 550.76
alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
2024-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
built: 2020-2023 pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s ports: active: none off: HDMI-A-1 empty: DP-2,DP-3,eDP-2
bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
Device-3: Chicony Integrated IR Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-13:8 chip-ID: 04f2:b71a
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1354x381mm (53.31x15.00")
s-diag: 1407mm (55.38")
Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled pos: primary,bottom-r
model: LG (GoldStar) 25UM58G serial: <filter> built: 2015 res: 2560x1080
dpi: 96 gamma: 1.2 size: 677x290mm (26.65x11.42") diag: 730mm (28.8")
modes: max: 2560x1080 min: 640x480
Monitor-2: eDP-1 mapped: eDP-1-1 pos: top-left model: BOE Display 0x0974
built: 2021 res: 2560x1440 hz: 165 dpi: 189 gamma: 1.2
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
modes: 2560x1440
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: iris device: 3 drv: swrast surfaceless:
drv: nvidia x11: drv: nvidia inactive: gbm,wayland,device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.76
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060 Laptop
GPU/PCIe/SSE2 memory: 5.86 GiB
API: Vulkan v: 1.3.279 layers: 8 device: 0 type: integrated-gpu name: Intel
UHD Graphics (TGL GT1) driver: mesa intel v: 24.0.5-arch1.1
device-ID: 8086:9a60 surfaces: xcb,xlib device: 1 type: discrete-gpu
name: NVIDIA GeForce RTX 3060 Laptop GPU driver: nvidia v: 550.76
device-ID: 10de:2520 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.5-arch1.1 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
Device-2: NVIDIA GA106 High Definition Audio vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-3: Fifine Microphone driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2.1:5
chip-ID: 3142:5060 class-ID: 0300
API: ALSA v: k6.8.7-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Tongfang Hongkong driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 2e:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp46s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
IF-ID-2: br-3736135ffeba state: down mac: <filter>
IF-ID-3: br-c4679ddb8f32 state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-4: docker0 state: down mac: <filter>
IF-ID-5: veth13dd24a state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-6: veth5dc9e89 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-7: veth62a9d36 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-8: veth834fe89 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-9: veth9522814 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-10: veth96431d0 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-11: vethb7920dc state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-12: vethcc86f49 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-13: vethe3b264c state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-14: vethff87071 state: up speed: 10000 Mbps duplex: full
mac: <filter>
Info: services: NetworkManager, nginx, smbd, systemd-networkd,
wpa_supplicant
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-14:9 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 3.73 TiB used: 664.37 GiB (17.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: A-Data model: SX8200PNP
size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 42B9T6TB temp: 44.9 C
scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 42B9T6TB temp: 41.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 1.86 TiB size: 1.86 TiB (100.00%) used: 664.37 GiB (34.8%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 571 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2
ID-3: /home raw-size: 1.86 TiB size: 1.86 TiB (100.00%)
used: 664.37 GiB (34.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-4: /var/log raw-size: 1.86 TiB size: 1.86 TiB (100.00%)
used: 664.37 GiB (34.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-5: /var/tmp raw-size: 1.86 TiB size: 1.86 TiB (100.00%)
used: 664.37 GiB (34.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 62.54 GiB used: 589.2 MiB (0.9%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 62.0 C mobo: N/A gpu: nvidia temp: 59 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 64 GiB note: est. available: 62.54 GiB
used: 21.06 GiB (33.7%)
Processes: 686 Power: uptime: 13m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 24.98 GiB services: org_kde_powerdevil,upowerd
Init: systemd v: 255 default: graphical tool: systemctl
Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 2395 libs: 568
tools: pamac,paru Compilers: clang: 17.0.6 gcc: 13.2.1 alt: 12
Shell: garuda-inxi default: fish v: 3.7.1 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2021-09-13
Last full system update: 2024-04-22
Is partially upgraded:   Yes
Relevant software:       timeshift NetworkManager mkinitcpio nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:            anbox-container-manager.service systemd-networkd-wait-online.service

Try

garuda-update -- --overwrite '*'
4 Likes

Worked, thanks!

Uhhh it would be much preferable if instead of installing both gcc12 and gcc13, you instead pick between one of them. Having both installed on top of eachother, using files of the other, is a recipe for disaster.

1 Like

This was because of a cuda update, and required the new gcc13 and gcc13-libs.
Both gcc12 and gcc12-libs don’t exist in the repos anymore (as cuda needs the latest version), so they could be removed from the system after the update.

3 Likes

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