[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in Pkg Update

From: Thomas D. Dean
Subject: Re: Error in Pkg Update
Date: Mon, 30 Jan 2017 13:08:22 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 01/30/2017 12:51 PM, Juan Pablo Carbajal wrote:
On Mon, Jan 30, 2017 at 9:32 PM, Thomas D. Dean <address@hidden> wrote:
Looking at get_forge_pkg.m, line 72, it appears that setdiff(name,n) is
called and n is not defined.

The 'else' clause at lines 70 thru 74 is meant to handle the situation where
name is not known to forge.  This should provide a hint for cases like

    pkg -forge install symbolicz

and should ask if you meant symbolic.

I do not have a complete fix, but, the regexp at line 66 should read

t=regexp (html, "<h3 class=""package_name"" id=""(\\w+)"">", "tokens");

due to changes in  Trying to pick
apart a web page to provide a hint is not reliable since the maintainer of
the web page can not know where is may be parsed.

Since n is not defined at line 72, I don't know what was intended.

Any ideas?

Help-octave mailing list

We are trying to pump some effort on pkg this year, would you report
this to the traker, if you haven't done that yet?
Definitely update is something to improve considerably.
Maybe that line was trying to remove package names that weren't in the
online list.

I just updated to the latest hg.  The symptoms have changed.

Now, I get a proper message indicating the problem. I get a warning that contains the name of the package octave was attempting to update.

Thanks to all for the fixes.

Sorry for the noise.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]