Questions specific to the Debian official distribution (stable, testing, or unstable); if you are using a derivative of Debian (e.g. Mint, Ubuntu, Kali, etc), then use that distribution’s tag instead.

learn more… | top users | synonyms (1)

7
votes
5answers
17k 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 postfix/...
7
votes
4answers
5k 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 ...
7
votes
2answers
22k views

How to start an application automatically on boot

I am new to Linux & looking forward to start application (which toggles a led every 10 sec). I have written the application program & it is working fine but now I want to start it ...
7
votes
1answer
7k 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 ...
6
votes
2answers
1k 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 192.168.2....
6
votes
3answers
20k views

I always need to ifdown/ifup wlan0 after reboot

I'm trying to create an ad-hoc wifi made of 5 computers (one windows pc and 4 raspberry pi loaded with a raspbian) the raspberry pi will talk through mqtt, but tha'ts not the point. The problem I have ...
6
votes
3answers
4k 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 ...
5
votes
1answer
9k views

How to install gcc 4.8.1 on debian wheezy

I would like to install GCC 4.8.1 on my Debian Wheezy 7.1.0 system. The current version of GCC installed on my system is the 4.7.2. I see gcc-4.8.1 is available on the Debian repository. Can someone ...
5
votes
3answers
956 views

List all software installed from particular component (non-free, contrib)

Is there a way to list all non-free and contrib software installed in Debian via apt? /etc/apt/sources.list is as follows deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib deb-src ...
5
votes
3answers
3k 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 ...
5
votes
2answers
27k 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# ...
4
votes
3answers
667 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
1k 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
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
4answers
8k views

Disable GNOME on a Debian Install

I'm very new to Linux, and I'm setting up a Debian server. Since I don't have any need for a GUI most of the time, I'd like to disable it from running at startup and wasting system resources. ...
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, ...
4
votes
2answers
3k 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 ...
3
votes
3answers
653 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
4k 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
2k 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
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 ...
3
votes
4answers
24k 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 ...
3
votes
3answers
637 views

How can I get recursively list an apt package's dependencies with their installed versions?

I would like to list the recursive dependencies of a given package, with the currently installed version of each dependency. I'd also like one entry on each line, so it's sortable and diffable. ...
3
votes
2answers
28k views

/etc/hosts for Debian

I was trying to get a perl script that contacts a PostgreSQL database to work on a server. This script was mysteriously failing. I then realised that localhost was not in the /etc/hosts file. The ...
2
votes
3answers
11k 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
0answers
3k views

Jessie: can't boot the kernel 3.16.0-4-amd64

I have been using Jessie for a few months now, and I had a problem booting my computer a few weeks ago. I had this error on boot: early console in decompress_kernel Decompressing Linux... Parsing ...
2
votes
1answer
390 views

Task not run by crontab

crontab strangely does not execute my script, although the script is running just fine from the shell terminal. I already made sure that scripts are separated from each other by a new line space. ...
1
vote
2answers
965 views

No Default Gateway route for bond0 / Slave eth* interface gets IP assigned

I have set up a 4-NIC bond on my Debian Wheezy box. After a fresh boot, the system has LAN access, but cannot resolve outside host names or access outside IPs. It seems that this is because the bond0 ...
12
votes
4answers
52k views

How to install Debian from USB? (Using full size image not netinstall)

I learned of a way to install Debian from USB using the netinstall image, which is fine. However it means I have to spend hours and hours downloading packages to do the install. Is there a way I can ...
12
votes
2answers
6k 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 thinking ...
9
votes
3answers
11k 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 ...
8
votes
2answers
10k views

console-kit-daemon Hogging CPU and RAM

We have a system that's been a bit sluggish. top reports that console-kit-daemon takes anywhere from 18-30% CPU and about 50% memory. There are only two users logged in, one on X and one via ssh. Any ...
8
votes
5answers
21k 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 ...
8
votes
4answers
6k views

Failed at step EXEC spawning /bin/plymouth (Debian testing)

After I performed a dist-upgrade on a Debian testing (Jessie) instance, I can no longer boot. I'm marooned at the command prompt: Welcome to emergency mode! After logging in, type "journalctl -xb" to ...
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 ...
7
votes
1answer
19k views

Fix held broken packages on debian?

I want to begin exploring moving myself away from google apps, because it's expensive, and it looks like citadel has all of the groupware functions I need. So I am trying to install citadel-suite with:...
7
votes
1answer
48k 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 flashplugin-...
7
votes
2answers
8k 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 ...
6
votes
3answers
2k 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 ...
6
votes
1answer
11k views

Use apt get install without inserting the DVD?

I installed Debian 7 using a DVD version, so every time I'm trying to install something using apt-get, the system ask me to mount the DVD. Is there a way to avoid that (inserting every time the dvd).
6
votes
5answers
5k views

Why is mono-complete completely outdated on all versions of Debian?

The current stable Debian 7/Wheezy is running on my server. With apt-get the latest mono version I can get is 2.10 which is three years old. I looked up the mono-complete package and even on unstable ...
6
votes
2answers
503 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 ...
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
3answers
7k 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.
5
votes
1answer
738 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
1answer
2k views

Debian: unable to set up SELinux

I'm trying to set up SELinux on Debian 6 according to (the instructions reported on the Debian wiki). I've run this commands: apt-get install selinux-basics selinux-policy-default selinux-activate ...
4
votes
1answer
384 views

What provides LSB virtual boot facilities for Debian?

Debian's version of Sysv init uses scripts which reference various LSB "virtual" boot facilities such as $local_fs and $network as requirements for use by insserv in setting up the boot sequence, but ...
4
votes
3answers
3k views

ntldr.mod missing from GRUB2

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash ...
4
votes
5answers
525 views

Unpredictable memory explosions

The main server at my company has recently been having a lot of downtime. For reasons that neither I nor the other admins can determine, it has random (VERY sudden) explosions in memory. It becomes ...