Conary:User Tips and Tricks
From rPath Wiki
The following are useful examples of user procedures performed with the conary command and shell utilities.
| Example lines beginning with # denote a command-line requiring root user permissions. Lines prepended with $ do not require any special user permissions |
For examples requiring a repository reference, a listing of Public Conary Repositories is available.
List all troves in a specific configured repository
$ conary rq --install-label conary.rpath.com@rpl:devel
List all troves in a non-configured repository
$ conary --config "[[Conary:repository Map|repository Map]] foresight.rpath.org http://foresight.rpath.org/conary/" --install-label foresight.rpath.org@fl:desktop rq
Install a shadowed trove (Simple method)
# conary update mailman=contrib.rpath.org@rpl:noprivate
Install a shadowed trove (Full Label Method)
# conary update mailman=/conary.rpath.com@rpl:devel//contrib.rpath.org@rpl:noprivate
Install a specific version of a trove
# conary update zlib=1.2.2-2-1
List all components of an installed package
$ conary q zlib=
Figure out which trove installed a given file
$ conary q --path /etc/httpd/conf/httpd.conf
Figure out which repository a package was installed from
$ conary q --full-versions zlib
Find all locally cooked troves installed on a system
$ conary q --full-versions | grep local@local
Verify that a cooked changeset is a redirect
$ conary scs --all locally-cooked.ccs
