So basically when I try to install anything on pamac GUI it gives a popup that says invalid or corrupted database and when I try to use pacman on terminal it gives me the following
sudo pacman -S lutris INT ✘
[sudo] password for kanye_east:
error: GPGME error: No data
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
As you are creating a new thread, but this specific error is covered both in the wiki, and dozens of forum posts … does that you mean you have tried the fixes noted in those places and they do not work?
Hello. According to the instructions from the wiki, I start having problems with the mkdir -pv $HOME/.cache/pkg/ && sudo pacman -Syw archlinux-keyring manjaro-keyring --cache dir $HOME/.cache/pkg/ command:
mkdir: создан каталог '/home/dng/.cache/pkg/'
:: Обновление баз данных пакетов...
core 164,6 KiB 935 KiB/s 00:00 [################################] 100%
extra 1848,4 KiB 6,54 MiB/s 00:00 [################################] 100%
community 7,4 MiB 5,81 MiB/s 00:01 [################################] 100%
multilib 175,6 KiB 3,99 MiB/s 00:00 [################################] 100%
разрешение зависимостей...
ошибка: не удалось открыть файл /var/lib/pacman/local/vim-runtime-9.0.0354-1/desc: Нет такого файла или каталога
Пакеты (2) archlinux-keyring-20220927-1 manjaro-keyring-20220514-2
Будет загружено: 1,11 MiB
:: Приступить к загрузке? [Y/n] y
:: Получение пакетов...
archlinux-keyring-20220927... 1136,1 KiB 4,62 MiB/s 00:00 [################################] 100%
(2/2) проверка ключей [################################] 100%
загрузка необходимых ключей...
:: Import PGP key 6D42BDD116E0068F, "Christian Hesse <eworm@archlinux.org>"? [Y/n] y
:: Import PGP key 150C200743ED46D8, "Mark Wagie <mark@manjaro.org>"? [Y/n] y
(2/2) проверка целостности пакета [################################] 100%
ошибка: archlinux-keyring: signature from "Christian Hesse <eworm@archlinux.org>" is unknown trust
:: Файл /home/dng/.cache/pkg/archlinux-keyring-20220927-1-any.pkg.tar.zst поврежден (неверный или поврежденный пакет(PGP-подпись)).
Хотите его удалить? [Y/n] n
ошибка: manjaro-keyring: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: Файл /var/cache/pacman/pkg/manjaro-keyring-20220514-2-any.pkg.tar.zst поврежден (неверный или поврежденный пакет(PGP-подпись)).
Хотите его удалить? [Y/n] n
ошибка: не удалось завершить транзакцию (неверный или поврежденный пакет(PGP-подпись))
Обнаружены ошибки, пакеты не обновлены.
That is totally normal… ignore that. Important is that the packages are downloaded at $HOME/.cache/pkg/. After installing the downloaded packages manually, it should work again
Внимание: Сборка пакетов от имени динамического пользователя
Внимание: Выбор каталога сборки /var/cache/pamac
Подготовка...
Синхронизация баз данных пакетов...
не удалось заблокировать базу данных
Не удалось синхронизировать базы данных
Нет заданий.
Транзакция успешно завершена.
It still doesn’t translate the output completely (LANG=C pamac update):
Preparing...
Синхронизация баз данных пакетов...
не удалось заблокировать базу данных
Не удалось синхронизировать базы данных
Refreshing AUR...
Nothing to do.
Transaction successfully finished.