Personal tools
     DOCUMENTATION

FAQ:Switch Labels on Installed Packages and Groups

From rPath Wiki

Jump to: navigation, search
FAQ
Question: How do I install software from a different label than the current one?


Answer: You can install software packages (troves) with Conary by specifying the label explicitly. For example, gnome-audio is installed from rpl:1:

[you@yourhost ~]$conary q gnome-audio --full-versions
 gnome-audio=/conary.rpath.com@rpl:devel//1/2.0.0-5-0.1[~!builddocs]

The above may resemble an rpl:devel version if you aren't looking carefully, but it's really a shadow from rpl:devel into rpl:1, and is the official rpl:1 version.

Now, to get a newer version from rpl:devel, you can use a command like this:

[root@yourhost ~]#conary update gnome-audio=conary.rpath.com@rpl:devel
 Applying update job:
     Update  gnome-audio(:data :doc) (/conary.rpath.com@rpl:devel//1/2.0.0-5-0.1[~!builddocs] -> /conary.rpath.com@rpl:devel/2.0.0-6-1[~!builddocs])

You can also abbreviate, specifying only the part of the label that is different:

# conary update gnome-audio=:devel
Applying update job:
    Update  gnome-audio(:data :doc) (/conary.rpath.com@rpl:devel//1/2.0.0-5-0.1[~!builddocs] -> /conary.rpath.com@rpl:devel/2.0.0-6-1[~!builddocs])