Pacman

From XennisWiki
Jump to: navigation, search

To facilitate regular package changes, pacman (abbreviated from "package manager") was developed by Judd Vinet to provide Arch with its own package manager able to track dependencies. (Wikipedia)

Usage

Install a package

pacman -S <package>

Search a package

pacman -Fy <package>

Tips

Log file

Pacmans log file: /var/log/pacman.log

Lock file

Pacmans lock file (database): /var/lib/pacman/db.lck

Mirrorlist

Pacmans mirrorlist file: /etc/pacman.d/mirrorlist

Allow x32 packages

Uncomment in the file /etc/pacman.conf:

[multilib]
Include = /etc/pacman.d/mirrorlist

Then upgrade the system.

Errors and problems

key could not be looked up remotely

Error message
downloading required keys...
error: key "CEB265EFB5722BD6" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Solution
pacman -S archlinux-keyring

See also

External links