ubuntu-14.04

error Installing topicmodels in R Ubuntu

时光总嘲笑我的痴心妄想 提交于 2019-12-04 05:45:12
I am getting error while installing topicmodels package in R . on running install.packages("topicmodels",dependencies=TRUE) following are the last few lines I am getting. Please help. My R version is 3.1.3 . g++ -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c utilities.cpp -o utilities.o gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c utils.c -o

How do I install Node and NPM so I don't have to use sudo?

二次信任 提交于 2019-12-04 04:51:51
I am trying to set up Node.js and NPM on a Ubuntu 14.04 machine but am having some trouble. On my first try I kept getting EACCES errors when trying to install packages(sometimes even with sudo ), so I completely uninstalled node and npm. Now I'm trying to figure out how to install them in a way that won't require me to run everything sudo and won't give me EACCES errors. I'd rather not use NVM, and other than that I've just found a bunch of scattered partial answers, some of which contradict each other, or just use slightly different syntax. I'd really appreciate some help with this. I've

Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr) [closed]

筅森魡賤 提交于 2019-12-04 04:48:23
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . While running the update at Ubuntu 14.04 LTS (Trusty Tahr). The following error is being encountered: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://us.archive.ubuntu.com

Error when running OpenMPI based library

本秂侑毒 提交于 2019-12-04 04:36:07
问题 I have install openmpi library from the standard apt-get install available in Ubuntu. I run a python code which call MPI libraries. I get the following error. Any ideas whatis the source of error? Is it an OpenMPI configuration error? How to fix this? [thebigbang:17162] mca: base: component_find: unable to open /usr/lib/openmpi/lib/openmpi/mca_paffinity_hwloc: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored) [thebigbang:17162] mca: base: component_find:

Download resources from private CKAN datasets

谁说胖子不能爱 提交于 2019-12-04 04:22:24
问题 My aim is to download files which are held as resources within private datasets using (a) the CKAN API, or (b) the CKANAPI CLI, or (c) paster (if (c) is possible). I have attempted downloading the files using (a) unsuccessfully. For example using the resource URL and urllib2 or requests the file is downloaded but it is either corrupted ( .zip) or the CKAN login page is stored within the file ( .xls). I have tried using (b) too unsuccessfully. For example using the following code: ckanapi dump

mysqladmin: connect to server at 'localhost' failed

余生颓废 提交于 2019-12-04 03:09:43
Today (2015-05-02) I upgraded my Linux system via apt-get update and apt-get upgrade whereas mysql, mysqladmin and a lot more packages have been updated. The mysql-server-5.5 runs and I can login and do all the typical database operations but when I type: user@ubuntu:~# mysqladmin proc I get the following error: mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' Formerly I could solve this issue by simple setting the mysql root password new. This does not solve the issue anymore: user@ubuntu:~# sudo dpkg-reconfigure mysql

Why does apache2 module http2 not exist on Ubuntu 16.04?

六月ゝ 毕业季﹏ 提交于 2019-12-04 02:40:48
I'd like to install htt2_module. After a fresh installation of Ubuntu 14.04 following the steps listed in this link , I have tried to enable the http2_module just running sudo a2enmod http2 but I get: Module http2 does not exist! the apache version installed is:Apache/2.4.7 ,then as a workaround I tried with this link adding the following repository sudo add-apt-repository ppa:ondrej/apache2 after refreshing with sudo apt-get update, and running again the command to install/enable the http2 I get the same error. Module http2 does not exist. Actually, http2 module is supported on apache 2.4.17

ckan local installation, 500 error on solr JSP support not configured

我是研究僧i 提交于 2019-12-04 01:59:20
I am trying to install CKAN on my local computer using Ubuntu 14.04 LTS. I followed the instructions for installing from source found here and I try to check if solr is running by visiting http://localhost:8983/solr/ . I can see that Jetty is running because when I visit http://localhost:8983 I see that it is up. I added the jdk as follows: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64 I am getting a 500 error when i try to open the solr page: HTTP ERROR 500 Problem accessing /solr/index.jsp. Reason: JSP support not configured Powered by Jetty:// Any ideas? Should I redo the whole thing from

nodejs application - mongodb connection fails with error “ECONNREFUSED”

天大地大妈咪最大 提交于 2019-12-04 01:16:57
Background Information I'm playing around with my first nodejs test app that is attempting to connect to a remote mongodb. Problem: The connection is failing with the following message: admin@testdev:~/Documents/nodejs_tests$ sudo nodejs index.js Server has started. Request for / received About to route a request for: / inside db connect method Request for /favicon.ico received About to route a request for: /favicon.ico inside db connect method MongoError: connect ECONNREFUSED null MongoError: connect ECONNREFUSED null Here's the logic to connect: function connect_nimble() { console.log(

vagrant : Failed to mount folders in Linux guest, “vboxsf” file system is not available?

我怕爱的太早我们不能终老 提交于 2019-12-04 00:55:42
问题 I have VirtualBox 4.3.10 and Vagrant 1.4.3 installed on my Ubuntu 14.04 64 bit Desktop. Earlier, worked with vagrant technology but this time, multiple issue. Let me describe what I have done clone private git to local system /opt/lampp/htdocs/{project} : done root@desktop:/opt/lampp/htdocs/{project}$ vagrant up gives message on terminal while execution GuestAdditions versions on your host (4.3.10) and guest (4.2.0) do not match. command completed with below message Failed to mount folders in