pacman
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pacman [2020/11/09 16:50] – link fixes, tags rjt | pacman [2024/09/15 19:54] (current) – [Maintenance] rjt | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Usage ===== | ===== Usage ===== | ||
| - | I'll leave out the basics like '' | + | I'll leave out the basics like '' |
| '' | '' | ||
| 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 a [[pacaur]] problem, and can get gotten round by installing manually, or by using another helper | + | You can get a nice list of '' |
| - | [[trizen]] and [[yay]] seem to be the helpers to go for now. | + | === Freeing Space === |
| + | |||
| + | To clear Pacman' | ||
| + | |||
| + | You can use Paccache (in [[arch> | ||
| + | |||
| + | To find orphan packages '' | ||
| ==== Converting Packages ==== | ==== Converting Packages ==== | ||
| 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 ===== | ||
| + | |||
| + | * [[arch_linux]] | ||
| {{tag> | {{tag> | ||
pacman.1604901026.txt.gz · Last modified: 2020/11/09 16:50 by rjt
