[tex-live] listing failed

Maxwell, Adam R adam.maxwell at pnl.gov
Wed Aug 26 19:47:09 CEST 2009


On 08/26/09 10:02, "Norbert Preining" <preining at logic.at> wrote:

> On Mi, 26 Aug 2009, Maxwell, Adam R wrote:

>> This is set in the Mac OS preference database, so is private to TLU.  It is
>> used as the argument to --location for listing updates, but the actual host
>> is always used for update/install as follows:
> 
> You could keep the Mac OS preference database free of that, and

To be more specific, it's a specific Mac OS preference database owned by
TLU, so no other app (or even the OS) cares what I put in it :).

> save the current value into the tlpdb using
> tlmgr option repository .....

True, but that would require root privileges just to set a preference, which
is not typical behavior.

> After that the --repository (or --location) parameter is not necessary
> at all.

I have to keep my workaround for the multiplexer to ensure that the mirror
used for listing is also used for update/install, so I can't get rid of the
explicit --location.
 
> That also has the advantage that if some adventerous user uses tlmgr on
> the command line like
> tlmgr search --global foobar
> it still will find the right thing, while now it would try something lile
> /users/koch/... or what is saved in the tlpdb.

That is more compelling.  I'll have to think about it a bit further; I might
at least offer the option to save the location to the tlpdb.  I try to avoid
dialogs and options as much as possible, though...hmmm.

Reading the location from the tlpdb would limit my flexibility too much, so
I don't want to do that (besides which, the output of `tlmgr option` is not
necessarily machine readable).

thanks,
Adam



More information about the tex-live mailing list