Package information management |
Get a dump of the whole system information |
|
Prints, Saves or similar the current state of the package management system. Preferred output is text or XML. One version of rug dumps information as a sqlite database.
(Note: Why either-or here? No tool offers the option to choose the output format.) | |
rug dump apt-cache stats
smart stats
|
|
Show full info for package(s) |
|
Show all or most information about a package.
The tools' verbosity for the default command vary. But with options, the tools are on par with each other. | |
rug info apt-cache showpkg
apt-cache show
smart info
yum list or info
|
zypper info |
Search package (Fulltext) |
|
Search for package(s) by searching the expression in name, description, short description.
What exact fields are being searched by default varies in each tool. Mostly options bring tools on par. | |
rug search apt-cache search
smart search
yum search
|
zypper search |
Show available updates |
|
Lists packages which have an update available.
Note: Some provide special commands to limit the output to certain installation sources, others use options. | |
rug list-updates apt-get upgrade -> n
yum list updates
yum check-update
rug summary
|
zypper list-updates zypper patch-check (just for patches)
|
Show all available packages |
|
Display a list of all packages in all installation sources that are handled by the packages management.
Some tools provide options or additional commands to limit the output to a specific installation source. | |
rug packages apt-cache dumpavail
apt-cache dump (Cache only)
apt-cache pkgnames
|
IN PROGRESS |
Show package(s) which provide X |
|
Displays packages which provide the given exp. aka reverse provides.
Mainly a shortcut to search a specific field. Other tools might offer this functionality through the search command. | |
rug what-provides yum whatprovides
yum provides
apt (dpkg | grep)
|
IN PROGRESS |
Show package(s) which require X |
|
Display packages which require X to be installed, aka show reverse dependencies.
rug's what-requires can operate on more than just package names. | |
rug what-requires apt-cache rdepends
yum resolvedep
|
IN PROGRESS |
Show conflicts of package X |
|
Display packages which conflict with given expression (often package).
Search can be used as well to mimic this function. rug's what-conflicts function operates on more than just package names | |
rug info-conflicts smart check
rug what-conflicts
|
IN PROGRESS |
List package's requirements |
|
List all packages which are required for the given package, aka show dependencies. | |
rug info-requirements apt-cache depends
yum deplist
|
IN PROGRESS |
List package's provides |
|
List what the current package provides | |
rug info-provides yum provides
|
IN PROGRESS |
List files within package |
|
List the files that the package holds.
Again, this functionality can be mimicked by other more complex commands. | |
rug* file-list yum provides
|
IN PROGRESS |
Get package which contains file |
|
Search all packages to find the one which holds the specified file.
auto-apt is using this functionality. | |
rug* package-file rug what-provides
apt-file
yum provides
yum whatprovides
|
IN PROGRESS |
List all obsoletes of package |
|
Display all packages that the specified packages obsoletes. | |
rug info-obsoletes yum list obsoletes
apt-cache | grep
|
IN PROGRESS |
Verify system dependencies |
|
Verify dependencies of the complete system. Used if installation process was forcefully killed. | |
rug verify apt-get check ?
apt-cache unmet
smart check
yum deplist
rug* dangling-requires
|
|
List installed packages |
|
Generates a list of installed packages | |
apt-cache --installed yum list installed
|
|
List installed local packages |
|
List packages that are installed but are not available in any installation source (anymore). | |
yum list extras |
|
List recently added packages |
|
List packages that were recently added to one of the installation sources, i.e. which are new to it.
Note: Synaptic has this functionality, however apt doesn't seem to be the provider. | |
yum list recent |
|
Search log history |
|
Show a log of actions taken by the software management. | |
rug history |
|
Clean the local caches |
|
Clean up all local caches. Options might limit what is actually cleaned.
Autoclean removes only unneeded, obsolete information. | |
apt-cache clean smart clean
yum clean
apt-cache autoclean
|
|
Add package to package cache |
|
Add a local package to the local package cache mostly for debugging purposes. | |
apt-cache add |
|
Display source package |
|
Display the source package to the given package name(s) | |
apt-cache showsrc |
|
Generate dotty output |
|
Generates an output suitable for processing with dotty for the given package(s). | |
apt-cache dotty |
|
Set priority of given package |
|
Set the priority of the given package to avoid upgrade, force downgrade or to overwrite any default behavior. Can also be used to prefer a package version from a certain installation source. | |
smart priority --set /etc/apt/preferences
|
|
Remove priority |
|
Remove a previously set priority | |
smart priority --remove /etc/apt/preferences
|
|
Show all priorities |
|
Show a list of set priorities. | |
smart priority --show apt-cache policy
/etc/apt/preferences
|
|
Ignore priority problems |
|
Ignores problems that priorities may trigger. | |
smart priority --force |
|