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)

2
votes
0answers
100 views

Add disks to encrypted LVM partition

If I increase my current encrypted (dm-crypt)LVM partition by adding another disk to it, is the new disk also encrypted or do I need to setup dm-crypt on it as well?
13
votes
7answers
35k views

Finding files that use the most disk space

Is it possible to list the largest files on my hard drive? I frequently use df -H to display my disk usage, but this only gives the percentage full, GBs remaining, etc. I do a lot of data-intensive ...
3
votes
2answers
350 views

How to install oracle11gr2 on ubuntu 15.04?

I am working with this tutorial. But i got this error on step 5: Package libtiff4 is not available, but is referred to by another package. This may mean that the package is missing, has been ...
1
vote
1answer
387 views

Error while importing Compiz profile from Terminal

File name : import.py #!/usr/bin/python import sys import compizconfig #The last input on the command line will be the path to save the file to. savefile=sys.argv[-1] ...
0
votes
2answers
1k views

Ubuntu is running slow

I'm not sure since when it became slow, but I think after I did apt-get update. Here's my machine details: I can see from the system monitor that the CPU is working hard specially when I run Chrome ...
0
votes
1answer
588 views

Unmet dependencies when installing mtrack

I'm trying to install mtrack on Ubuntu 14.04 on my macbook pro: sudo apt-get install xserver-xorg-input-mtrack But I get unmet dependencies: The following packages have unmet dependencies. ...
3
votes
0answers
406 views

start-stop-daemon, services, environment variables, and ansible

So, I have a Java program that runs Ansible. I'd like to run this program as a service. I've written a service script in /etc/init.d that uses start-stop-daemon to run/stop the Java program. I've run ...
2
votes
3answers
3k views

'ImportError: No module named _struct' error when managing packages

I'm running elementary OS 0.2 (based on Ubuntu 12.04) and starting today I'm seeing a weird error when attempting to install/upgrade packages. Just now for example I did a: sudo apt-get update ...
0
votes
0answers
55 views

DPKG error when installing puppetserver

I want to install Puppet 4.2 on a Ubuntu 14.04 Trusty and when installing puppetserver through apt-get I get the following error near the end of the installation: dpkg: error processing archive ...
0
votes
2answers
117 views

Difference between two linux machines

I have two machines and I am trying to see which one is more powerful machines. I can check memory and cpu but not sure how to understand other things from lscpu: Here is machineA "lscpu" result: ...
0
votes
0answers
77 views

gdb attach question

When using gdb to attach to the process. It shows that Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, ...
0
votes
0answers
52 views

Multiple here documents in a bash script to drop in and out of sudo is causing error “Sessions still open, not unmounting”

I'm attempting to write a setup script that I can run on multiple machines to run a bunch of installers (requires sudo) but also do things like pull down a git repo (I want to run that as the normal ...
1
vote
3answers
225 views

Check services running on the server and restart them if they have stopped?

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
0
votes
1answer
591 views

How to install Ubuntu on a USB drive ext4 partition?

I have a 32GB USB drive with 2 partitions, Partition 1: FAT32 used as storage Partition 2: ext4 intended to be a bootable live Ubuntu 15.04. How can I install the Ubuntu ISO file to the ext4 ...
0
votes
0answers
83 views

UEFI with Windows and Ubuntu dual boot Grub fail

UEFI with Windows and Ubuntu dual boot Grub fail when boot and show a minimal bash but UEFI detect Ubuntu only Grub can not load system.
1
vote
0answers
918 views

BeagleBone Black doesn't connect via Ethernet on laptop

I have a BeagleBone Black board connected to my laptop with only a serial connection and the Ethernet cable, and powered by the 5mm jack. The serial connection works fine, I can login at any time, but ...
0
votes
0answers
49 views

Running a custom kernel on qemu

I am trying to test some feature of Ubuntu 12.10 server edition with the kernel version 3.5.0. I am running the qemu as qemu-system-x86_64 -m 2G -hda ubuntu.img -kernel linux-3.5/arch/x86/boot/bzImage ...
3
votes
1answer
199 views

How to enable nameserver recursion?

On Ubuntu 14.04, when I'm performing a dig google.de on my machine, I get a REFUSED status (reducing to relevant lines): me@machine:~# dig google.de ;; ->>HEADER<<- opcode: QUERY, ...
0
votes
0answers
24 views

Move files that are 7 days or older, cronjob [duplicate]

I want to move some log files that are 7 days or older to another folder and then delete those files after another week. I'm using logrotate to create a new log file every 2 hours in a folder. I ...
0
votes
1answer
210 views

Problem with touch pad in linux

I have a Lenovo g500 laptop and I recently installed Ubuntu 14.04 in it. The problem is that the touchpad in not being dectected. I ran Ubuntu in live mode before installation and the touchpad worked ...
1
vote
1answer
254 views

logrotate every 2 hours

I'm trying to make httpry logs every 2 hours. I added this to my logrotate.conf file: /var/log/httpry/*.log { rotate 1 weekly create 640 root admin missingok notifempty } I ...
0
votes
0answers
114 views

Ubuntu Server installation and usage in VirtualBox much slower with multiple cores

I wanted a fast 64-bit Ubuntu Server 14.0.4 LTS installation in a VirtualBox 5.0.0 VM on my OS X 10.10.4 host for testing. I left everything default but upped the # of cores to 4, half the cores of my ...
3
votes
5answers
5k views

Curl with ipv6 not working by default

I am trying to curl ipv6 addresses, but without success. If I try lets say: curl https://google.com I wait for a timeout and get network unreachable If I force ipv4, everything is fine. ...
2
votes
0answers
52 views

Wifi and wifi hotspot at once

I have wifi adapter TP-Link TL-WN722N I want to use it to access internet and to share wifi access point at once. I did it on windows 8: netsh wlan set hostednetwork mode=allow ssid="APname" ...
0
votes
0answers
64 views

Only loopback Ubuntu on Hyper-V

I'm alreay running an Ubuntu server under Hyper-V on NIC 1 (eth0) and now I want to implement a second one on NIC 4 (eth3). Just like with the first server a virtual switch got created without fixed ...
0
votes
1answer
275 views

LXC Bridge not working on ubuntu 15.04

I'm trying to get lxc containers running with a bridged network connection so the container get ip addresses like the host does from a dhcp server. I red several tutorials, but I couldn't find one ...
0
votes
1answer
43 views

The repository list source index list can't be downloaded

I have Mint Linux 16 Petra and decided to update the system. I went menu/admin/update manager and opened the manager. Then I clicked on refresh and the manager ran the update list of source links. A ...
4
votes
1answer
219 views

Why libpam-systemd run interactively on apt upgrade, even when specified force-confdef/force-confold

I upgrade my packages using aptitude, specifying the apt options --force-confdef and --force-confold. This generally works, but the package libpam-systemd (204-5ubuntu20.8, on Ubuntu 14.04) still ...
0
votes
1answer
81 views

EXT4 requiring twice as much storage space - Ubuntu / Beets

I have a question I'm struggling to research an answer for. I have am building a Ubuntu media server at home and decided to carve up my 2TB bulk storage disk into various partitions. I created a ...
0
votes
2answers
390 views

Cannot Access LAMP Web Server on Ubuntu Server 14.04

UPDATE: So it seems that I can access the website from computers outside of the LAN, it's when I try to pull up from any computer on the same LAN as the server that I get an issue. From what I've read ...
1
vote
0answers
530 views

lpc_ich: Resource conflict(s) found affecting gpio_ich

I use Asterisk 11 in my Ubuntu Server 14.04, but I Have some problems with my Dahdi Driver, with conflits Please see the dmesg (null) [ 11.804460] Adding 2052092k swap on ...
0
votes
1answer
48 views

I get a blank screen

My laptop is displaying a blank screen today, instead of the normal login window. I am using LUbuntu 14.04. I can get into the terminal and login, but how do I start lxde after that and how do I get ...
1
vote
1answer
231 views

Repositories of Linux Mint, Ubuntu, Debian

This was bugging me for really long time, but I was quite ashamed to ask, as this looks like most basic question about Linux. Linux Mint builds on top of Ubuntu and Ubuntu on top of Debian (I know ...
1
vote
1answer
1k views

Broadcom: not able to see my wifi

I recently installed Ubuntu 14.04 on a computer with a Broadcom BCM4312 802.11b/g LP-PHY wireless card. After installing the proprietary drivers available from the Ubuntu repositories, I was able to ...
0
votes
2answers
463 views

what's the name of ubuntu package contains llvm linker lld

Would like to try this lld from LLVM. The doc on apt could be found here, but I don't know which package contains the lld executable. It seems the purpose of lld is to remove the system dependency, ...
2
votes
1answer
511 views

Restarting all the network in Ubuntu after hibernating

When my Ubuntu 14.04 machine awakes from hibernation, sometimes the network is disable and enabling it does not make it work again. Running sudo service network-manager restart alone does not solve ...
11
votes
5answers
640 views

Is there a more succinct alternative to piping to wc for counting files in a directory

If I do ls -1 target_dir | wc -l, I get a count of files in a directory. I find this a bit cumbersome. Is there a more elegant or succinct way?
2
votes
5answers
13k views

Is there some default password for a new user in Linux?

I am a Windows user gradually moving towards Linux. In Windows we have an option of either having or not having some password for a user. Once we do not put a password we can directly log in to the ...
43
votes
4answers
47k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
6
votes
5answers
13k views

How can I upgrade pip on Ubuntu 10.04?

On Ubuntu 10.04 I've used apt-get install pip to install pip after which I installed django. Then I tried to uninstall django with pip via pip uninstall django which gives me: pip: error: No command ...
0
votes
0answers
22 views

How can I run a command as root user on Ubuntu? [duplicate]

It seems Ubuntu has disabled the root user account so su doesnt work which is causing me an issue where I have an apache log file that is owned by root $ls -al error.log -rw-r----- 1 root adm 2061050 ...
0
votes
1answer
374 views

Why is my WiFi card unclaimed by drivers in UbuntuMATE?

The title says the main issue, my Realtek 802.11n WiFi card isn't being claimed by the drivers from here. I installed led the drivers using the install.sh script given in the decompressed tar.gz. ...
0
votes
0answers
58 views

Strange “terminal” appearing

I use ubuntu 12.04 with KDE and had two times a strange terminal or something like this appearing for like 2 seconds and then closing again in the upper right corner. I did not see what it exactly ...
1
vote
2answers
9k views

Software center not working on kali linux?

I followed the instructions for installing kali linux and put these commands into the terminal: apt-get update apt-get install software-center I also added: deb http://http.kali.org/ /kali main ...
0
votes
0answers
84 views

Uninstall MySQL without removing HHVM on Laravel Forge / Ubuntu 14.04

Since I maintain database and web servers separatly, I wanted to have my Forge's maintained web server without mysql, as it tend to use a lot of memory, even if I don't use it. Trying to run a sudo ...
2
votes
1answer
451 views

User settings for monit? Should it run as root, or it's own user?

I'm trying to install monit on an Ubuntu 12.04 server. I have it set up, and configured (i think), but i'm not sure what user it's supposed to run as. My user on the server is called deploy, and my ...
0
votes
1answer
47 views

News-Window (Browser or RSS) in Kiosk Mode

We have 242 PCs with Ubuntu 12.04 running something like a kiosk mode using iDesk. The background image contains some info for the user but this is very static. Currently we are searching for a way to ...
1
vote
2answers
319 views

Remove nouveau driver (nvidia) without rebooting

I have a Ubuntu Version here, that is started from USB as a Live version. I do not want to install it on hdd, because it would be too much for only testing a small thing on Ubuntu. So I started ...
7
votes
1answer
126 views

what's difference between src version 3.* and 3.*-generic

In my local Linux/Ubuntu, I have two directories for Linux src /usr/src/linux-3.16.0 /usr/src/linux-3.16.0-generic I found the code in 3.16.0 is much more than that in 3.16.0-generic. I am ...
1
vote
1answer
273 views

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...