Personal tools
     DOCUMENTATION

Conary:QuickReference

From rPath Wiki

(Redirected from Path Woods)
Jump to: navigation, search
Conary --> Conary Quick Reference

This page provides a quick reference for Conary commands used by system administrators for day-to-day maintenance for Conary-based systems. rPath recommends using rPath Appliance Platform Agent for appliance administration when it is available, and the commands shown here can be used on desktop distributions or appliances when command line access is necessary.
NOTE: You can print this page through your browsers' file menu which should contain a "print" menu entry.

 Get information about installed and available software
 conary query

$> conary query example
$> conary q example --info
$> conary q example --lsl
$> conary q --path /etc/example.cfg

Query installed software for information about its components and update path
Read more
 conary repquery

$> conary repquery | more
$> conary rq example --info
$> conary rq --install-label contrib.rpath.org@rpl:1

Query software available for installation from Conary repositories
Read more
 conary verify

$> conary verify --all
$> conary verify example:runtime

Verify whether changes have been made to installed files
Read more
 conary config

$> conary config
$> conary config | grep installLabelPath

Display Conary configuration details in the current scope
Read more
 Update and roll back software and the entire system
 conary update

#> conary update example=conary.rpath.com@rpl:1
#> conary update group-example
#> conary update changeset.ccs

Install and update software from a Conary repository, including updating to an earlier version
Read more
 conary updateall

#> conary updateall
#> conary updateall --resolve
#> conary updateall --apply-critical

Update the top-level groups and any additional troves not under those groups. --apply-critical installs only critical updates needed by Conary itself.
Read more
 conary migrate

#> conary migrate group-top-level
#> conary migrate group-top-level=newlabel.rpath.org@corp:newlabel-2

Migrate all Conary-managed components to a target version of a top-level group, including removing components that are not managed in the target version, and yet keeping configuration files and unmanaged files intact by default. Pass options to override some default behaviors with regards to removing unmanaged and managed files.
Read more
 conary remove

#> conary remove /usr/share/example/example.doc

Remove a file from the system and from Conary management, ensuring it is not reinstalled during Conary updates of the package or group containing it
Read more
 conary erase

#> conary erase example

Uninstall software (package or group)
Read more
 conary rollback

#> conary rollback 1
#> conary rollback r.675

Roll back a system to a prior state, before one or more conary update commands
Read more
 conary rblist

#> conary rblist | more

List the available rollback operations and the update operations that would be reversed during each rollback
Read more
 Update the kernel
 conary pin

#> conary pin example
#> conary pin kernel=2.6.17.11-1-0.1

Pin an installed trove (typically a component, package, or group) to prevent it from being modified or removed during a conary udpate or conary erase; kernels are pinned by default
Read more
 conary unpin

#> conary unpin example
#> conary unpin kernel=2.6.17.11-1-0.1

Unpin an installed trove (typically a component, package, or group) to allow it to be modified by conary udpate or conary erase
Read more
 Work with Changeset Files
 conary showcs

$> conary showcs example-1.0.ccs
$> conary scs example-2.1.ccs --lsl

Show the contents of a changeset created by Conary and used to install, modify, or remove software on a Conary-based system; contents include what files will be added, changed, or removed when the changeset is applied with conary update
Read more