Debian is a community-driven GNU/Linux distribution which provides a large range of packages and supports a large range of architectures. It strongly focuses on free software. It has several derivatives, notably Ubuntu and Linux Mint.

learn more… | top users | synonyms (1)

8
votes
2answers
13k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
8
votes
1answer
8k views

How to run a GUI program as a different user (Debian)?

Using a terminal, I can change the running user with su and sudo — but how can I do that by clicking on an icon/shortcut on the desktop/start menu? If I have to be root to execute I will be asked ...
8
votes
1answer
6k views

How to install some packages from “unstable” Debian on a computer running “stable” Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the aptitude install <package>/unstable command, I get output ...
7
votes
3answers
8k views

Make apt-get update and upgrade automate and unattended

I have about 7 Debian servers I manage, and I would like to set them to automatically update themselves. So, I created a script as such: #!/bin/sh apt-get update apt-get upgrade and placed it on ...
7
votes
4answers
7k views

Help configuring a custom log file for iptables

I'm trying to log dropped packages to a custom file instead of /var/log/messages. To achieve this, I have added these two lines at the end of my configuration file: -A INPUT -m limit --limit ...
7
votes
1answer
980 views

pm-utils: No network in suspend scripts?

I'd like to put a script in /etc/pm/suspend.d/ that needs network access (for a very short time) before allowing the system to suspend. However, even with scripts named "001_something" in ...
7
votes
1answer
2k views

Can I use and install Ubuntu packages in Debian?

I'm looking to install Linux Mint on my main work computer. Presently, I'm running Ubuntu 10.04 on it after upgrading from 9.10 (both 64bit). Previously, I have always backed up and formatted my hard ...
7
votes
2answers
5k views

How to make a distro be fullscreen on VirtualBox?

I'm running Debian as host and I fail to get Debian, Ubuntu, and Fedora guests to be fullscreen. Changing video memory didn't help. NOTES: I haven't tried any other distro I didn't create WinXP ...
6
votes
3answers
13k views

How to force fsck at every boot - all (relevant) filesystems?

I'm working with a fanless PC (hundreds of them, in fact) that has debian 6 and 3 partitions( FAT and 2x ext2). The system doesn't have a power button as such so most people tend to yank the plug to ...
6
votes
2answers
964 views

Static IP for 2 PCs on crossover cable in interfaces(5) file?

I've got 2 PCs connected on an Ethernet crossover cable. On PC1 I run: sudo ip addr add 192.168.2.1 peer 192.168.2.2 dev eth0 sudo ip link set dev eth0 up On PC2 I run: sudo ip addr add ...
6
votes
2answers
22k views

Debian: very low resolution and an “unknown monitor” problem

Edit: I have installed CrunchBang (or #!, a Debian-based distro), and that seems to have solved all of my resolution problems. I've just installed Debian after using Linux Mint for a few months. ...
5
votes
2answers
22k views

How to add self to sudoers list?

I've added myself into the sudoers users list by using the command root@debian:/home/oshirowanen#adduser oshirowanen sudo If I try to run that command again, root@debian:/home/oshirowanen# ...
5
votes
3answers
3k views

Is Debian stable a rolling release?

The question is really that simple: is Debian stable a rolling release? If it's not a rolling release type OS, does a rolling release distro exist which is based on Debian stable? I know Debian ...
4
votes
1answer
3k views

How do I know which version of Debian I'm running?

In a tutorial, I'm prompted "If you are running Squeeze, follow these instructions..." and "If you are running Wheezy, follow these other instructions..." When I run uname, I get the following ...
4
votes
2answers
42k views

How to properly configure sudoers file, on debian wheezy?

I have seen many blog posts that say, it is enough to do aptitude install sudo su root adduser USERNAME sudo But that only protects aptitude, in other words: aptitude install sendmail will ask ...
4
votes
2answers
2k views

Can I stop Linux from listening to a USB input device as a keyboard, but still capture events with a program?

I have a USB barcode scanner at /dev/input/event0 (/dev/input/by-id/usb-Metrologic_Metrologic_Scanner-event-kbd), and scanning a barcode causes it to send keypress events. I'm capturing these ...
4
votes
3answers
510 views

Debian PXE Preseeding: Can I clone my existing Debian system instead of using the Internet?

I'm currently working on PXE booting 10 or so machines to install Debian on them over the network from a centralized DHCP + TFTP server. I'm using the TFTP server to serve the Debian netboot image to ...
4
votes
1answer
665 views

Incoming/Outgoing seperation for VPN

My situation is that I want all my outgoing connections from my Debian server to pass through a commercial VPN service I've subscribed to, but I still want to run public-accessible services on this ...
4
votes
2answers
2k views

Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?

I am currently upgrading my all-new Linode server running Debian 6 (Squeeze) to 7 (Wheezy) this way: Updating current system: sudo apt-get update && sudo apt-get upgrade Replace all ...
4
votes
3answers
2k views

Can I determine what changed in an upgraded package using apt or dpkg on Debian 6?

I just did an apt-get upgrade on my Debian 6 development server and noticed that a certain package named tinyproxy was upgraded. I have a particular interest in seeing precisely what changed in that ...
4
votes
1answer
2k views

Debian 6.0 system with 2.6.39 kernel dropping packets, sandy bridge hardware

I recently migrated an existing Debian system to new hardware, a core i3 chip running on an intel sandy bridge motherboard. I’m experiencing a very strange problem; when I ping my router, about 50% of ...
4
votes
2answers
1k views

How to see who is logged on to many workstations?

Before I go to work creating my own I would like to find an existing system to do the following: Provide a concise list of users logged on to any of the workstations Show workstation host name, IP, ...
3
votes
3answers
505 views

Automating tasks on a website on a headless server

I want to automate a task which can only be done on a website (with prior login) on my debian server. There is no public API available, so I can't use one. Is there a way to do so? I thought about a ...
3
votes
2answers
1k views

Preseeding Debian Install From Local Mirror: No Disks Detected

As a follow up to this question, I am trying to fully automate the Debian (squeeze) installation procedure. I have so far managed to mount an ISO image of the main Debian DVD and serve it over FTP to ...
3
votes
2answers
3k views

change terminal title

I want to make a shell alias that starts a certain program and also changes the title of the terminal to the name of the program. How can I do that? In case it matters, I am running the terminal on ...
3
votes
2answers
1k views

How to install kvm in Debian (Lenny) over powerpc

I am emulating powerpc using qemu-system-ppc on top of x86, and running debian-lenny-ppc with it. I want to install kvm inside that debian. I have learned that the kvm and qemu-kvm packages are not ...
2
votes
1answer
957 views

How to suspend an USB device?

I want to suspend a connected USB device at my pc manually. I tried the following instructions in Debian (Kernel 3.2.0). uname output: Linux debian7-dev-gnome 3.2.0-4-686-pae #1 SMP Debian ...
2
votes
2answers
8k views

can't start x11vnc without attached monitor

I'd like to setup x11vnc (or any other vnc server) to start at boot-time. The display manager is kdm, the distribution is Ubuntu 12.04.2 LTS. When I try to start x11vnc, I'm getting this errors: $ ...
2
votes
1answer
4k views

How to mount USB stick on Debian Sid?

I've just installed Debian Sid on my computer but I cannot mount external USB drives as you can see in the image. Mounting failed Cannot mount "SENZATITOLO" Not authorized What should I ...
2
votes
4answers
19k views

How to install Adobe Acrobat Reader in Debian?

I've got deb http://debian-multimedia.org squeeze main in "/etc/apt/sources.list", but wajig update && wajig install acroread results in: E: Package ‘acroread’ has no installation candidate ...
11
votes
2answers
5k views

I can't delete a file that I have write permissions for as a group member

$ touch testfile $ chmod g+w testfile $ sudo adduser user2 user1 $ stat -c'%a %A' testfile 664 -rw-rw-r-- $ su user2 Password: $ groups user2 user1 $ rm testfile rm: cannot remove `testfile': ...
9
votes
1answer
3k views

How can I determine if my processor is 64 or 32 bit? [duplicate]

Possible Duplicate: How do I know that my CPU supports 64bit operating systems under Linux? I am running Debian Squeeze, how can I determine whether my processor is 64 or 32-bit? I'm ...
8
votes
2answers
3k views

escape characters in /etc/network/interfaces

I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration. All I can find in the manual is that \ can be ...
7
votes
1answer
42k views

How do I install Adobe Flash on Debian Wheezy?

I have tried following http://wiki.debian.org/FlashPlayer but on the very first command: sudo aptitude install flashplugin-nonfree I get: oshirowanen@debian:~$ sudo aptitude install ...
7
votes
1answer
6k views

How to get my bluetooth keyboard to be recognized before log in?

Because I need to use my keyboard to log in, I would like my keyboard pair automatically, pre-log in. I am using Debian squeeze, and am new to linux. All tutorials I have found seem to require the ...
7
votes
3answers
13k views

Postfix doesn't send mail, complaining about “Host or domain name not found”

I followed these instructions in order to send mail and here's the Postfix log: Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang ...
7
votes
1answer
3k views

Why can't I use arrow keys in terminal on Debian 6? (nonroot)

When I am on a non-root user I cannot use ↑/↓ to list my previous commands, and if I am typing I can't use ←/→ to say, add in a directory or to correct the ...
6
votes
3answers
5k views

How long are Debian stable releases supported? like Debian Wheezy

I am Ubuntu user; while I know that Ubuntu 12.04 is LTS and will be supported until April 2017, I'd like to know what the projected support lifetime of Debian Wheezy will be.
6
votes
4answers
6k views

Reinstalling all Debian packages

I killed by mistake a dpkg process running in the background and I would like to reinstall all packages to be sure everything is allright. First, I tried to get a list of all packages and reinstall ...
6
votes
1answer
1k views

Debian not reachable via its hostname in LAN

My debian is not discoverable via its hostname in my LAN. I have a couple of other ubuntu machines in the LAN and they are all pingable via their hostnames. on my debian: pi@raspberrypi ~ $ ...
6
votes
3answers
2k views

Get diff changes between original files installed with apt and current files

I installed php5-fpm package using apt; then I made some changes to the PHP configuration files. Now I would get the diffs between the original files versions (the ones of the package installed) and ...
6
votes
3answers
15k views

Swap usage too high?

I have a debian sid box, freshly installed about a month ago, with no desktop apps running at the moment. Any command I try to run (via ssh) makes the hard disk work very hard. The system worked ...
6
votes
5answers
4k views

How to fix mpt2sas “port enable: FAILED with timeout (timeout=300s)”?

Since having set the drives attached to an LSI SAS 2008 controller to "Power up in standby", these drives are no longer being detected. Power up in standby is also known as PUIS, POIS or "ATA6 power ...
6
votes
2answers
7k views

How to write init.d script log messages to disk?

I'm running Debian wheezy. Many scripts in /etc/init.d/ use various logging functions defined in the Linux Standard Base, like log_success_msg and log_warning_msg. The LSB documentation seems a bit ...
5
votes
3answers
515 views

How to install / parse build dependencies from debian/control?

Let's suppose you downloaded a source code folder, that contains an existing /debian/ folder as well as /debian/control file. Let's suppose the package in question is not in Debian official ...
5
votes
1answer
535 views

Reset running process when certain ammount of memory is consumed

I'm running a Hydra on Rasppberry PI. There were some problems with the program, but aside from these, there is a hidden memory leak in the program. The source is pretty big and really can't find the ...
5
votes
2answers
301 views

Debian: An MTA just to solve dependencies, not because I really need one

It has bothered me for years that with every new Debian installation, a full MTA (Mail Transport Agent) was installed even if I had no desire to use the machine as a mail server. The MTA was necessary ...
5
votes
3answers
7k views

How to interpret the output of 'lsusb' — What are all these Linux Foundation root hubs?

I recently found out about the lsusb command while troubleshooting a headset issue.. My laptop runs debian and doesn't have anything plugged into USB currently, but when I run the "lsusb" command, I ...
5
votes
1answer
5k views

Rip chapters of a DVD to separate files

I have a DVD with cartoons for kids and there are a couple of episodes on every one of them. How can I rip them such that every episode is in a separate file? I think every episode is written as a ...
5
votes
4answers
4k views

Debian Squeeze: Left mouse click stops working

After starting a new session in my Debian Squeeze (6.0.4, always updated) running in a VM (VMWare Workstation) there comes the point in time where the left mouse click stops working, so that I cannot ...