Tag: package managers

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

How to simulate package installation on Linux (How to create and install a dummy package)

Sometimes, when installing packages from source code, you may encounter the problem that the required dependency is missing from the system. Usually you need to solve this problem by installing the necessary dependencies from the standard repository, or by compiling them from source. Sometimes the required package is present, but its version is not suitable, a similar example and solution...

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

Warning: apt-key is deprecated (SOLVED)

The apt-key command manages keys that are responsible for verifying the signature of application package repositories. Now, whenever you use the apt-key command, you will receive the message: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). It means that the apt-key program is now deprecated. Now we should use trusted.gpg.d to manage keyfiles. Translated into human...

How to find out which package contains a file

How to find out which package a file is in Sometimes the name of the required utility does not coincide with the name of the package - this is especially the case when one package contains several programs. As a result, a problem arises - to find a package in which the required executable file or header file is present...

How to view package information in Arch Linux (BlackArch, Manjaro)

For each package in the system, you can find out such information as: version number, description, developer site, dependencies, recommended dependencies, packages with which there is a conflict, size, etc. The commands described in this post work the same in Arch Linux, as well as all distributions based on it, such as BlackArch, Manjaro and others. If you are interested...

How to completely uninstall a package along with dependencies on Arch Linux (as well as BlackArch and Manjaro)

This tutorial uses pacman as the package management (uninstallation) program, but you can also use pikaur or yay instead, since the options discussed are the same for all these package managers. Related: Automatic installation and update of AUR packages A typical command to uninstall a program that will remove all package files: sudo pacman -R PACKAGE Indeed it will remove...
Loading...
X