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)

6
votes
3answers
6k views

How to bring up a wi-fi interface from a command line?

I can't figure out how to properly bring up the wi-fi card on my laptop. When I turn it on and issue $ sudo iwconfig wlan0 txpower auto $ sudo iwlist wlan0 scan wlan0 Interface doesn't support ...
6
votes
6answers
6k views

Installing Skype on Debian x64

I am new to Linux and I'm trying to install Skype using this manual. I successfully download the package using the command: wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb-64 ...
6
votes
2answers
197 views

How can I chase a program who is rising up my laptop's temperature?

After 40 days of non-upgrading I came back from a trip and I decided to dist-upgrade my Debian Sid box. Everything went fine but after rebooting I noticed that the temperature was 15°C over its ...
6
votes
2answers
29k views

How can I easily configure samba share in Debian Wheezy?

I have just installed a new Debian Wheezy and I am trying to create a new share. I am using KDE 4, and there in the folder preferences menu I found option to share the folder with Samba - it doesn't ...
6
votes
2answers
978 views

How to implement package install suggestion on Debian?

I have noticed that while on Ubuntu, if I type the following: mc and it isnt installed, I get the message below: The program 'mc' is currently not installed. You can install it by typing: sudo ...
6
votes
3answers
198 views

What can I do when apt-get/aptitude doesn't create a menu item for an installed program?

Obviously, this question is specific to Debian-based setups. I find that, often, packages I install using aptitude or apt-get only say that a menu item has been created. No menu item actually ...
6
votes
1answer
30k 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 ...
6
votes
1answer
803 views

How can I view the list of packages that were “suggested” by apt?

When installing a package using apt-get install package a list of "Suggested packages" is displayed. What command can be used to print it again?
6
votes
2answers
8k views

Is Grub installed to all the MBR of a RAID array by default by the Debian Installer?

If I use the Debian Stable (Squeeze) Installer to install Debian, booting from a RAID1 pair of drives, does it write grub to the MBR of both drives - if not, how should I best protect against a drive ...
6
votes
5answers
24k views

Problem to launch java at Debian: “error while loading shared libraries: libjli.so”

I'm trying to launch java: $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory $ ldd ...
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 ...
6
votes
5answers
279 views

H.264 support in Firefox (Iceweasel) 24

I am using Firefox (Iceweasel) 24 in Debian Wheezy. When I go to https://www.youtube.com/html5 it shows me that my browser does not support H.264 When I go to the same URL with Chrome, it shows H.264 ...
6
votes
2answers
182 views

How many commands can be queued up with control operators?

I have been reading up on control operators, and I was wondering if there was a limit to how many commands you could line up with control operators, such as ||, && and ;. In addition, is ...
6
votes
2answers
442 views

How can I install Sun JDK on a Debian based system?

I can't find any .deb packages for Sun's Java Development Kit. How can I install it on my Debian machine without causing conflicts with the already installed openjdk packages?
6
votes
3answers
989 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
2answers
11k views

Get newest gcc for debian?

I can't build my apps on gcc since I use various c++0x features. I'm on Debian 6 (Lenny) and after upgrade/updating I have gcc version 4.4.5-8. I'm unsure which version is required but mingw 4.6.2 ...
6
votes
3answers
700 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 ...
6
votes
1answer
1k views

Significant difference in speed between fsck using ext3 and ext4 on Debian Squeeze

Recently I installed Debian Squeeze, first using ext3 and then again using ext4 on the same machine. The automatic fsck done after a certain number of mounts is much faster using ext4 (about 1 min) ...
6
votes
2answers
1k 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 ...
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 ...
6
votes
1answer
591 views

Are Debian- and RedHat-style repositories compromised by Heartbleed OpenSSL bug?

The Heartbleed exploit (CVE-2014-0160) makes SSL connections using OpenSSL vulnerable to private key leakage. Does it mean that official update channels in RHEL/CentOS/etc. and Debian/Ubuntu shall be ...
6
votes
2answers
987 views

How to regenerate /etc/init.d/.depend.(boot|start|stop) on Debian?

Suppose one deleted the following files. /etc/init.d/.depend.boot /etc/init.d/.depend.start /etc/init.d/.depend.stop How to regenerate them?
6
votes
1answer
211 views

Does fail2ban offer any additional protection to SSH if password login is already turned off?

I’m setting up a Debian VPS on Linode to use as a public web server, and I’m following their security suggestions. The last suggestion they make is to install fail2ban, to avoid dictionary attacks on ...
6
votes
3answers
868 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 ...
6
votes
2answers
411 views

Program to show keystrokes (shortcuts) on display

I'm going to make a presentation about a software product and it has some key shortcuts, that I want to show. Is there a program, which displays the keyboard-shortcuts, that I have used?
6
votes
3answers
8k 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
2answers
197 views

After update, Synaptics touchpad gives lethargic pointer

My laptop is running KDE on a Debian a testing/unstable mix. I recently did an upgrade, which pulled in a new xorg version (xserver-xorg-core:amd64 2:1.15.1-1 → 2:1.15.99.904-1), including all the ...
6
votes
2answers
114 views

How to remove a group of no longer needed Debian packages?

When building software, I sometimes need to install libraries, binaries, etc. which are only required to build the package but then I forget about removing them, so I end having to cleanup several ...
6
votes
2answers
204 views

How to automatically generate .desktop file?

There's a .deb software that doesn't have a .desktop file, I created that file. I want to create another package for that software, when the user installs it, I want the .desktop file to be generated ...
6
votes
1answer
1k views

How to quickly create a local apt repository for random packages using a Debian based linux distribution?

Some situations call for manually installing a local package using dpkg -i <packagename>. Sometimes it may be further useful to leverage the functionality of apt with that package so the ...
6
votes
1answer
620 views

Run shell script when new volume mounted

I'm interested in running an rsync script whenever any new volume is mounted on my Debian box. What are some potential triggers / strategies for listening for a new volume mount?
6
votes
3answers
835 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 ...
6
votes
1answer
4k 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 ...
6
votes
2answers
775 views

How to include data files (pictures, text files, …) in a debian package

I'm a beginner in Debian packaging so sorry for the obvious question. I followed a tutorial to make a package application, but it only deals with the source, there's absolutely no other file types ...
6
votes
3answers
5k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
6
votes
1answer
724 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
3answers
8k 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
4answers
6k views

Fail2ban block with IPtables doesn't work on Debian Lenny. [moved ssh port]

I've recently decided to do some security maintenance. I saw my logs, and there were some tries against my SSH server. At first, I moved away the SSH port from the default 22. After it, I read ...
6
votes
1answer
782 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
1answer
32 views

30 second gap in boot process

I did a full upgrade on my Debian system (jessie/sid). Unfortunately there is now a 30 second gap on the bootup and I really don't know where it comes from and where I have to look to find it. I ...
6
votes
2answers
5k 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 ...
6
votes
2answers
659 views

How can I create a .deb package with my compiled OpenCV build?

OpenCV 2.4.2 took 6 hours to compile on the Raspberry Pi and I'd love to package everything up as a deb but I have never done that before. How can I package the compiled files so that they download or ...
6
votes
1answer
742 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 ...
6
votes
3answers
2k views

Proper way to disable tmpfs on /run/shm

How do I disable tmpfs on /run/shm? I searched through initscripts and found that the following code checks the entry in fstab, but what should I change to make it not mount /run/shm? I'm running ...
6
votes
1answer
694 views

Debian Wheezy, VirtualBox, HP DV6-7099EL problem with AltGr

I just bought a HP DV6-7099EL laptop (Italian keyboard). I'm going to install Debian in a week or two, I just want to test the computer without touching the partitions (just in case I need ...
6
votes
1answer
1k views

TrackPoint hard to control after Debian update

I'm on debian testing, and after rebooting (after an uptime of 3 weeks or so, that included a bunch of package updates, I believe including the kernel) the other day, the fine-adjustment - what a ...
6
votes
2answers
8k 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
1k 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, ...