Personal tools
     DOCUMENTATION

Conary:conary migrate

From rPath Wiki

Jump to: navigation, search
Conary --> Conary Commands --> conary migrate
conary migrate
conary migrate [+/-]<pkgname>[=<version>]flavor*
Example> conary migrate group-dist-example=conary.rpath.com@rpl:2-devel


Definition

Migrate system to trovename so that when the migration is done, only the troves specified on this command line and their children are installed, and pinned troves are left behind.

In general, migrate only installs or updates troves that are defined as byDefault True in their group. However, there is one exception: if a trove is defined as byDefault False, but is installed on the current system, then it will be updated. For example, if the kernel package is byDefault False, and it is installed, then it will be updated to the new version of the kernel.

Migrate takes its information about the by default settings from the currently installed version of the group being migrated (often group-os or group-dist).

   This command is only useful in situations where a group defines exactly what you wish to update your system to. It will erase everything installed on your system that is not specified to be migrated to. For this reason, this command must be run with --interactive.