pacman
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
tool:software:pacman [2020/06/30 06:49] – created - moved stuff over from the arch page rjt | pacman [2022/07/20 16:58] – archlinux-keyring rjt | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Pacman** is the package management tool that comes with [[arch_linux]]. | **Pacman** is the package management tool that comes with [[arch_linux]]. | ||
- | It is very important to change the progress bar to look like [[person:Pacman]] eating dots. You do this by editing ''/ | + | It is very important to change the progress bar to look like Pacman eating dots. You do this by editing ''/ |
===== Usage ===== | ===== Usage ===== | ||
+ | I'll leave out the basics like '' | ||
- | ===== Fixes ===== | + | '' |
- | ==== AUR ==== | + | '' |
- | === .SRCINFO and PKGBUILD mismatch === | + | |
- | Errors like | + | '' |
- | :: [package name] package(s) failed | + | '' |
- | :: ensure package version does not mismatch between .SRCINFO and PKGBUILD | + | |
- | :: ensure package name has a VCS suffix if this is a devel package | + | |
- | Are are [[pacaur]] problem, and can get gotten round by installing manually, or by using another helper | + | '' |
- | [[Trizen]] and [[YAY]] seem to be the helpers | + | I also have an alias for my helper, so I type '' |
+ | |||
+ | ===== Tips ===== | ||
+ | |||
+ | ==== Maintenance ==== | ||
+ | === .pacnew === | ||
+ | |||
+ | There are tools to manage '' | ||
+ | |||
+ | I just use [[vim# | ||
+ | |||
+ | You can get a nice list of '' | ||
+ | |||
+ | === Freeing Space === | ||
+ | |||
+ | To clear Pacman' | ||
+ | |||
+ | You can use Paccache (in [[arch> | ||
+ | |||
+ | To find orphan packages '' | ||
==== Converting Packages ==== | ==== Converting Packages ==== | ||
Line 32: | Line 49: | ||
- '' | - '' | ||
- | * [[git> | + | * [[github> |
* [[aur> | * [[aur> | ||
Line 40: | Line 57: | ||
=== RPM === | === RPM === | ||
- | ==== Free Space ==== | + | ==== Speeding Up Package Building |
- | To clear Pacman' | + | * [[archw> |
+ | * [[archw> | ||
+ | * [[archw> | ||
- | To find orphan packages | + | ===== Fixes ===== |
+ | |||
+ | ==== Keys ==== | ||
+ | |||
+ | If you get errors about keys (and things like files being corrupt), try updating | ||
+ | |||
+ | ==== AUR ==== | ||
+ | === .SRCINFO and PKGBUILD mismatch === | ||
+ | |||
+ | Errors like | ||
+ | |||
+ | :: [package name] package(s) failed to install. | ||
+ | :: ensure package version does not mismatch between .SRCINFO and PKGBUILD | ||
+ | :: ensure package name has a VCS suffix if this is a devel package | ||
+ | |||
+ | Are a [[pacaur]] problem, and can get gotten round by installing manually, or by using another helper | ||
+ | |||
+ | [[trizen]] and [[yay]] seem to be the helpers to go for now. | ||
==== Missing Files in Pacman Database ==== | ==== Missing Files in Pacman Database ==== | ||
+ | |||
Just ran into a little problem where a disk error took out a bit of my pacman database. | Just ran into a little problem where a disk error took out a bit of my pacman database. | ||
Line 52: | Line 89: | ||
Thanks to [[https:// | Thanks to [[https:// | ||
- | ==== Speeding Up Package Building | + | ==== Broken Pacman After Partial Upgrade |
- | * [[archw> | + | |
- | * [[archw> | + | When doing a partial upgrade to get my keyring in order before a proper upgrade I mistakenly upgraded pacman too. This ca'us an error where the version of glibc that pacman needed was out of whack with the one I had installed, so pacman would not work at all. |
- | * [[archw> | + | |
+ | To fix this I downloaded a //static// version of pacman and ran a fresh '' | ||
+ | |||
+ | See: https:// | ||
===== See Also ===== | ===== See Also ===== | ||
- | {{tag> | + | * [[arch_linux]] |
+ | |||
+ | {{tag> | ||
pacman.txt · Last modified: 2022/08/17 14:59 by rjt