Debian GNU/Linux is a widespread Linux distribution focusing on stability, security, and the free software philosophy.

learn more… | top users | synonyms

31
votes
2answers
25k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
5
votes
3answers
2k views

Join multiple MP3 files (lossless)

How do you join multiple MP3 files into one? "cat" and "mp3wrap" are no good as they produce non standard MP3 files. I know I can use audacity, but when you have 1000's of MP3 files to join into ...
65
votes
5answers
26k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
0
votes
1answer
775 views

Two networks cannot be accessed simultaneously

I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file: auto eth0 iface eth0 inet ...
70
votes
5answers
215k views

How to install the real Firefox on Debian?

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work. So what is best way to install the "real" Firefox on ...
2
votes
2answers
1k views

Can I clone a root file system of a running server via ssh?

I want to make a backup of a running server. Every config files and everything without turning it off. How can I accomplish this? Is it ok to try copying it all? Because I had problems with the root ...
3
votes
2answers
5k views

Debian grub2 update removed Windows boot option

Since I updated grub to grub 2 I no longer get the option to boot to Windows (which is unfortunately sometimes necessary for proprietary MSIE browser plugins I need to use for work). Relevant ...
8
votes
4answers
2k views

How can I display the list of all packages installed on my Debian system?

How can I get the list of all packages installed on my Debian system (I know this one is easy)? And also a list of all packages marked as manual? I am thinking about system upgrade, but I can't ...
17
votes
3answers
4k views

How do you find the Ubuntu version (release number / name) from the command line?

How do you find the Ubuntu version (release number / name) from the command line?
8
votes
3answers
14k views

finding L2 cache size in Linux

I wanted to know how to find L2 cache size in Linux... for L1 cache size, I am doing the following pico /proc/cpuinfo what about L2 cache size?
6
votes
3answers
5k views

Install dependencies for a dpkg package?

I have a dpkg file that i want to install. But I get error messages that it is depending on other packages. I used: dpkg -i file.dpkg Is there a way to install dependencies automatically without ...
2
votes
1answer
112 views

The internal architecture of apt management system?

To make it more concrete, what's the relationship among apt-get, apt-file, apt-cache, aptitude and dpkg? I know that aptitude is the friendly front end to dpkg - so is apt-get, but less friendly. So ...
1
vote
1answer
1k views

Installation of Java on Debian 6

To install java on debian 6, I used add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts The ...
0
votes
1answer
1k views

Why does my debian wheezy linux refuse to execute this ELF file?

I just installed EAGLE on my debian wheezy box, but I cannot start the executable: joe@mybox:/opt/eagle-6.4.0/bin$ ll total 18264 drwxrwxr-x 2 joe joe 4096 Jan 7 17:02 . drwxrwxr-x 10 joe joe ...
0
votes
1answer
558 views

Drive cloning with Rsync

I would like to mirror (clone) my TV harddrive to my TVbackup harddrive daily. I don’t want to use RAID, and currently, both drives are in the same computer (this will change in the future). In order ...
0
votes
1answer
736 views

Amaroks stops playing after one song

After upgrading amarok to 2.1 in Debian unstable last week, I noticed that it stops playing after the selected song. I have to click play to play the next one. The old version (1.4 something if I ...
2
votes
0answers
3k views

VMWare player and Windows 7 network problem

Sorry, but I have no idea about Windows, since I'm not really interested (I always use Linux), but at my work, I have to use it, so it's the rule. My problem is with VMware and a network issue. ...
2
votes
3answers
1k views

Not getting gigbit from a gigabit link?

I just upgraded my LAN to gigabit. This is what netperf has to say about things. Before: marcus@lt:~$ netperf -H 192.168.1.1 TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.1.1 ...
2
votes
3answers
2k views

sudo permission denied

I ran this code: sudo cat <<EOF | sudo sed -e "s,%,$,g" >/etc/init.d/dropbox echo "Hello World" EOF But even though, I get "permission denied", cause you have to be root to make changes ...
2
votes
1answer
596 views

Debian Lenny expects udev on a vps that doesn't support it

Primary symptom: /proc/self/fd is there and normally populated, however /dev/fd is not. Process substitution therefore fails, because bash wants to create files under /dev/fd. /dev/.static/ and ...
1
vote
3answers
308 views

Why would a shutdown script NOT run?

I have installed a shutdown script on an Ubuntu system which doesn't get executed. It is an Amazon EC2 instance. I'm not sure it has to do with this fact just wanted to point it out. The script ...
1
vote
1answer
2k views

Unable to resolve hostname to ip

On my Debian server, the hostname is set to "debian." When I tried to ping debian from another Linux machine, it says "ping: cannot resolve debian: Unknown host." When trying to ping to any other ...
1
vote
1answer
1k views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
1
vote
1answer
1k views

In Debian Gnome, windows are maximizing over multiple monitors

This is my screen configuration: +----------------+----------------+ | | | | | | This is X Screen 1 | ...
1
vote
1answer
1k views

Why does my Debian VMWare virtual machine lose all network connections ~15 minutes after boot?

I’m having a strange networking problem with a Debian (6) VMWare virtual machine on my Mac. Around 15 minutes after starting it up, I can no longer SSH into, view websites served from, or ping the VM. ...
0
votes
2answers
754 views

Apache2 won't load css files on Debian 6 (Squeeze)

After using nginx for a few months, which worked pretty well, I decided to switch back to Apache. Now, I have just installed apache2, but it seems like it won't load my CSS files. I've been struggling ...
0
votes
2answers
1k views

USB joystick with Linux only works when I disconnected and reconnected its

HI! I have a problem that it can easy, but I didn't find a solution yet. When I turn on my computer using a Debian or Ubuntu and tried to use the joystick the commands of joystick doesn't pass to ...
79
votes
4answers
72k views

How to list files of a Debian package without install

This command can only list contents of installed packages, dpkg -L PACKAGENAME but how to list contents of a non-installed package, to preview/examine the package?
31
votes
6answers
17k views

Reload a Linux user's group assignments without logging out

When assigning a user's secondary group list using: # usermod -G <grouplist> <user> is it possible to force this group assignment to take effect without logging out all running ...
24
votes
4answers
39k views

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages. I followed the guide here http://www.olpcnews.com/forum/index.php?topic=4766.0 However, when I tried to install some packages, it ...
13
votes
5answers
39k views

How to install debian from a usb drive?

I've got a shining new x64 laptop running Windows 7 and I want to dual boot debian stable. I've installed ubuntu on loads of laptops in the past using a USB drive, but I can't find decent ...
23
votes
3answers
6k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
4
votes
4answers
5k views

Vim and mouse with ssh from Mac to Linux

I certainly know it's possible to make the mouse work in Vim on a remote session to a Linux machine from my Mac, but I haven't figured out just how. Daily vim gives a tip on making it work but if I ...
3
votes
1answer
2k views

Debian eth0 to wlan0 forwarding, with openvpn

I'm using "raspian" (Debian for the raspberry pi), and would like the raspberry-pi to serve internet access through eth0, using wlan0. The catch here is that while wlan0 is connected to my router, I'd ...
0
votes
3answers
2k views

Single application through OpenVPN tunnel (Debian Lenny)

I'm using Debian Lenny and I want to tunnel rtorrent only through a OpenVPN tunnel. I have a tunnel running, the config file looks like this: client dev tun proto udp remote openvpn.xxx.com 1194 ...
9
votes
5answers
885 views

How do I install a .deb file in Ubuntu

How do I install a .deb file in Ubuntu
4
votes
1answer
197 views

Linux kernel - can't access sda16 & sda17

I can't access sda16 sda17 and higher partitions from my linux. This linux is rather debian (very old); kernel 2.6.23. So, I know that so old linux kernel can't access > 16 partitions on single sata ...
2
votes
3answers
4k views

Automatic root login in Debian 6.0 without GUI (xserver)

Is there any simple and straightforward way in which I can set my Debian 6.0 box to automatically login, at startup, with the root account on the console? There is no GUI (xserver) installed on the ...
1
vote
2answers
1k views

Routing IPv6 traffic through Debian pptpd into Hurricane Electric's IPv6 tunnel

I have set up a tunnel using Hurricane Electric's services on a Debian machine. It seems to work alright; I can ping6 ipv6.google.com and open it in links. I've also set up a PPTP daemon on the ...
10
votes
2answers
8k views

How to display a message before login?

I need to display a message before any login on a Linux box, either locally and for remote login via SSH. How can I achieve this? Edit: Thanks for your answers. I had to pick one accepted answer, ...
10
votes
8answers
5k views

Disk operations freeze Debian

I have just installed Debian testing on my new desktop and I am not very happy with performance - when I perform a disk intensive operation, e.g. upgrade packages in the system, everything seems to ...
4
votes
2answers
5k views

How can I determine the current version number of an application with apt-get

Say I have python-twisted installed. sudo apt-get -V check python-twisted does not show the version number, just Reading package lists... Done Building dependency tree Reading state ...
3
votes
2answers
15k views

How to disable IPv6 on Debian Wheezy?

I know there's a wiki entry http://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6 that shows how to disable IPv6 in Debian Squeeze, but that's a 2.6.* kernel. What about 3.2.* kernels running ...
3
votes
3answers
13k views

How to use non-free drivers during debian install

I'm trying to install debian stable using unetbootin. The install process fails with "network autoconfiguration failed", probably due to the ethernet driver not working. My Lenovo U350 has a Broadcom ...
3
votes
3answers
2k views

Slowing down cpu speed

How to slow down my laptop cpu so that it does not overheat?
2
votes
1answer
58 views

How to run a program when specific hard drive is connected (in Debian)?

I want to automatically run a specific command whenever a drive (a specific drive, or any drive) is hot-plugged. I am running a headless Debian system. To be more specific, I want to auto-mount the ...
2
votes
2answers
6k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
2
votes
0answers
118 views

Debian VM will not longer bring up the host-only interface

I've set up a Debian7 VM for PHP development, according to this guide: https://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step/ It worked great, initially. But after restarting my Windows 7 ...
2
votes
3answers
417 views

Vim not restoring screen contents on Debian?

I always thought Vim restored the previous contents of the screen upon closing. This allows me to remember what commands I was typing previously and what I wanted to do next. Recently I've been using ...
2
votes
1answer
3k views

Move Grub to a different drive

I recently added a new ssd to my machine which I intended to have as my main drive. I installed crunchbang and everything went fine, except I unthinkingly accepted updating/overwriting the MBR on my ...