ubuntu-13.04

Trying to remove git repo on ubuntu guest

*爱你&永不变心* 提交于 2020-08-21 12:27:29
问题 I am trying to remove whole git repository from my local machine, but git prohibits to delete several files. I've tried: rm -r folder It asked me do I want to delete some write-protected files? I've asked y . Following message appeared: rm: cannot remove ‘.git/objects/08/fa4fcd8413b84a1605e1c4866cb2493daf4c4e’: Operation not permitted rm: cannot remove ‘.git/objects/96/de4fe9aa42239290cae341427649f2afbdab16’: Operation not permitted rm: cannot remove ‘.git/objects/fd

Node is installed during provisioning on vagrant but disappears upon connecting to ssh

心已入冬 提交于 2019-12-13 17:53:06
问题 I am really getting sick of this and I don't know what is wrong. I am using Vagrant 1.7.2 , Ubuntu 13.04 , Virtual Box 4.3 12 r93733 My host machine is Windows 8.1 Here is my node bootstrap script found on my bootstrap.sh echo "--- Installing Node.js ---" curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bash source ~/.nvm/nvm.sh nvm install 0.12 nvm use 0.12 sudo cp ~/.nvm/versions/nodejs/v0.12/bin/node /bin/node echo "--- Install node app dependencies --" cd /var

Annoying Cursor in Eclipse Kepler

流过昼夜 提交于 2019-12-12 02:43:58
问题 I have eclipse kepler on Ubuntu 13.04 which has Dark Juno theme and solarized color theme for the editor. It didn't have any problem until recently wherein whenever I'm typing the typing cursor seems to have this black trail that goes with it and covers like 5-6 characters. It also occurs when I'm trying to go into lines of code using mouse or keyboard. It doesn't seem to be the smart insert mode which I've tried turning off and didn't have any effect. Sometimes the typing cursor becomes 2

Can't use uuid and create an extension to use it

淺唱寂寞╮ 提交于 2019-11-30 00:05:43
I want to use uuid in Postgresql 9.2 on Ubuntu 13. So when I tried to check whether is available or not, I did: select uuid_generate_v4() as one; And it gave me ERROR: function uuid_generate_v4() does not exist Then I did CREATE EXTENSION "uuid-ossp"; ERROR: could not open extension control file "/usr/share/postgresql/9.2/extension/uuid-ossp.control": No such file or directory Well, what do I do next? By the way, SELECT * FROM pg_available_extensions; returns plpsql (1.0) only. The operating system package that contains the extension is not installed. To install it: apt-get install postgresql

npm install not installing things at /usr/bin

余生长醉 提交于 2019-11-29 07:46:39
I am trying to install SailsJS with: $ sudo npm install -g sails It works, install everything at /home/brunoluiz/npm/lib/node_modules/sails with the following log: /home/brunoluiz/npm/bin/sails -> /home/brunoluiz/npm/lib/node_modules/sails/bin/sails.js sails@0.9.16 /home/brunoluiz/npm/lib/node_modules/sails ├── connect-flash@0.1.1 ├── pluralize@0.0.5 ├── inflection@1.2.5 ├── grunt-sails-linker@0.9.5 ├── grunt-contrib-clean@0.4.1 ├── node-uuid@1.4.0 ├── async@0.2.9 ├── grunt-contrib-concat@0.3.0 ├── grunt-contrib-copy@0.4.1 ├── grunt-contrib-coffee@0.7.0 ├── ejs-locals@1.0.2 ├── ejs@0.8.4 ├──

npm install not installing things at /usr/bin

时间秒杀一切 提交于 2019-11-28 01:44:48
问题 I am trying to install SailsJS with: $ sudo npm install -g sails It works, install everything at /home/brunoluiz/npm/lib/node_modules/sails with the following log: /home/brunoluiz/npm/bin/sails -> /home/brunoluiz/npm/lib/node_modules/sails/bin/sails.js sails@0.9.16 /home/brunoluiz/npm/lib/node_modules/sails ├── connect-flash@0.1.1 ├── pluralize@0.0.5 ├── inflection@1.2.5 ├── grunt-sails-linker@0.9.5 ├── grunt-contrib-clean@0.4.1 ├── node-uuid@1.4.0 ├── async@0.2.9 ├── grunt-contrib-concat@0.3

'Failed to unlink socket file\" error in MongoDB 3.0

孤者浪人 提交于 2019-11-27 06:57:05
I am new to MongoDB. I am trying to install MongoDb 3.0 on Ubuntu 13.0 LTS, which is a VM on Windows 7 Host. I have installed MongoDB successfully (packages etc.), but when I execute the command sudo service mongod start , I get the following error in the "/var/log/mongodb/mongod.log" log file. Can anyone help me understanding this error. There is nothing on internet related to this. 2015-04-23T00:12:00.876-0400 I CONTROL ***** SERVER RESTARTED ***** 2015-04-23T00:12:00.931-0400 E NETWORK [initandlisten] Failed to unlink socket file /tmp/mongodb-27017.soc k errno:1 Operation not permitted 2015

'Failed to unlink socket file" error in MongoDB 3.0

 ̄綄美尐妖づ 提交于 2019-11-26 17:37:08
问题 I am new to MongoDB. I am trying to install MongoDb 3.0 on Ubuntu 13.0 LTS, which is a VM on Windows 7 Host. I have installed MongoDB successfully (packages etc.), but when I execute the command sudo service mongod start , I get the following error in the "/var/log/mongodb/mongod.log" log file. Can anyone help me understanding this error. There is nothing on internet related to this. 2015-04-23T00:12:00.876-0400 I CONTROL ***** SERVER RESTARTED ***** 2015-04-23T00:12:00.931-0400 E NETWORK

Qt: can't find -lGL error

自作多情 提交于 2019-11-26 15:14:15
I just reinstalled QtCreator, created new project ( Qt Application ) an got this after compilation: /usr/bin/ld: **cannot find -lGL** collect2: error: ld returned 1 exit status make: *** [untitled1] Error 1 18:07:41: The process "/usr/bin/make" exited with code 2. Error while building/deploying project untitled1 (kit: Desktop Qt 5.1.0 GCC 32bit) When executing step 'Make' ( Project is empty, I did'n commit any changes ) Qt Creator 2.7.2 Based on Qt 5.1.0 (32 bit) Ubuntu 13.04 How do I solve this problem? Sayyed Hassan Amiri You should install package "libgl1-mesa-dev": sudo apt install libgl1

Qt: can't find -lGL error

我与影子孤独终老i 提交于 2019-11-26 05:57:42
问题 I just reinstalled QtCreator, created new project ( Qt Application ) an got this after compilation: /usr/bin/ld: **cannot find -lGL** collect2: error: ld returned 1 exit status make: *** [untitled1] Error 1 18:07:41: The process \"/usr/bin/make\" exited with code 2. Error while building/deploying project untitled1 (kit: Desktop Qt 5.1.0 GCC 32bit) When executing step \'Make\' ( Project is empty, I did\'n commit any changes ) Qt Creator 2.7.2 Based on Qt 5.1.0 (32 bit) Ubuntu 13.04 How do I