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

learn more… | top users | synonyms

33
votes
2answers
29k 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 ...
67
votes
5answers
29k 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
805 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 ...
80
votes
5answers
242k 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
2k 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 ...
2
votes
2answers
12k views

Change the default codepage from latin1 to utf8 on a linux machine

How can I change the default codepage/charset on a linux system from latin1 to utf8? I need to do this on two systems, one is running Ubuntu and the other Debian.
3
votes
2answers
6k 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 ...
0
votes
2answers
1k 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 ...
36
votes
6answers
20k 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 ...
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 ...
19
votes
3answers
5k 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
16k 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
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 ...
2
votes
1answer
113 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
2k 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
648 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
738 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 ...
3
votes
2answers
491 views

Automatically change ownership using WinSCP?

I saw several threads about having issues with unexpected file permissions after file upload. I tried their solutions with no luck, I have to raise the problem in my way. I run Nginx as ...
3
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
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
2k 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
1answer
611 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
1answer
4k views

Trying to dual boot Windows 8.1 and Debian Jessie

I've been trying for a month now to dual boot Windows 8.1 and Debian Jessie now. I thought it was about time I asked for help as I'm becoming a little crazy. I've tried following a lot of tutorials, ...
1
vote
3answers
417 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

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
2k 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
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 ...
87
votes
5answers
82k 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?
26
votes
4answers
45k 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 ...
14
votes
6answers
47k 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 ...
33
votes
6answers
6k views

Anything like the Debian Package Manager for Windows?

I know that sounds a weird request. But I was installing a bunch of packages in Ubuntu yesterday, using apt-get and I started wondering if anyone had adapted it or produced anything similar for ...
25
votes
3answers
7k 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
6k 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
3k 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 ...
2
votes
2answers
2k 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 ...
0
votes
4answers
3k 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 ...
11
votes
2answers
10k 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, ...
9
votes
5answers
902 views

How do I install a .deb file in Ubuntu

How do I install a .deb file in Ubuntu
4
votes
1answer
209 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 ...
4
votes
1answer
3k views

exporting a virtualbox VDI to a harddrive to boot it natively

I have a VirtualBox 3.1.2 image of Debian 5.0.2 running on Windows XP SP3. I would like to export that Debian image to a USB harddrive such that I could boot to that drive and run it natively. Is that ...
3
votes
2answers
14k 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
3answers
5k 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 ...
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 ...
5
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
19k 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
508 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 ...