trying to use vagrant to install an opencog VM on debian 9

44 views
Skip to first unread message

Charles Derr

unread,
Sep 11, 2017, 10:59:25 AM9/11/17
to opencog
Greetings all,
    I attempted to follow the instructions at http://wiki.opencog.org/w/Building_OpenCog for "Linux Setup" which seem pretty straightforward.  I got virtualbox, git and vagrant installed without any trouble, but when I tried to run "vagrant up" (from the opencog/lib directory) I got an error about SSH negotiation failing, so I followed the instructions in the error message to disable ssh-agent (I used "ssh-agent -k") and also moved my .ssh/id_rsa out of the way.  Trying 'vagrant up' again got me:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty32' is up to date...
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

And then when I try "vagrant provision" I still get an error:

ni@quark:~/opencog/lib$ vagrant provision
==> default: Running provisioner: shell...
An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this                                                          
library are caused by ssh-agent issues. Try disabling your SSH      
agent or removing some keys and try again.                                                                                                                             
If the problem persists, please report a bug to the net-ssh project.                                                                                                   
timeout during server version negotiating    


Any suggestions for what I can try next?

     thanks so very much in advance for any ideas,
             ~c

Linas Vepstas

unread,
Sep 11, 2017, 11:13:09 AM9/11/17
to opencog
Hi Charles,

I know nothing about vagrant, maybe someone else does. ... that error message sounds generic, though, like it has nothing at all to do with opencog; its some vagrant issue. Google might know more.

 But if you are already running debian natively, you can install opencog natively, without bothering with vagrant.  If you feel that this is untidy/messy, you can also try docker or lxc ... both work fine. 

--linas

--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/468f97e6-f7c1-4bf5-9959-4dd0e809f640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
"The problem is not that artificial intelligence will get too smart and take over the world," computer scientist Pedro Domingos writes, "the problem is that it's too stupid and already has."

charlie derr

unread,
Sep 11, 2017, 12:15:00 PM9/11/17
to ope...@googlegroups.com
Thanks much for the quick reply Linas.

On 09/11/2017 11:12 AM, Linas Vepstas wrote:
> Hi Charles,
>
> I know nothing about vagrant, maybe someone else does. ... that error
> message sounds generic, though, like it has nothing at all to do with
> opencog; its some vagrant issue. Google might know more.

Appreciate the advice (though I'm a bit sheepish that I didn't think of
this myself). I see that this error is quite common, but I'm following
a couple threads trying different proposed fixes and maybe I'll get it.

>
> But if you are already running debian natively, you can install
> opencog natively, without bothering with vagrant.
>
I did attempt to use the repository set up by Masayuki Hatta (from an
August 16th post to this list) but the install failed due to an
unsatisfied dependency (perhaps Masayuki is running debian testing or
unstable and not stable like I am) The package holding things up is
liblink-grammar5 and when trying to install that, I get an error that it
depends on libhunspell-1.6-0 but that package is uninstallable.
>
> If you feel that this is untidy/messy, you can also try docker or
> lxc ... both work fine.

I haven't played with either of those (yet) but if I can't solve my
vagrant problem, perhaps I'll try.

>
>
> --linas

thanks again,
~c
> send an email to opencog+u...@googlegroups.com
> <mailto:opencog+u...@googlegroups.com>.
> To post to this group, send email to ope...@googlegroups.com
> <mailto:ope...@googlegroups.com>.
> <https://groups.google.com/group/opencog>.
> <https://groups.google.com/d/msgid/opencog/468f97e6-f7c1-4bf5-9959-4dd0e809f640%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
>
>
> --
> /"The problem is not that artificial intelligence will get too smart
> and take over the world," computer scientist Pedro Domingos writes,
> "the problem is that it's too stupid and already has." /
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "opencog" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/opencog/G86DzhLGRks/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> opencog+u...@googlegroups.com
> <mailto:opencog+u...@googlegroups.com>.
> To post to this group, send email to ope...@googlegroups.com
> <mailto:ope...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/opencog.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/opencog/CAHrUA34tON8PDmHPoZPij7giPLKsb7UNmVecjn9tRZznARrtDA%40mail.gmail.com
> <https://groups.google.com/d/msgid/opencog/CAHrUA34tON8PDmHPoZPij7giPLKsb7UNmVecjn9tRZznARrtDA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages