- increase font size in terminal
- check the shell (it's bash)
- add an alias (
alias d="ls -al"
) - edit
/etc/pacman.conf
, and add this line:ParallelDownloads = 20
- edit mirror lists in
/etc/pacman.d
- try to update the packages:
yay
- remove Java:
yay -R jdk-openjdk jre-openjdk
- try again:
yay
- remove the package calamares:
yay -R calamares
- try again:
yay
- If we get an error like this: "error: linux-api-headers: signature from "Frederik Schwan [email protected]" is unknown trust :: File /var/cache/pacman/pkg/linux-api-headers-6.4-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n]" Then:
$ sudo pacman -S archlinux-keyring
$ sudo pacman -Syu
- remove some packages:
yay -R python-uvicorn theharvester
- retry:
yay
- remove a package:
yay -R python-mitmproxy-wireguard
- clean up:
yay -Scc
- reboot
- try
yay
again. You may get an error like this: "error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) [email protected]" is unknown trust error: failed to synchronize all databases (invalid or corrupted database (PGP signature))"
Solution: https://www.blackarch.org/faq.html -> Why do I get invalid keyring signature? -> 2nd option:
$ curl -O https://blackarch.org/strap.sh
$ chmod u+x strap.sh
# sha1sum strap.sh: it should match with the information on [downloads](https://blackarch.org/downloads.html)
$ sudo strap.sh
- run
yay
again - reboot
- try again:
yay
- optional: install some programs that were removed
yay -S jdk17-openjdk
archlinux-java status
sudo archlinux-java set java-17-openjdk
---
yay -S theharvester
yay -Scc
This file belongs to this video: A BlackArch Linux telepítése (in Hungarian).