Debian is a community driven GNU/Linux distribution first announced 1993. It is well known for its package management system APT and large number of packages. Many other distributions are influenced or originate from it, like Ubuntu or Knoppix. Use this tag for questions only related to Debian (not ...

learn more… | top users | synonyms

6
votes
1answer
721 views

Wi-Fi constantly disconnects

Using either NetworkManager or Wicd to manage wireless networking on my Wi-Fi-powered laptop, too often I get randomly disconnected, and I see these messages on /var/log/syslog: Dec 10 05:21:26 ...
6
votes
2answers
7k views

How do I configure syslinux to boot immediately

I'm tweaking a Debian live system (built with live-build), and I want it to boot straight into the system from syslinux — no menu, no timeout. According to the syslinux documentation, a timeout value ...
6
votes
1answer
1k views

Why does Stackoverflow in Iceweasel cause high CPU usage for Xorg?

If I go to the front page of this site, and hit page down/page up repeatedly, it's pretty quick, and firefox-bin (iceweasel) uses maybe 50% CPU, Xorg uses maybe 40%. If I go to Stackoverflow's main ...
6
votes
3answers
941 views

How to tell when a computer is idle?

I have a computer that is only used some of the time, and I was was wondering if there was a way to have it turn itself off after a period of inactivity. Here's the tricky part, if I was just ...
6
votes
1answer
1k views

How to set keyboard layout used to enter password on an encrypted filesystem?

After my upgrade to Debian 6 (Squeeze), the keyboard layout used to enter the password of encrypted filesystem has been changed. How can I revert it back to previous one? My understanding is that, ...
6
votes
1answer
191 views

Auto-Mounting CIFS Shares on Laptop

I've seen questions similar to this asked before in several variations, but I have yet to locate a satisfactory answer. Here's what I have: A highly mobile Debian laptop that switches networks ...
6
votes
2answers
545 views

Why did dd create a different uuid?

root@debian:/home/tiger# dd if=/dev/sda of=/dev/sdb bs=10240k 11447+1 records in 11447+1 records out 120034123776 bytes (120 GB) copied, 4729.59 s, 25.4 MB/s root@debian:/home/tiger# blkid ...
6
votes
1answer
781 views

How to make a system lock when the USB pendrive with authentication key is removed?

Say, I have USB drive authentication up and working. So far, so hoopy. But now I want to take the next step, which is locking the machine when I eject the medium. I know there is udev I can script, ...
6
votes
2answers
873 views

Enabling 1366x768 resolution in Debian Wheezy on Atom D525 Board

For some reason, when I try to update to a modern version of Linux from Debian 6.0.7 or Ubuntu 10.0.4, I lose most of the resolutions that were available, including the native resolution of the panel ...
5
votes
3answers
6k views

Missing init.d/apache2 file

I am new to linux and just recently messed up my first apache/tomcat configuration. After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file ...
5
votes
3answers
1k views

The package containing shutdown command

Which Debian or Ubuntu package has the /sbin/shutdown command in it? I want to read the source of that command (and possibly modify it to report notification on desktop) and I didn't know which ...
5
votes
1answer
10k views

Unable to install ia32-libs in Debian Wheezy

I was trying to install ia32-libs in Debian Wheezy. I got the error The following packages have unmet dependencies: ia32-libs : Depends: ia32-libs-i386 but it is not installable E: Unable to correct ...
5
votes
2answers
5k views

Why do iptables rules disappear when restarting my Debian system?

I add this rule: sudo iptables -t nat -A OUTPUT -d a.b.c.d -p tcp \ --dport 1723 -j DNAT --to-destination a.b.c.d:10000 When restart computer rules are deleted. Why? What I can do to make ...
5
votes
5answers
5k views

What's the currently recommended way to install node.js on Debian?

I've found a few different methods on the web, but some of the articles are quite old, and I'm concerned that the methods they describe have been superceded. Can anyone tell me what the currently ...
5
votes
2answers
8k views

Installing Debian without GUI for a web server

I'm unfamiliar with Debian (obviously), so I downloaded the live ISO thinking it might help me out. From the live GUI, I doubled click on the install icon on the desktop and proceeded - it gave me a ...
5
votes
5answers
3k views

/etc/resolv.conf changes during reboot

My ISP asked me to use custom nameserver settings. I have placed these in /etc/resolv.conf. Unfortunately, every time I reboot the computer, the contents of this file is changed. To connect to the ...
5
votes
2answers
988 views

How do I test hardware components to find out which one is bad?

Question How do I test hardware components to find out which one is bad? Details I have an old machine running debian as a file server using samba. The other day I was unable to login to my file ...
5
votes
3answers
419 views

Distro for a startup?

We run a small start-up in the SaaS industry. About half of our current staff are developers using their own laptops with various Linux distros (Ubuntu, Debian, Fedora) with a few exceptions of ...
5
votes
3answers
5k views

apt-get - autoremove wants to uninstall Gnome

As empathy 2.30 in Debian Wheezy didn't meet all my preferences I tried out empathy 3.1 from experimental, using the command: apt-get -t experimental install empathy I had to find out, this version ...
5
votes
3answers
1k views

Is Ubuntu LTS binary compatible with Debian?

RedHat and CentOS are binary compatible. So everything that works on the one will most propably work on the other (same RPMs, same libs, same versions, same dependencies)... Does the same hold true ...
5
votes
3answers
7k views

How to determine why my computer crashed?

Yesterday, I ran a bash script for about 10 hours. When I went to use the computer, it locked up. I have an Eee PC with Debian. The screen was still visible, but the mouse or keyboard had not ...
5
votes
2answers
642 views

How do I find installed packages that have no install candidate?

I'd like to retrieve a list of installed packages that have no install candidate (e.g., because I removed an apt source file entry). How would I do that on Debian-based systems?
5
votes
1answer
3k views

Set persistent routing table on Debian

I have modified my routing table by deleting one rule, and adding two new rules for my second interface eth1: route del -net 10.1.2.0 netmask 255.255.255.0 route add -host 10.1.2.51 eth1 route add ...
5
votes
6answers
3k views

How to clean up unnecessary files

Please suggest me any particular unnecessary file that I can clean to back everything to normal condition(temporarily). (i.e. any log or archieve or anything ). My var/log has only 40MB and Home ...
5
votes
2answers
674 views

What's up with this 'gnome' package?

I have recently grown tired of the way Rhythmbox starts up every time I plug in my MP3 player. I know I could simply disable this, but I've decided to uninstall Rhythmbox instead. It's such a ...
5
votes
2answers
94 views

Debian: keep custom changes in initscript

I had to modify the initscript for Postfix /etc/init.d/postfix to customize it for my special needs. Now I want to ensure, that in case of the postfix package being updated in the future (I am running ...
5
votes
2answers
76 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
1answer
23k 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 ...
5
votes
2answers
1k views

can packages marked Debian/Ubuntu be installed in Linux Mint as well?

I have been using Ubuntu 12.10 for some time now, and I kinda hate it. 12.04 was a lot better. While i can still revert to 12.04, I am thinking about trying out Linux Mint based on 12.10 (the Nadia ...
5
votes
3answers
9k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
5
votes
3answers
5k views

How do I create web pages in my home directory and have the web server serve them in my web browser?

I have recently installed the Apache web browser in my Debian Squeeze (using command tasksel and selecting [ ] Web server). Now I get it to start via sudo /etc/init.d/apache2 start and then I go to my ...
5
votes
1answer
2k views

How to reinstall apt on Debian?

I accidently removed apt-get from my Debian system by issuing: dpkg --force-depends --purge apt How can I reinstall it?
5
votes
2answers
434 views

How to see password as we type it

In debian wheezy terminal i type su - It ask for password, which i type but it dont show anything as Password: I want to it to show at least some asterisks as the placeholder for the password ...
5
votes
3answers
489 views

How to make gdm3 start X installed in a different path (or running X from a personalized path)?

I've built the entire Xserver from git for testing proposes using the build.sh provided by freedesktop.org as the easier method to compile all modules against the git tree, and installed under the ...
5
votes
2answers
247 views

Debian-based distros that have a regular release cycle

Are there any Debian based distributions that have a regular release cycles besides Ubuntu or Linux Mint? I'm running Squeeze right now and I really like the Debian ecosystem and package system. ...
5
votes
3answers
5k views

Backspace, Tab not working in terminal (using ssh)

When I ssh into another machine with Debian with my account(with sudo permissions), my backspace key generates some awkward symbols on pressing. Also Tab & del keys don't work too. On the other ...
5
votes
1answer
40 views

What are the numbers after the version in the output of apt-cache policy?

This is the output of apt-cache policy firefox firefox: Installed: 26.0~linuxmint1+lmde Candidate: 26.0~linuxmint1+lmde Version table: *** 26.0~linuxmint1+lmde 0 500 ...
5
votes
1answer
99 views

command to reboot as non-root user

I am using LXDE on Debian. When logged in LXDE as user, I can click on the logout icon in the menu and choose one of the options: shutdown reboot logout suspend But when I type reboot or shutdown ...
5
votes
1answer
84 views

How to stop `apt-get` complaining about unmet dependencies? [duplicate]

I have been installing some applications onto my Debian system. Now there are some that have dependencies that I do not want installed with the applications at the moment. I have managed this by using ...
5
votes
4answers
186 views

How can I know if a virtual package is “installed” on a Debian system?

Some packages, have a Provides: header. For example, the package postfix on Debian Wheezy has Provides: mail-transport-agent. The package mail-transport-agent which doesn't exist physically is ...
5
votes
2answers
283 views

Best way to set serial port speeds on boot?

I've got instruments hooked up to /dev/ttyS1 through ttyS9 on a machine running Debian Wheezy. The various instruments communicate at various speeds. Is there a better way to set the baud rates than ...
5
votes
3answers
635 views

Create Null Modem Pair linux

I am looking to create virtual serial ports on Debian 6 squeeze. Basic requirements are: be able to connect as if port was a real serial port( IE be able to set baud, stop bits etc) com port pairs ...
5
votes
2answers
2k views

How do I fix broken libxml2-dev dependency on Debian using apt?

When I run sudo apt-get upgrade on my Debian Squeeze install, I get the following error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: ...
5
votes
3answers
720 views

Managing unofficial repositories on a Debian system

A few years ago I added this repository to my sources.list: http://www.deb-multimedia.org/ because it contained packages like acroread or flash player, which were either missing or out of date in ...
5
votes
2answers
420 views

Gnome-core on Debian

I installed only the base debian package and during installation I did not select any of GUI window manager, laptop, or system utilities. So basically I'm running debian from command line, now I want ...
5
votes
1answer
330 views

Why is it possible to leave CHROOT with this sftp config?

I'm trying to create the user lenny, that has read and write permissions in the folder /home/lenny/ and has no shell but only access via SFTP. I'm doing the following: useradd lenny mkdir /home/lenny ...
5
votes
3answers
584 views

How to keep track of installed software

Every now and then I'm in need of updating a software running on one of our testservers at work (mostly Debian). What really confuses me almost every time is the fact that there is not just one way to ...
5
votes
2answers
3k views

changing the names of network interfaces, debian wheezy

I'm trying to set a name for an interface, "ethLan" instead of eth0. Doing so also ensures that the if's name will remain consistent at every reboot and kernel. I did find some articles in the ...
5
votes
1answer
4k views

How to “manually fix this package” (aptitude error)?

Whenever I try to aptitude install something I get this error: E: I wasn't able to locate a file for the libxmlrpc-c3 package. This might mean you need to manually fix this package. (due to ...
5
votes
2answers
2k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to ...