Questions tagged [ubuntu-12.04]

The previous LTS release of Ubuntu, code-named Precise Pangolin. Released on 26th April, 2012. You should only use this tag if your question is hardware or version-specific.

Precise Pangolin was released on 26 April, 2012 and is supported until April 2017.

Code name: Precise Pangolin

The previous stable and Long Term Support (LTS) release of Ubuntu. Unlike previous LTS versions, Canonical will provide support for five years due to popularity of LTS usage in businesses:

  • Two years of support will include hardware updates
  • Remaining three years will consist of maintenance upgrades.

Ubuntu Flavors available under 12.04 (questions on all are allowed):

The 12.04 Ubuntu variants - Mythbuntu, Ubuntu Studio, Xubuntu, Lubuntu - are not commercially supported by Canonical.

Ubuntu Editions available under 12.04 (questions on all are allowed):

2816 questions
39
votes
11 answers

ImportError: No module named datetime

When I upgrade my Ubuntu into 14.04 from 12.04, this time I get this error: ImportError: No module named datetime
akbsmile
  • 1,119
  • 2
  • 11
  • 15
37
votes
4 answers

Which Ruby version am I really running?

I'm running Ubuntu 12.04 LTS, and installed Ruby via RVM. The problem is, when I type ruby -v into the terminal, it says that my Ruby version is 1.8.7, and using the shotgun gem for Sinatra also says that I'm running Ruby 1.8.7. But when I type rvm…
Ordep81
  • 967
  • 4
  • 13
  • 18
37
votes
1 answer

cannot locate .npmrc file after installing nodejs and npm on ubuntu 12.04

I just followed a tutorial to install nodejs and npm on my ubuntu 12.04. https://gist.github.com/dwayne/2983873 now after installing both are working fine. I checked them by node -v npm -v They seem to give me desired result. My question is I am…
v09
  • 840
  • 2
  • 12
  • 22
36
votes
3 answers

Graph is too large for cairo-renderer bitmaps

Im trying to use pyreverse to generate UML images for a project source code. When I run the pyreverse command and specify to generate png images, it runs and then after a while, it shows: dot: graph is too large for cairo-renderer bitmaps. Scaling…
omega
  • 40,311
  • 81
  • 251
  • 474
36
votes
2 answers

How do I start cron on docker ubuntu base?

I have installed cron via apt-get install cron Trying to start cron fails (as expected) because of upstart not running. What is the command line for starting cron properly (i.e. it will read users' crontabs, will read /etc/crontab/* etc)? Please…
rollingBalls
  • 1,808
  • 1
  • 14
  • 25
36
votes
6 answers

Error libGL.so: cannot open shared object file using Android emulator

I was trying to run android emulator in Ubuntu 12.04(64-bit). But, I got the following errors. Starting emulator for AVD 'emulatr' Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory Failed to load…
Adnan
  • 8,468
  • 9
  • 29
  • 45
34
votes
7 answers

Where is SCALA_HOME on Ubuntu?

I installed Scala on Ubuntu using the following sudo apt-get install scala ~$ which scala /usr/bin/scala ~$ whereis scala scala: /usr/bin/scala /usr/bin/X11/scala /usr/share/man/man1/scala.1.gz ~$ scala -version Scala code runner version 2.9.1…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
32
votes
2 answers

Difference between EUID and UID?

EUID is not the same as UID. At what context are these both are used in the script? I tried to get the values by echo "UID is $UID and EUID is $EUID", but only space came as output. My machine runs Ubuntu 12.04 LTS. Seen at some sites that this is…
Arun Chettoor
  • 1,021
  • 1
  • 12
  • 17
32
votes
4 answers

Connection Reset when port forwarding with Vagrant

I have Vagrant/VirtualBox running an Ubuntu 12.04 LTS OS. I have configured Vagrant to forward the guest port 8000 to my host port 8888. [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22…
Mark
  • 5,286
  • 5
  • 42
  • 73
32
votes
6 answers

undefined reference to `boost::program_options::options_description::m_default_line_length'

I am trying to compile a code and I get the error undefined reference to boost::program_options::options_description::m_default_line_length I use g++ in Ubuntu 12.04. Although I have done some C++ programming I am new to the Linux development…
Picowhat
  • 341
  • 1
  • 3
  • 7
31
votes
12 answers

Working With Hadoop: localhost: Error: JAVA_HOME is not set

I'm working with Ubuntu 12.04 LTS. I'm going through the hadoop quickstart manual to make a pseudo-distributed operation. It seems simple and straightforward (easy!). However, when I try to run start-all.sh I get: localhost: Error: JAVA_HOME is…
Ali Ismail
  • 311
  • 1
  • 3
  • 5
30
votes
6 answers

Pip install python package into a specific directory other than the default install location

The default location where pip installes packages on my Ubuntu system is '/usr/local/lib/pytho2.7/dist-packages/' which I think is the default in general. I am using Enthought python distribution (EPD not canopy) and would like to install a package…
user2502020
  • 371
  • 1
  • 3
  • 6
30
votes
1 answer

How to start using Xmonad on Ubuntu 12.04 LTS?

I have installed Xmonad 0.10-3 Lightweight X11 window manager written in Haskell along with libraries and documentation on my Ubuntu 12.04 LTS system. I expected some interface/menu to run this application but nothing seen. I am also unable to find…
Optimight
  • 2,989
  • 6
  • 30
  • 48
29
votes
3 answers

Ubuntu 12 - how to install Ruby and Rails correctly

I read a lot of articles regarding installing Ruby 1.9 and Ruby on Rails 3.2.3 on Ubuntu 12. And I've installed them previously. But it took much time, about 5 days. I made many mistakes and I was very tired of that. Now I need to do it again.…
Alexandre
  • 13,030
  • 35
  • 114
  • 173
27
votes
3 answers

How do I make Rails use SSL to connect to PostgreSQL?

When I try to connect to the remote PostgreSQL database with a Rails 3.2 project I get this error: FATAL: no pg_hba.conf entry for host "10.0.0.3", user "projectx", database "projectx", SSL off My configuration on Rails looks like this: staging: …
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622