Personal tools
     DOCUMENTATION

FAQ:Managed and Umanaged Files in Conary

From rPath Wiki

Jump to: navigation, search
FAQ
Question: What is the difference between Managed and Unmanaged files in Conary?


Answer: A managed file is one that conary knows about, i.e., it's part of a trove installed on your system. An unmanaged file is one that conary does not know about. This is a file that is not a part of a trove installed on your system.

To find out if a file is managed:

conary q --path /path/to/some/file

if this command returns a trove name, then it's a managed file. By default conary will not replace an unmanaged file during an update, unless you have specified --replace-unmanaged-files in your update command.

If you have a file that you would like to be initially included in a trove but not part of subsequent updates, use the following syntax inside your recipe:

r.InitialContents('/path/to/file')