On Thu, Nov 18, 2010 at 04:03:56PM -0500, Michael K. Johnson wrote:
> When you run the "conary updateall" command, all trove reference that
> include a version (not just a label) will update to the latest version.

Three giant steps forward, one tiny step back.

It turns out that after these changes, "conary updateall" would
attempt to refresh locally-cooked packages as well as packages
from the repository.  This doesn't work very well: If you run
"conary updateall" and have any local packages in your model,
you will get the following:

    <class 'conary.repository.errors.OpenError'>:
    Error: Tried to access repository on reserved host name "local" -- this
    host is reserved for troves compiled/created locally, and cannot be queried.

I opened the issue https://issues.rpath.com/browse/CNY-3554 to reference
this problem, which I have now fixed.

I have built conary 2.2.alpha_513a0217e7cb-1-1 on fl:2-devel with the
fix for this issue.  I am building new groups on fl:2-devel with the
fixed conary, as well.

If you encounter this issue, the easiest solution is to edit your
/etc/conary/system-model file and change all references to local
troves to use "==" intead of "=".  For instance, change

    update foo=/lo...@local:COOK/1-1-1

to

    update foo==/lo...@local:COOK/1-1-1

After this, the "conary updateall" command will work.  After that
updateall to the new conary, you may reverse that change in order
to test that the fix is effective, but otherwise there is no need
to reverse the change.
_______________________________________________
Foresight-devel mailing list
Foresight-devel@lists.rpath.org
http://lists.rpath.org/mailman/listinfo/foresight-devel

Reply via email to