Just installed Garuda but cannot update

Hey guys, as the title says, i just installed the os but i can’t update the system, the following error keeps popping up:
error: it wasn’t possible to read bd “extra” (Truncated input file (needed 1024 bytes, only 0 available))
error: it wasn’t possible to analyse the file description of the package “haskell-hie-bios-0.11.0-70/desc” and so on
It seems it can’t read this file, and the HDD has space, it’s a fresh install

I looked and searched the forum and what i already did:
garuda-update remote fix
sudo reflector --sort age --save /etc/pacman.d/mirrorlist
garuda-update -a

Rebooted, and the error persists…

Here is a screenshot, it’s in portuguese but i translated some of the errors above
https://imgur.com/a/MDFZ8pb

2 Likes

Please, post garuda-inxi, as text. All terminal outputs as text too.
Use LANG=C in front of your commands, it translate to English.

  • After rebooting, post the FULL output of garuda-inxi in the body of the post (not linked externally, or collapsed with the “hide details” feature)
  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text

Without garuda-inxi this request will be moved to 412 Precondition Failed

1 Like

Gonna attach the commands

                             ╭─wanderson@wandersonPc in ~ 
 ╰─λ lang=c garuda-inxi
System:
  Kernel: 6.7.0-zen3-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c5797b53-36bb-4856-85a6-13204fe5f5c7 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B650M DS3H serial: <superuser required>
    UEFI: American Megatrends LLC. v: F21a date: 12/21/2023
CPU:
  Info: model: AMD Ryzen 5 7600X bits: 64 type: MT MCP arch: Zen 4 gen: 5
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601206
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 6 MiB desc: 6x1024 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 1704 high: 3594 min/max: 400/5453 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 3594
    4: 400 5: 400 6: 3593 7: 400 8: 3567 9: 3400 10: 400 11: 3498 12: 400
    bogomips: 112593
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 03:00.0
    chip-ID: 1002:73df class-ID: 0300
  Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4, DP-5,
    DP-6, HDMI-A-2 bus-ID: 11:00.0 chip-ID: 1002:164e class-ID: 0300
    temp: 49.0 C
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu,amdgpu display-ID: 0
  Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: radeonsi
    surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 16.0.6 DRM 3.56 6.7.0-zen3-1-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.3.274 layers: 3 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 23.3.3-arch1.1
    device-ID: 1002:73df surfaces: xcb,xlib,wayland device: 1
    type: integrated-gpu name: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)
    driver: mesa radv v: 23.3.3-arch1.1 device-ID: 1002:164e
    surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
    16.0.6 256 bits) driver: mesa llvmpipe v: 23.3.3-arch1.1 (LLVM 16.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 11:00.1
    chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 11:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.7.0-zen3-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.1 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: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0d:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp13s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 3.68 TiB used: 11.01 GiB (0.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Lenovo model: E660 SSD-2.5-2TB
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 429 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10EZEX-00RKKA0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: N/A serial: <filter> fw-rev: 0A80
    scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD10SPZX-21Z10T0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 02.0 scheme: MBR
Partition:
  ID-1: / raw-size: 487.55 GiB size: 487.55 GiB (100.00%)
    used: 11.01 GiB (2.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /boot/efi raw-size: 1001.3 MiB size: 999.3 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2
  ID-3: /home raw-size: 487.55 GiB size: 487.55 GiB (100.00%)
    used: 11.01 GiB (2.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/log raw-size: 487.55 GiB size: 487.55 GiB (100.00%)
    used: 11.01 GiB (2.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-5: /var/tmp raw-size: 487.55 GiB size: 487.55 GiB (100.00%)
    used: 11.01 GiB (2.3%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 30.5 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 53.8 C mobo: 36.0 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 49.0 C device: amdgpu temp: 44.0 C mem: 40.0 C
    fan: 0 watts: 5.00
Info:
  Processes: 418 Uptime: 1m wakeups: 0 Memory: total: 32 GiB note: est.
  available: 30.5 GiB used: 3.49 GiB (11.5%) Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1199 libs: 355 tools: octopi,paru Shell: fish v: 3.7.0
  running-in: konsole inxi: 3.3.31
Garuda (2.6.22-1):
  System install date:     2024-01-23
  Last full system update: 2024-01-23
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

 ╭─wanderson@wandersonPc in ~ took 1s
 ╰─λ lang=c garuda-update
[sudo] senha para wanderson:         
:: Sincronizando a base de dados de pacotes...
 garuda está atualizado
 core está atualizado
 extra está atualizado
 multilib está atualizado
 chaotic-aur                             2,6 MiB   946 KiB/s 00:03 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

:: Sincronizando a base de dados de pacotes...
 garuda sendo baixado...
 core sendo baixado...
 extra sendo baixado...
 multilib sendo baixado...
 chaotic-aur sendo baixado...

--> Applying keyring updates before starting full system update..
atenção: archlinux-keyring-20231222-1 está atualizado -- ignorando
erro: não foi possível analisar arquivo de descrição de pacote "haskell-hie-bios-0.11.0-70/desc" da base de dados "extra"
erro: não foi possível ler a bd "extra" (Truncated input file (needed 1024 bytes, only 0 available))
atenção: chaotic-keyring-20230616-1 está atualizado -- ignorando
atenção: garuda-hotfixes-1.1.2-1 está atualizado -- ignorando
nada para fazer
:: Starting full system upgrade...
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))
error: could not parse package description file 'haskell-hie-bios-0.11.0-70/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 1024 bytes, only 0 available))


Same issue for me. Happened on a working system and a new install. I get exactly the same message even on a new install doing the initial update.

Capital letters, please

Try my list

───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/pacman.d/mirrorlist
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ ################################################################################
   2   │ ################# Arch Linux mirrorlist generated by Reflector #################
   3   │ ################################################################################
   4   │ 
   5   │ # With:       reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
   6   │ # When:       2024-01-23 23:31:33 UTC
   7   │ # From:       https://archlinux.org/mirrors/status/json/
   8   │ # Retrieved:  2024-01-23 23:31:29 UTC
   9   │ # Last Check: 2024-01-23 23:02:56 UTC
  10   │ 
  11   │ Server = https://archlinux.thaller.ws/$repo/os/$arch
  12   │ Server = https://mirror.pseudoform.org/$repo/os/$arch
  13   │ Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
  14   │ Server = https://mirror.moson.org/arch/$repo/os/$arch
  15   │ Server = https://mirror.f4st.host/archlinux/$repo/os/$arch

or just

reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

and skip mirrorlist

5 Likes

I’m also having the same issue. Just noticed it yesterday when I tried to do garuda-update. I thought I messed something up but I’m glad to see I’m not the only one with this issue. I tried pacman -Syy and then I was able to do garuda-update but this issue is back again. I’m fairly new to Garuda and this is my first arch based distro. Still getting used to pacman.

Its just a mirror problem. Search in forum. I think it is fixed in garuda-update, if not, use my reflector or just the mirrors I posted.
Btw, don’t use -Syy.

pacman -Qi garuda-update
Name                     : garuda-update
Version                  : 4.4.1-1
2 Likes

Yep, tried yours and with skip mirrorlist gave me this error

╭─wanderson@WandersonPc in ~ 
 ╰─λ LANG=C garuda-update -skip-mirrorlist
[sudo] password for wanderson:         
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 chaotic-aur is up to date
/usr/bin/garuda-update: invalid option -- 's'
/usr/bin/garuda-update: invalid option -- 'k'
/usr/bin/garuda-update: invalid option -- 'i'
/usr/bin/garuda-update: invalid option -- 'p'
/usr/bin/garuda-update: invalid option -- '-'
/usr/bin/garuda-update: invalid option -- 'm'
/usr/bin/garuda-update: invalid option -- 'i'
/usr/bin/garuda-update: invalid option -- 'r'
/usr/bin/garuda-update: invalid option -- 'r'
/usr/bin/garuda-update: invalid option -- 'o'
/usr/bin/garuda-update: invalid option -- 'r'
/usr/bin/garuda-update: invalid option -- 'l'
/usr/bin/garuda-update: invalid option -- 'i'
/usr/bin/garuda-update: invalid option -- 's'
/usr/bin/garuda-update: invalid option -- 't'

1 Like

needs two dashes for skip-mirrorlist. Try this to skip mirrorlist:

LANG=C garuda-update --skip-mirrorlist

or

LANG=C garuda-update -a --skip-mirrorlist

to update AUR packages as well.

Looks like with this error might also go away with time [Solved] Error when updating / Newbie Corner / Arch Linux Forums . I am assuming just some mirror’s database files are having issues?

5 Likes

lol, thx i missed that. After that i tried garuda-update remote fullfix and it appears it’s updating something at least.

After that i’m gonna try garuda-update but now i’m gonna keep my eyes on the dashes, silly mistake haha

2 Likes

I used your reflector and was able to run garuda-update successfully. Thanks!

2 Likes

I do think something is wrong in the mirrors or with rate-mirrors. I can use reflector to get a good mirrorlist for my area then run pacman -Syu and it works. Then if I run garuda-update which changes the mirrorlist with rate-mirrors the garuda-update errors are back and pacman -Syu throws the same errors. I then have to use reflector to fix the mirrorlist and only use pacman -Syu to update. Still seems broken to me. I can’t tell if it’s a mirror or rate-mirrors or what.

1 Like

Ok, after doing remote fullfix, it updated some stuff like kernel, but in the end gave me some error too, so i redid garuda-update but skipping mirror list and it worked, didn’t need to put your mirror again, now i can do simple a garuda-update -a without skipping list and is working as intended with default mirror.

Thanks everyone

Edit: Doing a final test here, with only garuda-update the problem remains, but using garuda-update -a there is no problem at all, the only problem now is unfortunetly i’m unable to complete the setup assistant, i hope there is nothing major i’m losing by not being able to complete it

1 Like

I did just complete the setup-assistant after getting the update done but now that you say you can’t I’m not sure why mine worked. I had used reflector and then used pacman to update before completing the setup assistant.

1 Like

Yeah was tinkering a little more here, german mirror didn’t work and i managed to fix it

I added all the countries nearest to mine and also selected the checkbox include http mirrors on the Garuda assistant / Refresh Mirrorlist.

Now it’s working and i completed the setup

Its just a mirror problem!

Search in forum.

It’s solved, nobody wrote that you must do a garuda-update after a skip mirrorlist if the update fails. reflector has a problem with one mirror, so just wait until they remove the bug or use the fix I posted.

3 Likes

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