Find what package provides a file With pacman

While running an Ansible playbook on one of my servers from an Arch device, I encountered the following error: TASK [Gathering Facts] ***************************************************************************************************************************************************** [ERROR]: Task failed: Failed to connect to the host via ssh: ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory Host key verification failed. It looks like the /usr/lib/ssh/ssh-askpass file doesn’t exit. To find out what package the missing file comes from, we can use pacman -F or pacman --files....

October 11, 2025 · 2 min · 235 words · kenno

How to Update Packages on Arch Linux

Finally, I got Arch installed on my ThinkPad X220. This also means that I will need to learn how to install and update software from scratch again. But that’s the fun part, isn’t it? :) Like many other distros, before we can update the installed packages, we need to update the software database (i.e. updated list from the repositories): [root@tora ~]# pacman -Syy Note the above command is similar to apt-get update in Debian/Ubuntu....

December 7, 2019 · 1 min · 173 words · kenno