clarifications
This commit is contained in:
@@ -4,12 +4,6 @@ tags: [ "Documentation", "Distros" ]
|
||||
---
|
||||
# Overview
|
||||
|
||||
Forks include CentOS, scientific Linux, Oracle, and Fedora.
|
||||
|
||||
Major features: reliable, shit package selection.
|
||||
|
||||
# Basically yum
|
||||
|
||||
> yum search [package]
|
||||
|
||||
> yum list openssh
|
||||
@@ -20,5 +14,5 @@ Major features: reliable, shit package selection.
|
||||
|
||||
> yum update
|
||||
|
||||
yum remove [package1] [package2]
|
||||
> yum remove [package1] [package2]
|
||||
|
||||
|
@@ -10,7 +10,8 @@ Look for cowsay
|
||||
|
||||
> xbps-query -Rs cowsay
|
||||
|
||||
Upgrade current packages. -R looks at repositories, -s makes things sloppy.
|
||||
Upgrade current packages.
|
||||
`-R` looks at repositories, `-s` makes a sloppy search (for rough matches).
|
||||
|
||||
> xbps-install -Suv
|
||||
|
||||
@@ -30,16 +31,12 @@ Reconfigure all packages. Useful for breakages.
|
||||
|
||||
> xbps-pkgdb -a
|
||||
|
||||
Remove all dependencies.
|
||||
Remove all orphaned dependencies.
|
||||
|
||||
> xbps-remove -o
|
||||
|
||||
Show information about cowsay
|
||||
|
||||
> xbps-query -RS cowsay
|
||||
|
||||
Search for cows
|
||||
|
||||
> xbps-query -Rs cows
|
||||
|
||||
List packages requiring updates.
|
||||
@@ -58,7 +55,7 @@ Clean.
|
||||
|
||||
> xbps-remove -O
|
||||
|
||||
apt update
|
||||
Update list of available packages ('sync')
|
||||
|
||||
> xbps-install -S
|
||||
|
||||
@@ -66,10 +63,6 @@ Remove package information.
|
||||
|
||||
> xbps-query -R
|
||||
|
||||
Display all cowsay files
|
||||
|
||||
> xbps-query -Rf cowsay
|
||||
|
||||
Do I have cowsay installed?
|
||||
|
||||
> xbps-query -s cowsay
|
||||
@@ -80,10 +73,10 @@ What packages are pointless?
|
||||
|
||||
> xbps-install -Sn cowsay
|
||||
|
||||
A dry-run of installing cowsay, without actually intalling.
|
||||
|
||||
# Advanced
|
||||
|
||||
A dry-run of installing cowsay, without actually intalling.
|
||||
|
||||
> xbps-query -x cowsay
|
||||
|
||||
Show cowsay's dependencies. The -R flag's required for a remote package.
|
||||
@@ -106,14 +99,7 @@ Look for broken packages.
|
||||
|
||||
> sudo xbps-pkgdb -a
|
||||
|
||||
And if you've found any, you might try:
|
||||
And if you've found any, you might reconfigure all packages forcefully:
|
||||
|
||||
> sudo xbps-reconfigure -af
|
||||
|
||||
This reconfigures all packages forcefully.
|
||||
|
||||
If that doesn't help the issue, try to find the broken package and forcefully reinstall:
|
||||
|
||||
> xbps-query -s gnutls
|
||||
|
||||
> sudo xbps-install -f gnutls
|
||||
|
Reference in New Issue
Block a user