Questions tagged [debian]

Questions specific to the Debian official distribution (stable, testing, or unstable); if you are using a derivative of Debian (e.g. Mint, Ubuntu, Kali, etc), then use that distribution’s tag instead.

Filter by
Sorted by
Tagged with
18
votes
3answers
50k views

Which users are allowed to log in via SSH by default?

When I set up my Debian 6, I was wondering, which users apart from root whose password I know can log into my system via SSH? When I install Apache 2 a user called www-data gets created. Does this ...
18
votes
3answers
19k views

Restore /etc/ configuration files from the default

Is there a way to replace /etc configuration files from a package, overwriting my local changes? I've tried apt-get install --reinstall mypackage but it doesn't update the files. How can I do this?
18
votes
3answers
17k views

How Can I Improve the Font Rendering In Firefox

My font rendering in Firefox looks terrible on pages such as facebook.com and twitter.com: I'm running Debian 8 and fiddling with hardware acceleration, and it doesn't seem to work.
18
votes
3answers
12k views

Will Debian Wheezy (stable) automatically upgrade to Jessie once Jessie becomes the stable release?

I am on Debian Wheezy (stable) and routinely update my system via the basic: sudo apt-get update sudo apt-get dist-upgrade In the future, once Jessie becomes the stable release, I wonder whether ...
18
votes
2answers
68k views

How to keep Debian internal clock synchronized (with NTP servers)?

I have a home server which runs an up to date Debian 7.5 (wheezy) installation. I just discovered that the server has its internal clock set to ± 3 minutes in the future. I knew that I could use NTP ...
18
votes
4answers
21k views

Find which process is modifying a file [duplicate]

A specific file on our production servers is being modified at apparently random times which do not appear to correlate with any log activity. We can't figure out what program is doing it, and there ...
18
votes
2answers
8k views

How to implement package install suggestion on Debian?

I have noticed that while on Ubuntu, if I type the following: mc and it isn't installed, I get the message below: The program 'mc' is currently not installed. You can install it by typing: sudo apt-...
18
votes
1answer
2k views

What does \l mean in /etc/issue?

$ cat /etc/issue Debian GNU/Linux 8 \n \l \l does not seem to mean carriage return and newline here. What does \l mean in /etc/issue?
18
votes
2answers
7k views

How to prevent prompt that ask to restart services when installing libpq-dev

I want to install libpq-dev on my Vagrant machine. I install it with $ apt-get install -y libpq-dev During installation a prompt appears which asks if it's allowed to restart some services ...
18
votes
2answers
95k views

How can I run as another user?

This is the bash code that should be runned. So first it substitutes the user to openproject and than runs all the code su openproject -c "bash -l" cd ~/openproject git checkout Gemfile.lock git ...
18
votes
3answers
5k views

Why is there a separate package repository for Debian security updates?

Why don't they upload packages to the normal package repository? Is this a general convention (IE, do other distros separate the repositories also)?
18
votes
5answers
18k views

How to stop update-grub from scanning all drives?

Every time update-grub is run all hard drives are scanned. Each drives that is in standby state will spin up to go idle. This is a waste of energy. We use update-grub version 1.98: # update-grub -v ...
18
votes
1answer
7k views

Output visual (ASCII) Debian dependency tree to terminal?

I'm not sure if this is more of a SuperUser or UnixLinux question, but I'll try here... Recently, I found this: #710689 - aptitude: use unicode character in the trees - Debian Bug report logs It ...
17
votes
10answers
88k 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 ...
17
votes
3answers
2k views

What is the difference between 'contrib' and 'non-free' packages repositories?

Although I like Debian for various reasons, it is not always easy to find some documentation on specific aspects of this distribution and its policies. My question is: what is the difference between ...
17
votes
3answers
18k views

How can I find the package that contains a program in Debian? [duplicate]

I am using a minimal Debian system which does not have the top program installed. I tried to install top with sudo apt-get install top, but top is not a package name. It seems that top is a part of ...
17
votes
3answers
27k views

How to interpret the output of 'lsusb' — What are all these Linux Foundation root hubs?

I recently found out about the lsusb command while troubleshooting a headset issue.. My laptop runs debian and doesn't have anything plugged into USB currently, but when I run the "lsusb" command, I ...
17
votes
2answers
33k 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 ...
17
votes
5answers
20k views

gpg: keyserver receive failed: Server indicated a failure

This error has arise when I add gns repository and try to use this command: #sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B the error is: gpg:...
17
votes
1answer
16k views

UEFI + BIOS bootable live Debian stretch amd64 with persistence

All of the information I currently find on this matter is insufficient for my taste. It is either outdated, misleading or even wrong, seems overly complicated or not covering this specific question. ...
17
votes
5answers
3k views

list all components of an ARM computer in Linux?

I have an ARM based computer that seems to work alright running Ubuntu Linux (non GUI). How do I get a list of all the components that are on this computer ? like type of Ethernet chip, Wifi chip, ...
17
votes
3answers
5k views

Is it bad/dangerous/inappropriate to put arbitrary backups in /var/backups?

There's a system-created /var/backups directory on Debian-based systems. I need a place to store backups of several git repositories (the primaries are on bitbucket). If I store them in /var/backup/...
17
votes
4answers
42k views

start nginx on boot with systemd

I just installed nginx 1.9 on a Debian 8 server. nginx is working fine, when I tell it to run, but it won't seem to load nginx automatically on boot. I have tried numerous init scripts recommended ...
17
votes
3answers
96k views

Can I resize the root partition without uninstalling and reinstalling Linux (or losing data)?

I have started using a machine that has both Debian and Windows 7 installed. However, after installing some programs I started getting a message that there is not enough space. I knew that the system ...
17
votes
2answers
17k views

Debian: Is it possible/safe to install packages from an older version of the repository?

I'm currently running Debian testing (Wheezy) and am trying to get SCIM working. I want to install the scim-pinyin package, but there is no such package available in the testing repository, although ...
17
votes
1answer
7k 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?
17
votes
3answers
15k views

“Proper” way to run shell script as a daemon

I am writing a shell script that I would like to run as a daemon on startup without using external tools like daemontools or daemonize. Linux Daemon Writing HOWTO According to the Linux Daemon ...
17
votes
4answers
61k views

How to boot Debian into text mode without using GUI?

How can I boot Debian into text mode? My mouse and keyboard are working in GRUB, but when the login screen appears they don't, so I can't do anything.
17
votes
2answers
14k views

How do I replicate installed package selections from one Debian system to another? (Debian Wheezy)

I am trying to set up a staging environment in a VM, in order to test updates before applying them to my main system. In order to do so, I have done a basic installation of Debian Wheezy (same as on ...
17
votes
6answers
27k views

Reinstalling all Debian packages

I killed by mistake a dpkg process running in the background and I would like to reinstall all packages to be sure everything is allright. First, I tried to get a list of all packages and reinstall ...
17
votes
1answer
1k views

Rebooting without shutting off?

I have been using Linux Mint Debian with Debian unstable and noticed that when I press restart, instead of going all the way back to the BIOS, then grub, then booting up, I seem to be shutting down ...
17
votes
1answer
35k views

Installing Unity on Debian

I'm a former Ubuntu Unity user, and currently running Debian Squeeze. I love Debian's stability over Ubuntu, but I do miss being able to switch between applications use Super+1,2,3 etc. Has anyone ...
17
votes
2answers
3k views

Is it possible to simulate installation of Debian packages, and still marking them as installed?

Here's what I would like: Start with a virtual system, with no installed packages. Then I invoke a tool, similar to apt-get to ask it to compute the dependencies and mark all the packages that ...
17
votes
4answers
3k 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 (...
16
votes
5answers
21k views

Failed at step EXEC spawning /bin/plymouth (Debian testing)

After I performed a dist-upgrade on a Debian testing (Jessie) instance, I can no longer boot. I'm marooned at the command prompt: Welcome to emergency mode! After logging in, type "journalctl -xb" to ...
16
votes
3answers
28k 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, I'...
16
votes
4answers
5k 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 ...
16
votes
2answers
9k views

ssh very slow connection

I have several remote systems, and one of them, a linode running debian, is very slow to ssh into - it takes approximately 20-25 seconds every time. This seems to have happened relatively recently. I ...
16
votes
2answers
417 views

Ghost NTP server on Debian 8.6

So the university IT security team and I have been going around and around on this with no breaks... anyone have any thoughts on this: I recently set up a small file server for my lab running Debian ...
16
votes
2answers
106k views

How to connect to wifi from command line?

I'm using latest version of Debian-based Linux Kali. Maybe it is an XY problem, as the main problem is after I log in to the system I get a blank screen and mouse pointer. Somebody on the Internet ...
16
votes
9answers
70k 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 /usr/lib/jvm/java-6-openjdk/jre/bin/...
16
votes
3answers
14k views

Full disk encryption with password-less authentication in Linux

I have a fairly standard disk encryption setup in Debian 5.0.5: unencrypted /boot partition, and encrypted sdaX_crypt that contains all other partitions. Now, this is a headless server installation ...
16
votes
1answer
6k 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 faster storage, how do I speed it up? I'm thinking maybe ...
16
votes
3answers
75k views

How to mount a disk from destroyed raid system?

I have a horrible situation where I have to restore data from damaged raid system in a rescue Debian Linux. I just want to mount them all to /mnt/rescue in read only modus to be able to copy VMWare ...
16
votes
1answer
12k 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 ...
16
votes
1answer
28k views

How to enable both built-in audio output and HDMI audio output with PulseAudio?

I've been searching for this issue for days now and tried various solutions suggested, without any success. Basically, I have a laptop with built-in audio (the output goes either to the headphone ...
16
votes
1answer
2k views

Is there a way to measure the progress of ext4lazyinit?

I had asked a question about ext4lazyinit here. From all I have read and understood, it simply allows you to start using the hdd without creating all the inodes for your file system. The only way ...
16
votes
3answers
9k views

clipboard not working when connecting via rdesktop to xrdp-sesman

I have a Debian machine with xrdp-sesman setup following way Xvnc 127.0.0.1:5910 xrdp-sesman 127.0.0.1:3350 xrdp 0.0.0.0:3389 I am connecting to this machine with rdesktop ...
15
votes
3answers
4k views

How do I create a UDP packet?

When I perform the following Netcat command and view the packets with Wireshark, it says the UDP packet is malformed. $ echo "this is a test" | nc -u 127.0.0.1 53 Similarly, using commands like $ ...
15
votes
3answers
25k views

How to stop a daemon from starting up on boot-up in Debian

There's a few daemons I disable from starting on boot-up. As an example, I use the following: sudo update-rc.d -f postgresql remove I'm not even sure if that command is correct and I don't remember ...