[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg install -forge seems broken
From: |
Mike Miller |
Subject: |
Re: pkg install -forge seems broken |
Date: |
Thu, 19 Dec 2013 08:12:01 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
On Wed, 18 Dec 2013 22:50:19 +0000, Allen.Windhorn wrote:
> Philip,
>
>> -----Original Message-----
>> From: address@hidden [mailto:help-octave-
>>
>> Allen.Windhorn-2 wrote
>>> I'm trying to install a package from Octave-forge and I get the
>>> following message:
>>>
>>> octave:8> pkg install -forge java # Doesn't matter what package
>>> error: get_forge_pkg: could not read URL, please verify internet
>>> connection ...
> [...]
>
> I could try accessing other servers with sockets, but that's a bit
> outside my area of expertise.
If you look in the function listed in your error backtrace, you should
be able to spot the URLs to test easily.
Try the following in Octave:
[s, status] = urlread ("http://packages.octave.org/java/index.html");
or
[s, status] = urlread ("http://packages.octave.org/packages.php");
For each of those, is status 1 or 0? If 0 (false), try adding a third
return value to see what the error message from urlread is, e.g.
[s, status, msg] = urlread (...);
--
mike