Skip to main content
104 votes
Accepted

pacman "exists on filesystem" error

After pacman finally deprecated the --force option and made the surrogate --overwrite option work as expected, the following usage pattern should be noted. A command to reproduce the --force option ...
nix's user avatar
  • 1,156
74 votes
Accepted

sudo pacman -Syu fails with "error: failed to commit transaction (invalid or corrupted package)"

The key error message in your output is :: File /var/cache/pacman/pkg/libtiff-4.1.0-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). That means that the package ...
Ned64's user avatar
  • 8,864
66 votes

Pacman option to assume "yes" to every question?

While the manpage on the matter is not very clear, the --noconfirm flag will not assume "yes" on every answer. It assumes the default answer which can be "no" sometimes. --noconfirm    ...
Drew Chapin's user avatar
66 votes
Accepted

Get info about installed and remote packages with pacman

Using --info Taking vi as an example, to get information about its locally installed package use pacman -Q --info vi This produces Name : vi Version : 1:070224-2 Description : ...
Matthias Braun's user avatar
45 votes

Arch Linux pacman error: failed retrieving file

Although this has been answered, I encountered the same issue. I resolved it by updating my databases while installing. For instance: sudo pacman -Syu elinks
Oppa's user avatar
  • 551
42 votes
Accepted

List all packages that depend on a certain package with pacman

To list the dependencies use pacman -Si (i.e., pacman --sync --info) or pacman -Qi (i.e., pacman --query --info). To list the reverse dependencies: pacman -Sii (i.e., pacman --sync --info --info; yes ...
GAD3R's user avatar
  • 67.2k
36 votes
Accepted

pacman: <filename> exists in filesystem

Check what package includes the filename: pacman -Qo filename If it is another package, then file a bug report: packages which have conflicting files should mark themselves as CONFLICTS causing ...
Tom Hale's user avatar
  • 31k
36 votes

How to deal with missing libcrypt.so.1 on Arch Linux?

I had the same issue and I fixed it by installing the libxcrypt-compat package, which is now available from the core repository.
pokoli's user avatar
  • 461
33 votes
Accepted

Pip vs Package Manager for handling Python Packages

The biggest disadvantage I see with using pip to install Python modules on your system, either as system modules or as user modules, is that your distribution’s package management system won’t know ...
Stephen Kitt's user avatar
32 votes

Error while loading shared libraries: libicuuc.so.59: cannot open shared object file: No such file or directory

Previously proposed solutions were not relevant or did not work for me. For some reason upgrading the icu package from 59.1-2 to 60.1-1 made linkage break and many programs (including pacman) failed ...
Legogris's user avatar
  • 421
27 votes

Recommended way of installing python packages on Arch

The right way for ArchLinux The right way to install PYTHON packages in ArchLinux is using PACMAN! To install packages to Python3 you have to use sudo pacman -S python-'package' If you want to ...
Emanuel Fontelles's user avatar
23 votes
Accepted

pacman - get list of packages installed by user

Arch Linux doesn't really have a set of default packages, though if you install from the guide you likely installed the base package group, and possibly base-devel. You can use comm to filter these (I'...
Fox's user avatar
  • 8,203
22 votes
Accepted

pacman option to search for packages that own a file

It is pacman -Qo <filename>. Example % pacman -Qo x86_64-pc-linux-gnu-pkg-config /usr/bin/x86_64-pc-linux-gnu-pkg-config is owned by pkgconf 1.6.3-1 From pacman(8): Query Options (apply to ...
mja's user avatar
  • 1,405
22 votes
Accepted

How to install Microsoft Teams via pacman for arch linux?

a) using makepg and install package Clone teams arch git repository (PKGBUILD) git clone https://aur.archlinux.org/teams.git . Build package using makepkg and install using -si option makepkg -si ...
Sma Ma's user avatar
  • 399
22 votes
Accepted

Could not find the Qt platform plugin "wayland"

vlc is a Qt 5 application. According to ArchWiki, to run any Qt application in wayland you need to install qt5-wayland or qt6-wayland and use the QT_QPA_PLATFORM=wayland environment variable to ...
Pooya's user avatar
  • 583
18 votes

List all packages that depend on a certain package with pacman

How can I list all installed packages that are depending on a certain other package For one level dependency use pacman -Qi package_name | grep 'Depends On' e.g: $ pacman -Qi jack | grep 'Depends ...
Munzir Taha's user avatar
  • 1,500
17 votes
Accepted

How to install skype on arch

You are correctly using the Skype AUR package. Please follow the makepkg path of installing AUR packages (please do not get used to things like yaourt if you care about the security of your machine). ...
grochmal's user avatar
  • 8,697
17 votes

pacman "exists on filesystem" error

The correct way to upgrade and overwrite conflicting packages is: sudo pacman --overwrite "*" -Syu
hLk's user avatar
  • 270
17 votes
Accepted

Why is pacman-key trying to download the public key for the Pacman Keyring Master Key?

This plus this seem to have worked: $ sudo rm -r /etc/pacman.d/gnupg $ sudo pacman-key --init $ sudo pacman-key --populate archlinux $ sudo pacman -S archlinux-keyring
l0b0's user avatar
  • 51.6k
15 votes

Pip vs Package Manager for handling Python Packages

TL;DR use pip (+ virtualenv) for stuff (libs, frameworks, maybe dev tools) your projects (that you develop) use use the package manager for applications you use (as an end-user) Development ...
das-g's user avatar
  • 439
13 votes

Arch Linux: Reinstall all broken packages after poweroff during system upgrade

Assuming your broken packages are reported as missing files, you can use Qk to check packages (from man pacman): -k, --check Check that all files owned by the given package(s) are present on the ...
terdon's user avatar
  • 244k
12 votes

how to install "adduser" on arch Linux?

There is no adduser command in Arch Linux. As the wiki makes clear, Arch uses useradd. And there is no need to install anything, as it is packaged as part of the [core] repository: pacman -Fs ...
jasonwryan's user avatar
  • 73.4k
12 votes
Accepted

yay error: gpg: keyserver receive failed: No name

It was solved by manually adding gpg key by this command: gpg --keyserver keyserver.ubuntu.com --recv-key <key name> and running installation again: yay -S spotify
Jan Černý's user avatar
  • 1,403
11 votes

How to delete old packages installed by pacman in Arch Linux?

I strongly suggest the use of paccache instead of pacman -Sc. There is even a very effective flag for removing selectively the versions of uninstalled packages -u. The flags of paccache I recommend ...
strpeter's user avatar
  • 221
11 votes
Accepted

How to search for a package with pacman?

The best way that I have found until now is to use the pkgfile command. You could install it by: # sudo pacman -S pkgfile according to the official arch wiki, pkgfile is a tool for searching files ...
pouya's user avatar
  • 126
11 votes

No mkinitcpio preset present

Had this recently. My solution was to chroot into the system from an Arch live system. Delete the empty linux.preset in /etc/mkinitcpio.d/ and then run pacman -S linux. This regenerated the linux....
MeisterGlanz's user avatar
11 votes
Accepted

During update for package nss/lib32-nss results in "File conflict found nss"

Using and upgrading the Arch Linux implies you keep tracking of upstream sources news. For this case in particular you find the correct info here.
Noeljunior's user avatar
10 votes
Accepted

Have pacmatic wrap yay wrap powerpill wrap pacman

In your (non-root) user's ~/.bashrc, add: alias pac=yay # For convenience # pacmatic needs to be run as root: https://github.com/keenerd/pacmatic/issues/35 alias pacmatic='sudo --preserve-env=...
Tom Hale's user avatar
  • 31k
10 votes
Accepted

Forcefully install package with pacman

You can skip dependency checks with -d or --nodeps or manually exclude specific packages from dependency checks with --assume-installed see man page under transaction options.
imbuedHope's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible