apt-get

E: Unable to locate package mongodb-org

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to download mongodb and I am following the steps on this link . But when I get to the step: sudo apt-get install -y mongodb-org I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mongodb-org //This is the error Why is this occurring and is there a work around? 回答1: I faced same issue but fix it by the changing the package file section command. The whole step that i followed was: At first try with this command: sudo apt-get install -y

last version of NodeJS install by apt-get

匿名 (未验证) 提交于 2019-12-03 01:19:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Debian Linux (Debian Stable, UBUNTU LTS, etc.) and others use apt-get as good and reliable installer tool. I need to use only apt-get ... The problem is that I do the simple sudo apt-get install nodejs but as result I have nodejs --version (or node --version ) 0.10.41 (!) It is not the today's most updated stable Node.JS version , 5.2.0 I also try node -p process.versions.v8 that results in 3.14.5.9 so, also is very less than 5.2 . NOTES I am using UBUNTU 14 LTS.... And try a workaround but not works, sudo apt-get remove --purge nodejs sudo

Fatal error: Call to undefined function mcrypt_encrypt()

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: NOTE: The libraries MCrypt support depend on have not been updated in years and MCrypt should no longer be considered a viable or secure method of encrypting data. What's more, MCrypt has been deprecated in PHP 5, and removed entirely in PHP 7. If you have any code that runs MCrypt you should refactor it to use a more modern encryption library. Does anyone know why this error message: (Call to undefined function mcrypt_encrypt() ) displays when I run the following code below? Am I missing some steps perhaps any setting in PHP I have to do

How to correct virtualbox installation [closed]

我们两清 提交于 2019-12-03 01:17:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Here is how the error output is if I run virtualbox from the terminal. How to correct it? I am on a Ubuntu 12.10 64bit machine. virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-ose-dkms package and the appropriate headers, most likely linux-headers-generic. You

fatal error: Python.h: No such file or directory

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to build a shared library using a C extension file but first I have to generate the output file using the command below: gcc -Wall utilsmodule.c -o Utilc After executing the command, I get this error message: utilsmodule.c:1:20: fatal error: Python.h: No such file or directory compilation terminated. in fact I have tried all the suggested solutions over the internet but the problem still exists ... also I have no problem with Python.h . I managed to locate the file on my machine ... anybody has faced the same problem before?? 回答1

Ruby RVM apt-get update error

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I get following error when trying to install anything with RVM: Searching for binary rubies, this might take some time. Found remote file https://rvm.io/binaries/ubuntu/13.04/x86_64/ruby-2.1.1.tar.bz2 Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system..kshitiz password required for 'apt-get --quiet --yes update': ............................ Error running 'requirements_debian_update_system ruby-2.1.1', showing last 15 lines of /home/kshitiz/.rvm/log/1400047196_ruby-2.1.1/update_system.log ++ /scripts

Error while installing json gem 'mkmf.rb can't find header files for ruby'

匿名 (未验证) 提交于 2019-12-03 01:12:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For context, it on a remote server which has a firewall. I'm setting up my environment through a proxy. I have ruby 1.8.7 . When I try to gem install.. sudo gem install --http-proxy : json I get the following error: Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/json-1.8.1 for inspection. Results logged to

What version of MongoDB is installed on Ubuntu

匿名 (未验证) 提交于 2019-12-03 01:11:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi I'm a bit of a shell n00b. Can anyone tell me how I would check the version of MongoDB that is installed on my Linux Ubuntu machine? I see that my MongoDB shell version: 1.2.2 so Im pretty sure that MongoDB itself is out dated too. And does anyone know of any 'How to update MongoDB' docs? I find mongodb.org to be a bit confusing. Please and thank you. Ok if I use db.version() inside of mongo shell it says 1.2.2 If I $ mongod --version I get this: db version v1.2.2, pdfile version 4.5 Wed Oct 16 10:28:22 git version: nogitversion I ran

What version of MongoDB is installed on Ubuntu

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi I'm a bit of a shell n00b. Can anyone tell me how I would check the version of MongoDB that is installed on my Linux Ubuntu machine? I see that my MongoDB shell version: 1.2.2 so Im pretty sure that MongoDB itself is out dated too. And does anyone know of any 'How to update MongoDB' docs? I find mongodb.org to be a bit confusing. Please and thank you. Ok if I use db.version() inside of mongo shell it says 1.2.2 If I $ mongod --version I get this: db version v1.2.2, pdfile version 4.5 Wed Oct 16 10:28:22 git version: nogitversion I ran

Failed building wheel for spacy

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to install spacy by running pip install spacy for python version 3.6.1 but continuously i'm getting errors like below,how to get rid of this issue? previously i was having cl.exe not found error, after that i added visual studio path in environment variables where cl.exe exists. Failed building wheel for spacy Running setup.py clean for spacy Running setup.py bdist_wheel for murmurhash ... error Complete output from command c:\users\sh00428701\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;_