Tag: package managers

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),...

Updating packages: whether to update the config file

Consider a situation when the package manager of your Linux distribution (Debian, Linux Mint, Ubuntu, Kali Linux) asks about updating the configuration file – what to do and how to get the latest version of the configuration file? Let’s figure it out. With some updates of some packages, the structure of the configuration file changes. As a rule, the new...

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 “TypeError: 'AURPackageInfo' does not have attribute 'submitter'” (SOLVED)

pikaur is a utility for facilitating the installation and updating of programs from the AUR. You can read more about pikaur in the article “Automatic installation and update of AUR packages”. pikaur's options are similar to pacman, but you don't need to use sudo. For example, updating all packages is done with the following command: pikaur -Syu On my Arch...

dpkg: error: fgets gave an empty string from '/var/lib/dpkg/triggers/Unincorp' (SOLVED)

When trying to use the apt package manager, for example: sudo apt install linux-image-amd64 An error occurred: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. The error is caused by disk problems or package upgrade failure. When trying to use the recommended command: sudo dpkg --configure -a There was another error: dpkg:...

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...
Loading...
X