Skip to main content
104 votes

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
77 votes

zshrc export GPG_TTY=$(tty) says not a tty

tty command requires that stdin is attached to a terminal. When using Powerlevel10k, stdin is redirected from /dev/null when Instant Prompt is activated and until Zsh is fully initialized. This is ...
Roman Perepelitsa's user avatar
76 votes

bluetooth.service running, but bluetoothctl says "org.bluez.Error.NotReady"

I got the same problem. It turned that the @turf answer didn't work for me. After I checked rfkill: $ rfkill list 0: hci0: Bluetooth Soft blocked: yes Hard blocked: no 1: phy0: ...
Rafael Toledo's user avatar
74 votes

unknown public key 8F0871F202119294 on Arch Linux

gpg --recv-keys 8F0871F202119294 (AUR) the missing key needs to be added to your USER keyring I did not need to trust the key for makepkg to finish the build. ~/.gnupg/gpg.conf also needed: ...
Stuart Cardall's user avatar
74 votes

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
70 votes

bluetooth.service running, but bluetoothctl says "org.bluez.Error.NotReady"

Okay, wow, turns out all I had to do was run bluetoothctl power on
turf's user avatar
  • 1,451
69 votes

Sound via HDMI on Arch Linux

With pavucontrol (GUI) Turns out, I had to switch the profile of "Built-in Audio" to HDMI. I can do that with pavucontrol, install it with pacman -S pavucontrol. Now, sound works perfectly ...
Matthias Braun's user avatar
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

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
63 votes

"No such file or directory" when generating a gpg key

Did you delete the /home/me123/.gnupg directory and then it was recreated by gpg? If so, that's likely what is confusing the agent. Either restart the agent (gpgconf --kill gpg-agent) or, more ...
tupiniquim's user avatar
59 votes

Installing a .deb package on Arch - Is it possible?

Possible? Yes, but different methods exist on basis of use case. Assumption: The debian package doesn't have an equivalent package in the Arch (or Arch based Distribution's) official repository. ...
ToxicMender's user avatar
55 votes

Why am I getting "Cannot connect to the Docker daemon" when the daemon is running?

This question has already been answered, but here's an additional piece of information. No matter if you're on Arch or another distribution like Fedora or Ubuntu, Docker uses a socket file to ...
basic6's user avatar
  • 6,315
52 votes

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

It seems that NetworkManager automatically reuses an existing connection. In case your existing connection does not have any secrets stored, the new connection attempt will not update the existing ...
falstaff's user avatar
  • 723
51 votes

Accidentally ran sudo rm /* on my Arch Linux installation

Arch Linux has four symbolic links in /: bin -> usr/bin lib -> usr/lib lib64 -> usr/lib sbin -> usr/bin You should be able to recreate them (using a Live-USB or an emergency shell) or by ...
stefan0xC's user avatar
  • 1,548
50 votes

Updated my arch linux server and now I get tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968

The same exact thing happened to me. Building on what Thomas said above, I was able to fix it by uncommenting en_US.UTF-8 UTF-8 in my /etc/locale.gen file (previously none of the lines had been ...
Hitechcomputergeek's user avatar
46 votes

How to disable auto suspend when I close laptop lid?

You can use this to temporarily disable lid-switch events: systemd-inhibit --what=handle-lid-switch sleep 1d
user3467349's user avatar
46 votes

How to switch arch linux to lts kernel?

Okay, after joe pointed me the right direction in comments, this is how I did it: basicly just install pacman -S linux-lts (optional) check if kernel, ramdisk and fallback are available in ls -lsha /...
q9f's user avatar
  • 2,348
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
43 votes

Installing HP printer driver for Arch Linux

With system-config-printer Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB: Install CUPS: sudo pacman -S cups Start and ...
Matthias Braun's user avatar
42 votes

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
39 votes

Check battery status Arch Linux installation ISO

The kernel provides this information through /sys/class/power_supply/BAT0/capacity Simply cat this path to get the information (in percent of your batteries capacity): cat /sys/class/power_supply/BAT0/...
zzeroo's user avatar
  • 566
39 votes

Group permissions for root not working in /tmp

The behavior you are showing seems to depend on the fs.protected_regular Linux kernel parameter, introduced along with fs.protected_fifos by this commit (converged in version 4.19, I believe), with ...
fra-san's user avatar
  • 10.3k
39 votes

ping displays "Name or service not known"

Although I've never had problem with my other x86_64 PC all running Arch Linux, this frequently happens till date with Arch Linux ARM when running NetworkManager. The problem is like you are connected ...
15 Volts's user avatar
  • 2,099
36 votes

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 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
31 votes

What's the difference between pkg, pkg-bin and pkg-git on the AUR?

Normal packages are built from stable versions or stable git tags of a repository. The program is compiled in user's machine and then installed. This will take time. Packages with -bin suffix are ...
Biswapriyo's user avatar
31 votes

GREP + REGEX not working as I expect

The reason it isn't matching is because you are looking for whitespace (\s) before the string tty and at the end of your match. That never happens here since ls will print one entry per line. Note ...
terdon's user avatar
  • 244k
30 votes

how to fix missing

i also ran into this on arch. The solution for me was to also install openssl-1.1 which provides The upgrade may have also broke pacman for you; if so, you will have to download the ...
skwerlman's user avatar
  • 401
29 votes

Failed to request VPN secrets #3

In my case (In Debian 9 by Gnome 3.2) selecting the password option "Store the password for all users" in the VPN settings got it working. All other options produce the mentioned error.
shgnInc's user avatar
  • 738
28 votes

Installing certificates on arch

Use the trust command provided by the p11-kit package: sudo trust anchor --store ~/my-ca-cert.crt
404 Not Found's user avatar

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