pacman
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pacman [2020/10/26 11:43] – ↷ Links adapted because of a move operation rjt | pacman [2024/09/15 19:54] (current) – [Maintenance] 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 '' | + | I'll leave out the basics like '' |
- | -S [group name]-{[name1], | + | '' |
'' | '' | ||
Line 18: | Line 18: | ||
'' | '' | ||
- | |||
I also have an alias for my helper, so I type '' | I also have an alias for my helper, so I type '' | ||
+ | ===== Tips ===== | ||
- | ===== Fixes ===== | + | ==== Maintenance |
+ | === .pacnew | ||
- | ==== AUR ==== | + | There are tools to manage '' |
- | === .SRCINFO and PKGBUILD mismatch === | + | |
- | Errors like | + | * [[https:// |
- | :: [package name] package(s) failed | + | I just use [[vim# |
- | :: ensure package version does not mismatch | + | |
- | :: ensure package name has a VCS suffix if this is a devel package | + | |
- | Are are [[tool: | + | You can get a nice list of '' |
- | [[tool: | + | === Freeing Space === |
+ | |||
+ | To clear Pacman' | ||
+ | |||
+ | You can use Paccache (in [[arch> | ||
+ | |||
+ | To find orphan packages '' | ||
==== Converting Packages ==== | ==== Converting Packages ==== | ||
Line 47: | Line 51: | ||
- '' | - '' | ||
- | * [[git> | + | * [[github> |
* [[aur> | * [[aur> | ||
Line 55: | Line 59: | ||
=== 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 | ||
+ | |||
+ | nbjp [[https:// | ||
+ | |||
+ | I was getting this error: '' | ||
+ | |||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | ==== 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 67: | Line 100: | ||
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.1603673033.txt.gz · Last modified: 2020/10/26 11:43 by rjt