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

9
votes
5answers
3k views

How to see package version without install?

I want to see the version of a package before I install it. How can I do this?
7
votes
1answer
1k views

How to make dpkg faster?

Package (un)installation on a Debian system is horribly slow, partly because it works with a whole bunch of (small) files. Short of getting a faster storage, how do I speed it up? I'm thinking maybe ...
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 ...
7
votes
2answers
8k views

How to check on which drives grub2 has actually installed an MBR?

I'm on a Debian/Squeeze system (with a history going back to at least Woody) which was upgraded to grub2 as part of the Squeeze upgrade. All works well, but I'm about to mess with the disk ...
6
votes
4answers
3k views

Debian: Which firewall for a newbie?

I have to install a firewall on my server (so without X Server). It's a debian lenny. If it is possible, I want to avoid the use of iptables. Is there a way to install/configure a firewall for a ...
3
votes
1answer
2k views

IPTables - Port to another ip & port (from the inside)

I currently have a NAS box running under port 80. To access the NAS from the outside, I mapped the port 8080 to port 80 on the NAS as follow: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT ...
14
votes
2answers
412 views

Is sudo not installed by default in Debian?

I was reading a guide to install some software and came reading until this shocking statement: sudo is not installed on Debian by default. Make sure your system is up-to-date and install it. As ...
11
votes
3answers
4k views

Why does the 'bin' user need a login shell?

During an audit of /var/log/auth.log on one of my public webservers, I found this: Jan 10 03:38:11 Bucksnort sshd[3571]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 ...
6
votes
2answers
4k views

How do I start Xvfb on startup on Debian?

I’ve got a Debian web server that I’m using for occasional screen-scraping via Selenum and Python. I use Xvfb as a virtual X server for Firefox to run on when being controlled by Selenium. Given that ...
3
votes
0answers
468 views

How do I set up the SELinux sandbox in Debian?

I've installed SELinux in Debian sid in order to use the sandbox that locks down apps to a restricted enviroment, but I can't get it to work. If I try to use the sandbox command in permissive mode ...
2
votes
1answer
5k views

Installing debian 7 besides windows 8

I ask this question in superuser but no one can answer my question, I hope any one can help me: I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
1
vote
1answer
23k views

Adding two default gateways in Debian interfaces file

This is my interfaces file: auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 auto eth1 iface eth1 inet static address 192.168.2.10 ...
15
votes
2answers
7k views

Upstart on Debian?

I created an upstart script in Ubuntu, thinking it would be the same for Debian. But Debian doesn't have a /etc/init folder that Ubuntu has. I went to the upstart download page and seeing that they ...
14
votes
4answers
792 views

TCP dies on a Linux laptop

Once in several days I have the following problem. My laptop (Debian testing) suddenly becomes unable to work with TCP connections to the internet. The following things continue working fine: UDP ...
11
votes
1answer
1k views

What happens when I press “Shut Down” from the GUI?

I have been banging my head against this for quite a while now. It's related to this question. I would like to find out exactly what happens when I choose to shut down my Linux box from the GUI. This ...
9
votes
4answers
749 views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
8
votes
4answers
2k views

What directories do I need to back up?

What are the directories one should back up, in order to have a backup of all user-generated files? From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't ...
7
votes
4answers
15k views

Removing broken packages

Recently in a bout of frustration with getting phpmyadmin setup, I decided to start from scratch. Unfortunately, during the uninstall phase, I was prompted with the root password for mysql which I ...
6
votes
1answer
586 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 ...
6
votes
1answer
2k 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 ...
4
votes
2answers
6k views

Uninstalling default VBoxGuestAdditions on Debian

When I ran sh /media/cdrom/VBoxLinuxAdditions.run I got the following warning message: You appear to have a version of the VBoxGuestAdditions software on your system which was installed from a ...
4
votes
2answers
4k views

rpc.statd running on system not using NFS

I have a Debian machine that gets warnings (via the Tiger automatic auditor) that rcp.statd is listening on such-and-such socket. Googling shows rpc.statd is a daemon used by NFS. As far as I know, ...
3
votes
2answers
920 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
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 ...
1
vote
1answer
1k views

Impossible to mount USB stick

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 ...
13
votes
3answers
1k views

Bash scripting and large files (bug): input with the read builtin from a redirection gives unexpected result

I have a strange issue with large files and bash. This is the context: I have a large file: 75G and 400,000,000+ lines (it is a log file, my bad, I let it grow). The first 10 chars of each line is ...
7
votes
2answers
3k 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': ...
6
votes
3answers
6k 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
1answer
2k views

How to launch an application with default “terminal emulator” on Ubuntu?

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop. Is there some command like xdg-open, but for getting the default terminal emulator? I'm ...
6
votes
3answers
6k 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 ...
6
votes
1answer
2k 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 ...
5
votes
3answers
487 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
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
4answers
2k 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 ...
5
votes
2answers
817 views

Finding an earlier version to downgrade to

On my Debian server, I upgraded the SQLite package to version 3.7.7 but discovered that it contains a critical bug that breaks several things including my Subversion repository. So, I would like to ...
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 ...
4
votes
1answer
87 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 ...
4
votes
3answers
277 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
2answers
8k 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. ...
4
votes
4answers
2k 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 ...
4
votes
3answers
2k views

Debian PPC on PowerMac G5 boots to blank screen

As a side project, I thought I'd try to throw Debian (squeeze) on an old G5 PowerMac. It installed just fine, but after the bootloader and kernel boot-up output, the screen goes blank. Looks like a ...
4
votes
5answers
418 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 ...
4
votes
2answers
879 views

USB storage devices aren't automatically mounted when inserted on a fresh install of Debian 6.0

I installed Debian 6.0 (squeeze) a few days ago on my machine. I installed the default GNOME desktop, standard settings. Unfortunately, I just noticed that when I plug in USB storage devices (external ...
3
votes
4answers
160 views

Connect to the Internet on a VPN connected server without Internet

I've a remote server which is not connected to the internet, but I can connect from via SSH to it through a VPN tunnel. On this client I got internet. Is it possible 'get internet' from the client ...
3
votes
3answers
246 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
11k 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# ...
3
votes
1answer
248 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 ...
3
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 ...
3
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 ...
3
votes
2answers
9k 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 ...