Tag: pacman

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:...

error: failed to synchronize all databases (unable to lock database) (SOLVED)

When trying to update Arch Linux or a distribution based on it (for example, Manjaro or BlackArch), an error “failed to synchronize all databases (unable to lock database)”" may occur. For example, when entering the command sudo pacman -Syu It can be output: :: Synchronizing package databases... error: failed to synchronize all databases (unable to lock database) This means that...

Error “cannot resolve dependency lib32 (32-bit library)” (SOLVED)

When installing a package on Arch Linux or a distro derived from it, for example, by running the following command: sudo pacman -S trid an error may occur stating that dependencies could not be resolved. The name of this dependency can contain the number “32” or the string “lib32”, that is, it is a 32-bit package, for example: resolving dependencies......

Error “ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (owned by ruby)” (SOLVED)

Whenever operating system packages are updated (as well as when new packages are installed), in addition to checking dependencies, package managers also check that there is no file conflict. That is, a package containing files that are already on disk and do not belong to this package will not be updated or installed. During a regular system update (Arch Linux,...

pacman error “warning: failed to retrieve some files” (SOLVED)

This article focuses on errors that occur due to problems with the mirror list. pacman error “The requested URL returned error: 404” There is a cache for the package manager to work - this cache contains information about existing packages for installation, their versions and download links. To update (or download for the first time) this cache, you need to...
Loading...
X