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
12
votes
2 answers

What means the -z value in an if expression on a Linux script?

In this script I found this if expression: if [ -z $1 ]; then echo "Usage: createpkg.sh " exit else CURRENT_VERSION=$1 fi My problem is that I can't find what exactly means this -z value. From the content of the echo I can…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
12
votes
1 answer

Compile FFmpeg with libfdk_aac

I been reading on how to convert mp3 to m4a, and found that I must compile FFmpeg if I'll use the AAC encoder, libfdk_aac. But reading FFmpeg guide on how to compile FFmpeg with libfdk_aac makes no sense for a beginner like me. To use libfdk_aac…
Toydor
  • 2,277
  • 4
  • 30
  • 48
12
votes
1 answer

Centralized rsyslog : max size of message

I configured a centralized syslog on Ubuntu 12.04. I set the max message size on both servers $MaxMessageSize 20k I have 2 different comportment : client : message are logged completly server : message are truncated at 2k I can find configuration…
fauguste
  • 399
  • 1
  • 2
  • 17
12
votes
3 answers

How to compile avconv with libx264 on Ubuntu 12.04 LTS (Precise Pangolin)?

Is there a step-by-step guide on how to compile avconv in Ubuntu? It seems hard to search for any tutorial with avconv compared to ffmpeg.
Kugutsumen
  • 600
  • 1
  • 6
  • 19
11
votes
4 answers

AzureException: Unable to access container using anonymous credentials, and no credentials found for them in the configuration

I am trying to use Hadoop of Azure HDInsight. I am logging into the cluster by ssh and running the following hadoop jar jar_name class_name wasb://container@storagename.core.windows.net/inputdir…
Raghava
  • 947
  • 4
  • 15
  • 29
11
votes
4 answers

ngrok tunnels to localhost reconnecting issue

I have a camera set up on my ARM based system running ubuntu 12.0.4 LTS. I am accessing internet from an ethernet cable of my modem. I am able to view the live stream from my camera using motion software on my local network. However to view these…
bobbydf
  • 183
  • 1
  • 4
  • 13
11
votes
1 answer

RGDAL won't install

I can't get RGDAL to install in R. I'm using Ubuntu 12.04. configure: error: gdal-config not found or not executable. ERROR: configuration failed for package ‘rgdal’ * removing ‘/home/james/R/x86_64-pc-linux-gnu-library/3.2/rgdal’ Warning in…
TheRealJimShady
  • 777
  • 3
  • 9
  • 24
11
votes
5 answers

libusb cannot open USB device, permission isse. NetBeans/Ubuntu

I'm writing a C/C++ application in NetBeans based on libusb-1.0 on Ubuntu 12.04. I can get basic information from the USB device (for example, the interface description) but I am not able to open the device. The function libusb_open gives me the…
raff5184
  • 344
  • 1
  • 2
  • 15
11
votes
4 answers

Running 32 bit exe on Ubuntu :libudev.so : cannot open shared object file: No such file or directory

I am trying to run an exe which uses libudev.so but it gives this error : error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory Running uname -a gives : 3.5.0-44-generic #67~precise1-Ubuntu…
Raulp
  • 7,758
  • 20
  • 93
  • 155
11
votes
3 answers

How to assign IP address to interface in python?

I have python script that set the IP4 address for my wireless and wired interfaces. So far, I use subprocess command like : subprocess.call(["ip addr add local 192.168.1.2/24 broadcast 192.168.1.255 dev wlan0"]) How can I set the IP4 address of an…
Mero
  • 1,280
  • 4
  • 15
  • 25
11
votes
0 answers

Pyenv in Production environment

I found pyenv very useful to do python installation and switch between different versions. But Can I use pyenv in production environment? Are there any risks associated with pyenv. Also I have to upgrade to python 2.7.5 on ubuntu 12.04 on…
Netro
  • 7,119
  • 6
  • 40
  • 58
11
votes
1 answer

installing pandas in python 2.7, ubuntu 12.04

when i initially ran $ pip install pandas it gave me an error that i don't have permissions. then when i tried $ sudo pip install pandas it gave me this - fatal error: Python.h: No such file or directory After some search, i came across…
Poruri Sai Rahul
  • 281
  • 1
  • 4
  • 8
11
votes
1 answer

"Reset" Amazon EC2 server

I am running an EC2 server with Ubuntu 12.04.1 LTS. But there are things that aren't working properly on it. CPAN won't install any modules, the MYSQL service keeps falling over, etc. So I want to "factory reset" it and start all over again. Is…
skeniver
  • 2,647
  • 6
  • 28
  • 34
11
votes
3 answers

Runtime Opencv HighGui Error- "HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP". Opencv cross compiled. Host=64bit Ubuntu 12.04. Target=ARM-Cortex-A9

I am a beginner at OpenCV and trying my best to get a simple application running on an embedded platform. I cross-compiled OpenCV 2.4.4 and built it WITH_GTK=ON, WITH_UNICAP=ON, WITH_V4L=ON as needed for camera and GUI support. The following sample…
om9
  • 179
  • 1
  • 2
  • 5
11
votes
3 answers

vagrant puppet modulepath

Puppet 2.7.19 Vagrant version 1.0.6 VM OS Ubuntu 12.04 I am attempting to set the puppet module path from vagrant. Which seems like it should be very simple. In my Vagrant file I have: Vagrant::Config.run do |config| config.vm.provision :puppet,…
Michael
  • 3,568
  • 3
  • 37
  • 50