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)

0
votes
1answer
172 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. ...
2
votes
0answers
93 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
2k 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
18 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
977 views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
13
votes
2answers
20k views

Use shared libraries in /usr/local/lib

I have build some libraries from sources, and the files after make install are in /usr/local/lib For example, in my case I have the file libodb-2.2.so which is in this directory. However when I ...
0
votes
2answers
81 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
16 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
20 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
48 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
2answers
100 views

Why is my /etc/hosts file not being read?

My /etc/hosts file looks like this: # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make ...
0
votes
1answer
94 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
37 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.
0
votes
1answer
803 views

How to set up wifi hotspot with 802.11n mode?

I have two computers running Ubuntu 14.04 (ok, one is actually Mint 17.1, but that's based on Ubuntu 14.04), and I am looking to use one as a wi-fi hotspot for the other. Both computers have identical ...
1
vote
0answers
553 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 ...
1
vote
1answer
687 views

Make bluetooth device invisible / disable incoming pairing

I am using the bluez package for my bluetooth usb dongle on ubuntu server. I want to be able to initiate bluetooth connection from the dongle to a device, however a device itself shall not be able to ...
0
votes
0answers
12 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 ...
2
votes
1answer
120 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
21 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 ...
-1
votes
0answers
25 views

Unable to restore backup - system says I don't have permission

I was having problems with my Ubuntu 14.04 LTS, and decided to backup my files to an external USB drive. No problems doing that. I then did a completely new installation of 14.04.2 LTS. When I try ...
0
votes
1answer
62 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
37 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
52 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 ...
0
votes
0answers
17 views

Failed to change last modified date of the file after do some edit in /var/www

on ubuntu server (14.04) I have a virtual host which is in /var/www and my linux user is group of www-data. But I noticed that, if I change something on a file in /var/www last modified date does not ...
0
votes
2answers
2k views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
3
votes
5answers
3k 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
19 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
29 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
66 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
26 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
144 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 ...
1
vote
1answer
43 views

Is there a key binding to switch to “last” workspace in mint 17.2?

Mint 17.2, Cinnamon. I use dconf editor to set up my hot keys to switch between workspaces. Here is the relevant portion of my workspace key bindings: What I want is a key binding that switches ...
0
votes
0answers
2k views

Ubuntu sound not working after sleep/suspend

Whenever I sleep my laptop I mean if I down the flap sound doesn't work, every time i have to restart my laptop for sound to make working. Fo instance right now sound is not working(since I closed ...
0
votes
1answer
50 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
109 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 ...
15
votes
3answers
11k views

LXC: How do I mount a folder from the host to the container?

I'm trying to mount a folder on the host to an LXC container. The host has a folder /mnt/ssd/solr_data created (this is currently on the root filesystem, but later I'll mount an SSD drive there, so ...
0
votes
0answers
39 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
26 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
90 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
715 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 ...
1
vote
1answer
592 views

How to set up Motion to access my copied config file?

As suggested in this tutorial I made a copy of the Motion configuration file in my home folder under ~/.motion/motion.conf . But Motion then still tries to access the config-file under ...
0
votes
2answers
230 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, ...
5
votes
2answers
15k views

Ubuntu 14.04 Nvidia proprietary drivers installation

I require some Help and Guidance in installing NVIDIA drivers on my system with a Dual Intel/Nvidia Graphics Processors. I am currently running Ubuntu 14.04 and i am aware that the OS is in its ...
2
votes
1answer
47 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
584 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?
1
vote
5answers
8k 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 ...
29
votes
4answers
34k 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 ...
4
votes
5answers
9k 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
102 views

Unable to install mysql-server-5.6

My website was running fine on server version 5.5, but now it hangs on the installation of version 5.6. I've tried removing it, purging it, even removing the /etc/mysql folder, then reinstalling it ...
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 ...