Tag: package managers

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

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

Is it safe to remove configuration files left over from removed packages? (SOLVED)

What does the package status “[residual-config]” mean? When searching the package repository using the apt utility, you may encounter programs that have a status like this instead of “installed” or not installed. [residual-config] See also: How to check if a package is installed on Linux Mint There can be quite a lot of such files. This raises the question: is...
Loading...
X