BlackArch Wiki

Troubleshooting

JDK/JRE 21 changes conflicts during package updates

Following a recent change (2023-11-02) from Arch Linux regarding JDK/JRE packages. You may run into dependency conflicts when updating your BlackArch Linux system and will require manual intervention.

Example of a conflict that may occur during a system update:

:: removing jre-openjdk breaks the dependency 'jre-openjdk' required by mobsf
:: removing jre-openjdk breaks the dependency 'jre-openjdk' required by tls-attacker

If you have installed BlackArch Linux using one of the current ISOs (dated 2023-04-01 or 2023-05-01) or earlier, you will need to execute the following command to address the JDK/JRE conflicts:

pacman -Rns mobsf tls-attacker jre-openjdk jdk-openjdk
pacman -Syyu
sysclean.sh
pacman -S blackarch --needed

GNUPG 2.4.3-2 broken in Arch Linux and BlackArch Linux

After GNUPG updated to version 2.4 in Arch Linux with major upstream changes, there are issues with the blackarch-keyring being corrupted. This prevents you from running the strap.sh script, installing BlackArch packages. The team is working on fixing the keyring.

There is one option to temporarily resolve the issue.

Option 1

Add missing key:

echo "F9A6E68A711354D84A9B91637533BAFE69A25079:4:" >> /usr/share/pacman/keyrings/blackarch-trusted
pacman-key --populate

Update the system to verify:

pacman -Syu