Tag: pacman

How to install a package of a certain version in Arch Linux. How to roll back a package to a previous version

Contents Is it possible to roll back a package version in Arch Linux Local Arch Linux package cache Arch Linux packages of previous versions online How to install an Arch Linux package from a local file How to roll back the NVIDIA video driver version in Arch Linux How to roll back the kernel version in Arch Linux How to...

Error: failed retrieving file 'community.db' (SOLVED)

Starting from March 2025, during a normal system update, for example, using the following command: sudo pacman -Syu The error may appear: error: failed retrieving file 'community.db' from mirror.cyberbits.asia : The requested URL returned error: 404 In fact, the error is not critical and you can continue the update. However, let's figure out why this error occurs and how to...

How to install (or remove) packages using a regular expression in pacman

How to install packages with a wildcard (or a regular expression) in pacman If you try to use wildcards in the pacman command to install multiple packages at once, you won't be able to do it. For example, I want to install all packages whose names start with “kodi-addon-” with one command. Let's try to do this with the following...

How to install and use pikaur and makepkg on a server

How to run pikaur as root For more information on pikaur, see the article: Automatic installation and update of AUR packages The makepkg utility and (sometimes) pikaur do not work when run as root. This is not usually a problem for most users, but I have encountered a situation where on a headless server where there is only one user...

Error: failed to commit transaction (conflicting files) (SOLVED)

When performing updates on Arch Linux and derivative distributions (Manjaro, BlackArch), several checks are performed before directly installing new versions of packages: checking if all necessary dependencies are present checking if there are conflicting packages The previous two checks are performed before the installation files are downloaded. Immediately after downloading the installation files (but, of course, even before installing them),...

Error “error: failed to commit transaction (invalid or corrupted package)” (SOLVED)

When using pacman while updating packages, for example sudo pacman -Syu An error may occur: error: binutils: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/binutils-2.39-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] If you choose the proposed option – remove an invalid or damaged package – then the update...

Error “error: GPGME error: No data. error: failed to synchronize all databases (unexpected error)” (SOLVED)

When updating the package cache with the pacman package manager, for example, when running the following command to update package information and update the system: sudo pacman -Syu An error may occur: error: GPGME error: No data :: Synchronizing package databases... core 155.5 KiB 444 KiB/s 00:00 [######################] 100% extra is up to date community is up to date multilib...

error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) " is invalid (SOLVED)

When trying to update Arch Linux with BlackArch repositories with the command sudo pacman -Syu an error occurred: error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is invalid The error message says that the signature of one of the BlackArch developers is not valid. Method #1 To solve this error, just delete the /var/lib/pacman/sync/blackarch.db.sig file: sudo rm /var/lib/pacman/sync/blackarch.db.sig...

How to download a package without installation in Arch Linux and Manjaro. How to download the AUR package source code

How to download a package with pacman (from standard repositories) To download a package without installing it, use the -w option: sudo pacman -Sw PACKAGE By default, the package will be downloaded to pacman's package cache directory, with the --cachedir option you can specify any other directory to save the package to: sudo pacman -Sw --cachedir DIRECTORY PACKAGE For example,...

“Error: failed to commit transaction (invalid or corrupted package)” (SOLVED)

When updating or installing packages in Arch Linux, Manjaro and their derivatives, you may encounter the “error: failed to commit transaction (invalid or corrupted package). Errors occurred, no packages were upgraded.” issue. Full error log: :: Retrieving packages... libinih-55-2-x86_64 15.4 KiB 385 KiB/s 00:00 [############################################] 100% (40/40) checking keys in keyring [############################################] 100% (40/40) checking package integrity [############################################] 100% error:...
Loading...
X