Blackarch Repo Broken

System:
Kernel: 6.2.13-zen-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=bbed6c7e-53e3-47c6-897a-b4006be20cd2 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20Q8S0EL1L v: ThinkPad L590
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20Q8S0EL1L v: SDK0J40697 WIN
serial: <superuser required> UEFI: LENOVO v: R0ZET55W (1.33 )
date: 05/24/2023
Battery:
ID-1: BAT0 charge: 24.1 Wh (61.6%) condition: 39.1/45.7 Wh (85.5%)
power: 10.1 W volts: 11.0 min: 11.1 model: Celxpert 5B10W138 type: Li-poly
serial: <filter> status: discharging cycles: 101
CPU:
Info: model: Intel Core i5-8365U bits: 64 type: MT MCP
arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xC (12) microcode: 0xF8
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: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 1133 high: 1900 min/max: 400/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 671 2: 700 3: 1900 4: 600
5: 1900 6: 700 7: 700 8: 1900 bogomips: 30399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities: <filter>
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Lenovo
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:3ea0 class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: AU Optronics 0x61ed built: 2016 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
GT2) device-ID: 8086:3ea0 memory: 15.03 GiB unified: yes
API: Vulkan v: 1.3.269 layers: 3 device: 0 type: integrated-gpu name: Intel
UHD Graphics 620 (WHL GT2) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:3ea0 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
API: ALSA v: k6.2.13-zen-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.0 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 Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bd class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2526 class-ID: 0280
IF: wlp5s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3
chip-ID: 8087:0025 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
Local Storage: total: 223.57 GiB used: 8.29 GiB (3.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Intenso model: SSD Sata III
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 7B0 scheme: GPT
Partition:
ID-1: / raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 8.29 GiB (3.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 8.29 GiB (3.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 8.29 GiB (3.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 223.27 GiB size: 223.27 GiB (100.00%)
used: 8.29 GiB (3.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.39 GiB used: 512 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 54.0 C pch: 48.0 C mobo: N/A
Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
Processes: 259 Uptime: 31m wakeups: 0 Memory: total: 16 GiB
available: 15.39 GiB used: 3.44 GiB (22.3%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1213 libs: 359 tools: octopi,paru Shell: fish v: 3.6.2
default: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
Garuda (2.6.19-2):
System install date:     2023-12-10
Last full system update: 2023-12-10 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

It seems like the Blackarch repo is currently broken because of GNUPG 2.4 deprecating SHA256 Signed keys if i understood the Github thread correctly

Now i have the issue of not being able to update my repositories at all because of this error:

: Synchronizing package databases...
garuda                                 97,4 KiB   231 KiB/s 00:00 [------------------------------------] 100%
core                                  129,1 KiB   150 KiB/s 00:01 [------------------------------------] 100%
extra                                   8,3 MiB   783 KiB/s 00:11 [------------------------------------] 100%
community                              45,0   B  89,0   B/s 00:01 [------------------------------------] 100%
multilib                              139,6 KiB   104 KiB/s 00:01 [------------------------------------] 100%
chaotic-aur                             2,7 MiB  4,01 MiB/s 00:01 [------------------------------------] 100%
blackarch                               4,0 MiB  1096 KiB/s 00:04 [------------------------------------] 100%
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
[!] WARNING: Synchronizing pacman has failed. Please try manually: pacman -Syy
[+] BlackArch Linux is ready!
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

Failed to fix blackarch

error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust

And trying to downgrade Gnupg gives me another error related to blackarch:

sudo downgrade 'gnupg=2.2.41-2'
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
:: Retrieving packages...
gnupg-2.2.41-2-x86_64                   2,4 MiB  1201 KiB/s 00:02 [------------------------------------] 100%
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))
loading packages...
warning: downgrading package gnupg (2.4.3-2 => 2.2.41-2)
error: failed to prepare transaction (invalid or corrupted database)

Is there a workaround for now?

Comment out the repo in /etc/pacman.conf and proceed with updating everything else is probably one way to go about it.

7 Likes

GNUPG 2.4 deprecating SHA256 Signed keys if i understood the Github thread

can you link the thread please?

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