91 votes
Accepted

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

No, pacman doesn't remove old packages from your cache (/var/cache/pacman/pkg) so, over time, it can fill up. You can adopt two approaches to clearing the cache: the brute force one with pacman -Sc: ...
user avatar
69 votes

unknown public key 8F0871F202119294 on Arch Linux

gpg --recv-keys 8F0871F202119294 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: keyserver-...
user avatar
66 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 ...
user avatar
  • 776
60 votes
Accepted

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 ...
user avatar
60 votes
Accepted

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

Okay, wow, turns out all I had to do was run bluetoothctl power on
user avatar
  • 1,211
59 votes
Accepted

How do I disable the touch screen on my laptop?

Besides uninstalling the appropriate drivers (which might fail to work since some devices act as usual mouse devices and only need specific drivers for more sophisticated features and your list of ...
user avatar
58 votes
Accepted

List that contains the last installed / upgraded packages in Arch Linux

To get a list of last installed packages, you can run: grep -i installed /var/log/pacman.log Example output of last installed packages: [2015-08-24 15:32] [ALPM] warning: /etc/pamac.conf installed ...
user avatar
  • 1,633
57 votes
Accepted

What is the basic difference between Arch and Gentoo Linux?

Yes, the distros are of similar, with both being set to satisfy more experienced users, and both aim to be fast and highly customizable. The most technical similarity is that both are based upon the ...
user avatar
55 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    ...
user avatar
55 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: ...
user avatar
52 votes

Arch Linux terminal not starting

I had the same issue after a fresh install of arch. I checked, double checked and triple checked the locale.gen and even removed every locale except en_US.UTF-8. I was just about to give up when I ...
user avatar
  • 521
52 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 ...
user avatar
51 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 ...
user avatar
  • 5,645
50 votes
Accepted

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 ...
user avatar
47 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. ...
user avatar
47 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 : ...
user avatar
47 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 ...
user avatar
  • 1,371
46 votes

How to bind USB device under a static name?

The rule syntax above may work on some distributions, but did not work on mine (Raspbian). Since I never found a single document that explains all the ins and outs, I wrote my own, to be found here. ...
user avatar
  • 737
44 votes

How can I easily make screenshots of screen regions on Arch Linux with i3 WM?

You can use import, part of ImageMagick. Capture a region This will change your cursor into a crosshair and when you click and drag to form a box, that box will be saved as ss.png. import ss.png ...
user avatar
  • 14.2k
43 votes
Accepted

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 /...
user avatar
  • 2,198
43 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 ...
user avatar
  • 7,637
42 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
user avatar
39 votes
Accepted

Printing problem with ArchLinux and CUPS service

As of cups v. 2.0.0 the service name has been changed . You'll have to disable the old service: systemctl disable cups.service before enabling and starting the new one: systemctl enable org.cups....
38 votes
Accepted

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

You need to add yourself to the docker group and activate the group (by logging out and in again or running newgrp docker) to run docker commands. The error message is simply misleading.
user avatar
  • 47.1k
37 votes

Where are my sshd logs?

A better way to see the last part of the log is: journalctl -u sshd -n 100 Using tail on the output of journalctl can be very slow. It took 5 minutes on a machine where I tried it, while the above ...
user avatar
  • 472
37 votes
Accepted

How to stop gnome from muting my music?

The problem lies in a PulseAudio module called module-role-cork which exists to pause music and video during phone calls. All applications are given a media-role property which can be either music ...
user avatar
  • 4,245
37 votes

How to disable beep tone in xfce when the delete button is pressed?

To disable the bell for all X applications: xset b off
user avatar
  • 5,451
36 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 ...
user avatar
  • 563
35 votes

Arch Linux terminal not starting

Sounds like you messed up your /etc/locale.gen file. If you are english/US, comment out any of the other entries in that file, UNLESS YOU NEED THEM. They are for other languages. If you are ...
user avatar
  • 351
34 votes

pacman "exists on filesystem" error

Ok, it looks like running sudo pacman -S --force <package-name> works, but it doesn't resolve conflicting directories. In such cases, running sudo rm -rf on the conflicting directories, followed ...
user avatar
  • 2,827

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