Blackarch SSL Issue - "failed retrieving file 'blackarch.db'"

Hiya All,
I recently switched and am loving this distro.
I'm running Garuda KDE Dragonized with BlackArch repositories enabled

Mirror Issue

Updating shows an SSL error against the default selected blackarch mirror.
e.g. when running yay -Sy:

:: Synchronising package databases...
garuda is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur                             2.3 MiB  7.13 MiB/s 00:00 [------------------------------------] 100%
blackarch is up to date
error: failed retrieving file 'blackarch.db' from ftp.halifax.rwth-aachen.de : SSL certificate problem: unableto get local issuer certificate

Notes

  • IPv6 is enabled for my setup, however testing with IPv6 disabled still produces the same error
  • The mirror worked until a couple of days ago.
  • Visiting the mirror in browser shows a valid SSL cert.
  • Testing on a fresh install produced the same error when enabling the blckarch mirrors via setup assistant.
  • The Refresh mirrors tool in Garuda Assistant doesn't choose a working mirror for BlackArch.
  • The issue may be geographically dependent for the choice of fastest mirror

Workaround

I tweaked /etc/pacman.d/blackarch-mirrorlist to disable the mirror, and it now picks one with a working configuration.

garuda-inxi Output:

System:
Kernel: 5.19.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=219e1b8b-78de-4396-b5a3-7f5f6f5b5079 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 nvidia_drm.modeset=1
Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MPG Z390M GAMING EDGE AC (MS-7B50)
v: 1.0 serial: <superuser required> UEFI: American Megatrends v: 1.C1
date: 12/17/2020
CPU:
Info: model: Intel Core i7-9700K bits: 64 type: MCP arch: Coffee Lake
gen: core 9 level: v3 built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF0
Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
desc: 1x12 MiB
Speed (MHz): avg: 4787 high: 4799 min/max: 800/4900:5000 scaling:
driver: intel_pstate governor: performance cores: 1: 4753 2: 4797 3: 4791
4: 4799 5: 4799 6: 4791 7: 4781 8: 4790 bogomips: 57600
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
Type: retbleed mitigation: Enhanced IBRS
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: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: Micro-Star MSI
driver: nvidia v: 515.76 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-08) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
ports: active: none off: DP-1,DP-3 empty: DP-2,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:1e81 class-ID: 0300
Device-2: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.3.4:14 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 4480x1440 s-dpi: 81 s-size: 1405x457mm (55.31x17.99")
s-diag: 1477mm (58.17")
Monitor-1: DP-1 note: disabled pos: bottom-r model: Asus VP278
serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
Monitor-2: DP-3 mapped: DP-4 note: disabled pos: primary,top-left
model: MSI MAG321CURV serial: <filter> built: 2019 res: 2560x1440 hz: 60
dpi: 93 gamma: 1.2 size: 700x390mm (27.56x15.35") diag: 801mm (31.5")
ratio: 16:9 modes: max: 3840x2160 min: 640x480
OpenGL: renderer: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA
515.76 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI
driver: snd_hda_intel bus-ID: 1-1.3.1.3:15 v: kernel chip-ID: 1038:1297
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
class-ID: 0300 chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA TU104 HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f8 class-ID: 0403
Device-3: SteelSeries ApS Arctis Pro Wireless type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.3.4:14 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.19.11-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 1-14:9 chip-ID: 8087:0aaa class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 4.99 TiB used: 178.2 GiB (3.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus
500GB size: 465.76 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 2B2QEXM7
temp: 36.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Samsung model: SSD 970 EVO Plus
500GB size: 465.76 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 2B2QEXM7
temp: 42.9 C
ID-3: /dev/sda maj-min: 8:0 vendor: OCZ model: TRION100 size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 11.2 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: OCZ model: TRION100 size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 11.2 scheme: GPT
ID-5: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: Portable
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B type: N/A
serial: <filter> rev: 9300 scheme: GPT
Partition:
ID-1: / raw-size: 465.46 GiB size: 931.23 GiB (200.06%) used: 178.2 GiB
(19.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
(0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2
ID-3: /home raw-size: 465.46 GiB size: 931.23 GiB (200.06%) used: 178.2
GiB (19.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-4: /var/log raw-size: 465.46 GiB size: 931.23 GiB (200.06%) used: 178.2
GiB (19.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-5: /var/tmp raw-size: 465.46 GiB size: 931.23 GiB (200.06%) used: 178.2
GiB (19.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.29 GiB used: 2 MiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 48.0 C pch: 52.0 C mobo: N/A gpu: nvidia
temp: 41 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 26%
Info:
Processes: 346 Uptime: 2h 4m wakeups: 0 Memory: 31.29 GiB used: 10.9 GiB
(34.8%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1874 libs: 532
tools: octopi,pamac,paru Shell: fish v: 3.5.1 default: Zsh v: 5.9
running-in: konsole inxi: 3.3.21
Garuda (2.6.8-1):
System install date:     2022-09-24
Last full system update: 2022-09-29
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:
1 Like

Read this :wink:

and
:slight_smile:

3 Likes

just check your date and time with the following commands

timedatectl status