Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

3
votes
1answer
929 views

Passing in parameters to Upstart

I can do mongod -f /etc/mongodb.conf How do I achieve the same effect when starting mongodb as a service? ie sudo service start mongodb By default this does not read from the config file. I ...
1
vote
3answers
1k views

Removing Ubuntu 12.04 LTS from a dual boot setup and recovering the Windows boot manager

I have Ubuntu 12.04 LTS and Windows 7 Home Premium on my laptop. My desire is to uninstall Ubuntu without spoiling MBR and Windows 7. I would like to emphasize that Ubuntu was installed later so I ...
0
votes
1answer
159 views

For downloading, youtube file format changes depending on OS?

Oh! its sad to see what I saw. I am downloading a file from youtube (the video is of 1 hr) using command line from Ubuntu13.04 as below: ravbholua@ravbholua-Aspire-5315:~$ youtube-dl ...
1
vote
1answer
386 views

Ubuntu: /proc/pid/comm file missing

On my development box, under /proc/[pid]/ there is a file called comm containing the name of the executable for that process. I use this to validate the process to which I am sending a signal. On our ...
1
vote
3answers
2k views

Need small distro without a desktop or windows manager, just to run a single graphical app [duplicate]

I am looking for some help on this from a linux expert. I am very novice when it comes to linux so I am hoping someone can help out. I need a small distro, that is stable. I don't need a full X ...
2
votes
2answers
707 views

Upgrading software in linux

I have a program called zlib I need to upgrade. As I've never downloaded it before I suspect it comes with Ubuntu. Normally I'd just download and compile it, but a different tool (vcftools) is going ...
0
votes
1answer
150 views

Ubuntu 13.04 disconnecting issue

Weird situation here. I can download anything I want with no problems whatsoever. As soon as I try to download a torrent via a magnet link, I disconnect from the wireless router after about three ...
0
votes
0answers
373 views

Ubuntu warning. W: Duplicate sources.list entry

After installing Oracle VirtualBox, when I do sudo apt-get update, I get the following warning W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ raring/contrib i386 ...
1
vote
1answer
368 views

Ubuntu Server - OS on single HDD, file server on software RAID 1

I run a Windows Server 2008 machine. It is used as a file server (File Services feature), in addition to local shares I use CrushFTP for SFTP and HTTP access to my files. I would like to convert to ...
1
vote
3answers
80 views

Can I install other distro and use /home from previous one?

I want to install CrunchBang, and I have been using Ubuntu 12.10. Should I format /home, or do I need to only format / and install #! there?
3
votes
1answer
2k views

Linux - File change time versus modification time

I'm using Ubuntu 12.04, though I'd imagine this question spans all Linux variants. In the manpage for the stat command, there are two (four) formatting options that appear to mean the same thing: ...
1
vote
1answer
262 views

Unable to update my system Ubuntu13.04: Getting message - requires installation of untrusted packages

I had been trying to update my Ubuntu13.04 via 'software updater'. The updater messages that the following needs to be installed. Press continue to install When I press continue , a window appears as ...
1
vote
1answer
250 views

Nautilus Renaming Bug when pressing 'n' key in Ubuntu

I have what i can consider a Big Bug on Nautilus under Ubuntu Linux. When I am in the process of renaming a file or a folder, if I press n, nautilus opens a new tab. The effect is: I cannot include ...
4
votes
2answers
347 views

How do I execute a command on login for a system user with no home folder and no personal .bashrc file?

I set these users' home folders through the /etc/passwd file, but when they log in I would like them to activate a python virtualenv. If they had a personal .bashrc file, I'd just include the activate ...
3
votes
1answer
85 views

Why does a manual mount set different file ownership?

I've been using the terminal for almost everything: in fact, I often don't even log in through the interface, I use the tty1 and go to the web with text-browsers. So, the external drive doesn't ...
1
vote
2answers
19k views

How to check whether certain port is opened or block on any other servers from a dev box?

I am trying to connect to one of our staging Cassandra servers on port 9042 and 9160 here in our company from a dev box.. Through the code, I am not able to connect to it... The program gets hanged at ...
2
votes
1answer
284 views

Is it possible to import vmail folder from old iRedMail to new iRedMail installation?

Basically, what I did: Copied vmail folder to my local machine. Reinstalled my VPS. Installed iRedMail again. Created same users on the same domain. Question is - can I somehow copy over my old ...
5
votes
1answer
1k views

Overwritten MBR: Is partial/complete recovery possible?

I have a Sony VIAO laptop setup as dual boot (Ubuntu 12.10/Windows 7). Since I wanted to try Archlinux, I installed VirtualBox in Ubuntu. To create a bootable USB stick (from the ISO image on my hard ...
4
votes
2answers
603 views

Simulate x-screen?

I'm working in a koding terminal running ubuntu 13.04, and I'm trying to run an application that requires an x-screen (even to run in terminal mode). I am unable to connect with x11 forwarding, and ...
0
votes
0answers
209 views

Is it possible to import vmail folder from old iRedMail to new iRedMail installation?

Basically, what I did: Copied vmail folder to my local machine. Reinstalled my VPS. Installed iRedMail again. Created same users on the same domain. Question is - can I somehow copy over my old ...
1
vote
0answers
357 views

How to install Ubuntu in a netbook, but keeping the original win7 installation in storage

I have a Samsung N210 netbook. It has windows 7, starter edition. I´ve tried the latest Ubuntu version using a pendrive and loved it so far. I would like to install it in my netbook, but I would ...
0
votes
0answers
466 views

libcurl4-gnutls-dev : Depends: libldap2-dev but it is not going to be installed

I am trying to install curl in my ubuntu server as I was getting this error whenever I am compiling my C++ code - fatal error: curl.h: No such file or directory Below is the error: ...
3
votes
1answer
3k views

Can't connect to steam

I've just installed Steam on my computer, created a Steam account and tried clicking on the steam icon to load it. It gave me the following error and then shuts down: If I type steam in the ...
2
votes
1answer
493 views

Can't sudo after lock password, can I recover from that?

After setup ubuntu with default settings, It allows user to login with password, so I use passwd -l [username] to forbid password login both in ssh and console. But when I use sudo to execute ...
2
votes
2answers
4k views

How to download latest version of cmake?

I have installed cmake like this - sudo apt-get install cmake But whenever I try to compile my c++ code.. I always get the below error - CMake Error at CMakeLists.txt:2 (cmake_minimum_required): ...
1
vote
1answer
278 views

/usr/bin/cmake: is a directory. Not able to grab the version of cmake?

I just have installed CMAKE in my ubuntu machine.. So when I do whereis cmake, it gives me the actual path username@phx7b02c-ee1b:~/CMAKE/cmake-2.8.11$ whereis cmake cmake: /usr/bin/cmake But ...
5
votes
2answers
12k views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running eclipse on ubuntu

I was trying to open eclipse in my ubuntu VM with the below commmand.. And as soon as I do that, I always get the below exception - ubuntu@username-dyn-vm1-48493:~$ eclipse Eclipse: An error has ...
1
vote
2answers
2k views

why can't linux see my run.sh command?

I have a run.sh in a directory in ubuntu linux 12.04 LTS. I've been changing the Path variable so that it can "see" binaries elsewhere in the directory structure. But I am still getting a command not ...
1
vote
1answer
2k views

How to install persistent ubuntu 12.04 on USB drive?

I spent an entire day trying to figure out why my USB ubuntu installation was not being persistent. Yes, I did check the "persistence" option and assigned a file size for it during installation. I've ...
1
vote
1answer
692 views

service vs. initctl in Ubuntu

Why are some deamons run out of service and some out of initctl in Ubuntu? Do both tools do the same thing and it is just a matter of personal preference of the user what they will use? E.g. sudo ...
4
votes
2answers
588 views

How do I run a script when I switch between keyboard layouts

I use more than one keyboard layout, and I would like to find a way to run a script when I switch between them. Is this possible? So far, I can assign a shortcut for a script like this: #!/bin/bash ...
0
votes
1answer
203 views

Accessing Pendrive in Ubuntu using Wine

We use ubuntu in our college and they have blocked pendrive access. When we insert pendrive it displays a dialog that says "There is no application to handle this file" (or something like that). So, ...
0
votes
1answer
5k views

How to install squashfs-tools on Ubuntu?

I tried running `unsquashfs and got: $ unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: So I went to install it: $ sudo apt-get ...
0
votes
0answers
18 views

UBUNTU + extract filesystem.squashfs for editing [duplicate]

please advice how to install the squashfs-tools on UBUNTU linux ? I try this unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: ...
2
votes
1answer
69 views

Is there a way to get apt-get to install from different distributions in one single command?

I'm building a package from source in Debian Wheezy, which has a few build-deps that cannot be satisfied by stable. Therefore, I use a few packages from unstable, testing and wheezy-backports. The ...
1
vote
1answer
177 views

Setting up server to share music with tv

Can someone please point me in the right direction? Hopefully first by letting me know if this is possible... I recently purchased a home theater system which you plug via hdmi into the tv. It has ...
0
votes
1answer
78 views

Transfer Ubuntu server 10.04 to another 13.04 [closed]

I am totally new to Linux administration and now I have big problem. I have old server with some sites, databases, programs etc that is Ubuntu 10.04. Because of too much users I rented new better and ...
3
votes
2answers
97 views

Ubuntu 12.04: updating package message

When ever I updated packages, (they update) I receive the following message about TeXLive: dpkg: warning: parsing file '/var/lib/dpkg/status' near line 2888 package 'texlive-local': missing ...
1
vote
1answer
516 views

Not able to ftp remote server anonymously

I was not able to ftp to my remote server. I read Ubuntu doc to see how to resolve: https://help.ubuntu.com/10.04/serverguide/ftp-server.html Just now I installed vsftpd on my remote machine. Now ...
4
votes
2answers
2k views

Install debug flash player in Chrome?

I am trying to adapt the instructions from here, here, and here to install the debug version of the flash player on my Ubuntu 13.04 installation such that Chrome 30.0.1599.66 can use it. ...
2
votes
3answers
79 views

Is it a good idea to put environment variables to /usr/local/bin

I'm using aws cfn to start ubuntu instances, and I need to pass variables provided in cfn launch script to the scripts on the instance. For example, I may pass "db-server=db-2.domain.com" and there is ...
11
votes
7answers
1k views

Can I label a disk device rather than a partition?

I know about the e2label and friends program for attaching a label to a disk partition e.g. e2label /dev/sda1 bla What I want to do is something different: I want to create a label for a hard ...
-2
votes
2answers
607 views

dpkg / apt-get wants to install and overwrite different package

I want to install Pound. Doing this: apt-get install pound produces this: root@myhost:~# apt-get install pound Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
275 views

Remove user space quota in Ubuntu 12.04?

I'm trying to install Unity3D but I only have 1.5GB (EDIT: I forgot to mention this is what the Unity3D installer says, but I have also had problems with downloading things of large sizes) free space ...
4
votes
1answer
2k views

LXC migrate between hosts

I had setup a testsystem with LXC and installed a webserver etc. that all was not the problem. But now I want to swich to another host system also I compressed /var/lib/lxc/webserver and copied it to ...
1
vote
0answers
531 views

Installing graphics drivers on ubuntu

I have an Nvidia GTX260 video card and I'm using Ubuntu 12.04 x64 bit. I've been trying for hours to get StarCraft II to work with wine and PlayOnLinux. I have tried nearly everything under the sun to ...
-1
votes
1answer
72 views

How can I get a Low-RAM Ubuntu [closed]

I've seen several complaints that Ubuntu uses twice as much RAM in a fresh install compared to Debian. But it appears that using Ubuntu will make my life much easier due to its more recent versions ...
16
votes
2answers
36k views

Sorting down processes by memory usage

I am able to see the list of all the processes and the memory via ps aux and going through the VSZ and RSS Is there a way to sort down the output of this command by the descending order on RSS ...
1
vote
0answers
40 views

Ubuntu Linux 12.04 - Load Non-MBR grub from the old grub in MBR

I have installed Ubuntu linux 12.04 on sda10, and grub2 in sda5 . Actually I had a legacy grub installed in MBR, I want to load Ubuntu linux from the old grub. How could I do this? This question ...
0
votes
1answer
1k views

How can I install perf 3.4.25?

By installing perf using sudo apt-get install linux-tools-common sudo apt-get install linux-tools-3.2.0.23 gave me perf version 3.2.14 How can I install perf 3.4.25? Is it related to kernel ...