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
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
2answers
37k views

E: Unable to locate package vim on Debian jessie simplified Docker container

From inside a Debian docker container running jessie I get vi blah bash: vi: command not found so naturally I reach for my install command sudo apt-get install vim Reading package lists... Done ...
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 ...
15
votes
4answers
4k views

In Debian based systems, how do we purge configuration files of packages that have already been uninstalled?

To be more specific, I would like to do the equivalent of adding the --purge flag to the following command sudo apt-get autoremove --purge [package name] to packages that are no longer on the system....
15
votes
1answer
2k views

How can tasks “refuse to freeze” on suspend?

Yesterday, when closing my laptop, it did not go into standby mode immediately. According to the logs, it was trying to, but a tasks refused to freeze: Freezing of tasks failed after 20.005 seconds (...
15
votes
3answers
30k views

What's the consequences if I don't install the “standard system utilities” of Debian?

During the installation, there is a choice to let you choose which desktop and whether or not install the standard system utilities. See here for the screen shot and the packages included. Personally ...
15
votes
3answers
28k views

What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?

Is there a term to refer to the subset of packages that is automatically installed by Debian distribution? I though that it had something to do with packages priorities, but it doesn't seem to be the ...
15
votes
1answer
8k views

Making Debian Bleeding Edge

I have Debian 6 installed on my computer and when I installed it a year ago, I was all about having a stable system for my needs; I didn't care about the recency of the packages. Now, my opinions have ...
15
votes
1answer
9k views

Which Debian kernel should I install?

I've started installing Debian testing on amd64 and I've come to a screen asking me to install a kernel. It gives me a choice between linux-image-3.16-2-amd64, linux-image-amd64, and none. What is ...
15
votes
4answers
14k views

Is there a standard way to start and stop services on Linux?

Until recently there was a simple and effective way to start/stop/restart services: service nginx start|stop|restart This worked perfectly for so many years,... until some smart-pants decided to ...
15
votes
2answers
30k views

High memory usage but no process is using it

I run free -m on a debian VM running on Hyper-V: total used free shared buffers cached Mem: 10017 9475 541 147 34 909 -/+...
15
votes
1answer
3k 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 ...
15
votes
2answers
870 views

Why aren't the Fedora GPG keys signed?

Fedora uses GPG-keys for signing RPM packages and ISO checksum files. They list the keys in use (including fingerprints) on a web page. The web page is delivered via https. For example the checksum ...
15
votes
4answers
622 views

Unable to remount / back to read-only after package upgrade

I am using Debian Stretch. My root partition is mounted read-only. Only when I install or upgrade packages, is / remounted to read-write (by using apt hook), and then remounted back to ro. Sometimes ...
14
votes
6answers
13k views

Why does Debian come without a firewall enabled by default?

I'm using Debian 9.1 with KDE and I'm wondering why it comes without a firewall installed and enabled by default? gufw is not even in DVD1's packages. Are people expected to connect to the Internet ...
14
votes
6answers
27k views

How do I update apache2 to the latest version on Debian jessie?

In my Debian machine, the current version of apache2 is 2.4.10: root@9dd0fd95a309:/# apachectl -V Server version: Apache/2.4.10 (Debian) I would like to upgrade apache to a latest version (at least ...
14
votes
3answers
38k views

How to force fsck at every boot - all (relevant) filesystems?

I'm working with a fanless PC (hundreds of them, in fact) that has debian 6 and 3 partitions( FAT and 2x ext2). The system doesn't have a power button as such so most people tend to yank the plug to '...
14
votes
2answers
399 views

Could Apt delete packages that are need by software that users have installed from source?

Apt handles dependencies among packages installed from its repositories or *.deb files. However, what about software that users have compiled and installed from source with ./configure && ...
14
votes
3answers
35k views

changing the names of network interfaces, debian wheezy

I'm trying to set a name for an interface, "ethLan" instead of eth0. Doing so also ensures that the if's name will remain consistent at every reboot and kernel. I did find some articles in the ...
14
votes
2answers
1k views

Host name changed remotely by wifi?

Am am currently visiting TU Wien and today I connected my Debian Linux laptop to their eduroam wlan using wpa_supplicant and the credentials of my home institute - as always when I am visiting another ...
14
votes
4answers
31k views

How to change timeout in systemctl

When I boot my Debian system, its startup hangs for approximately 2 minutes on the line: Loading, please wait... [ 5.191043] systemd-fsck[129]: /dev/mmcblk0p2: clean, 234192/873120 files, 2335263/...
14
votes
1answer
68k views

Set persistent routing table on Debian

I have modified my routing table by deleting one rule, and adding two new rules for my second interface eth1: route del -net 10.1.2.0 netmask 255.255.255.0 route add -host 10.1.2.51 eth1 route add -...
14
votes
4answers
18k views

scp from one remote server to another remote server

I have one big file on server one and I want to copy it to server two using scp. I have the keys setup properly and I can ssh/scp to both servers from my desktop. The file I need to copy is larger ...
14
votes
2answers
44k views

Two interfaces, two addresses, two gateways?

I have a system that has two network interfaces with different IP adresses, both of which are in the public address range (albeit via NAT in the case of the first one) and both of which have different ...
14
votes
1answer
11k views

dmesg: read kernel buffer failed: Permission denied

Since recently Debian has changed the default behavior for dmesg and I cannot use it simply from my local user. % dmesg dmesg: read kernel buffer failed: Operation not permitted Same goes for: % ...
14
votes
3answers
7k views

Find and install man file manually

I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis doesn't list man pages for those two, so I think they are simply not there. With Google I ...
14
votes
1answer
3k views

Debian 9: How to set English language with German Locale?

I want to use English language with German locale settings. Right now my system runs with the following setup (configured during installation procedure in Debian Expert Installer): Language: English ...
14
votes
2answers
9k views

Is it safe to empty /usr/share/doc?

I don't need the man pages and documentations on my debian server. Is it save to empty that folder completely to free up some disk-space, by replacing all files in that folder with empty dummy files. ...
14
votes
2answers
1k views

aptitude: Meaning of curly brackets, i.e. package1{b} package2{a} package3{u}

When using aptitude, the list of changed packages sometimes has a single character in curly brackets behind some package names. The man-page has two examples of them but does not explain them (version ...
14
votes
2answers
65k views

Service start request repeated too quickly, refusing to start

I have created a service on Debian 8.6 and as I'm trying to start it using the service command, I receive an error. I have tried systemctl daemon-reload, but still getting the same result. $ sudo ...
14
votes
1answer
8k views

Installing two glibc alongside in debian/ubuntu

Is it possible to install and use two different glibc versions on the same machine. Where one version is only used to run legacy software, which relies on old glibc binaries? Is it possible to do ...
14
votes
3answers
13k views

Linux md RAID: /dev/md0 vs. /dev/md/0

On newer systems /usr/share/mdadm/mkconf (the script that is used to generate /etc/mdadm/mdadm.conf) tends to use the device name /dev/md/0 instead of /dev/md0: new-system ~ # /usr/share/mdadm/mkconf ...
14
votes
2answers
1k views

bluez: bluetooth headphones cannot reconnect after disconnecting

I can pair my bluetooth headset with my laptop once. But when I disconnect my headset, I cannot reconnect it again. The only way it works is to restart the bluetooth daemon: service bluetooth ...
13
votes
2answers
44k views

autoreconf fails with 'Can't exec “libtoolize”'

I wanted to learn about autotools, so I just started watching some tutorials on YouTube. I made a folder named hello and then made a configure.ac file: AC_INIT([hello],[.01]) AC_OUTPUT I saved it ...
13
votes
3answers
32k views

Cannot run command as www-data using su

# su -l www-data ./http-app.py This account is currently not available. # su -l www-data -c ./http-app.py This account is currently not available. # su -c ./http-app.py www-data This account is ...
13
votes
2answers
1k views

Is it safe to rename .deb file named by the standards?

The established structure of the .deb file name is package_version_architecture.deb. According to this paragraph: Some packages don't follow the name structure package_version_architecture.deb. ...
13
votes
4answers
8k views

Why does python still work after being removed?

On Debian 8 jessie I've removed python: perry@perry:~$ sudo apt-get remove python Reading package lists... Done Building dependency tree Reading state information... Done Package 'python2.7' ...
13
votes
1answer
21k views

Can't get Intel HD 5500 graphics to work with Debian

I'm using Debian 8, but my integrated graphics card does not seem to be used. This is on an Asus Zenbook UX303 which uses HD 5500 integrated graphics: $ sudo lspci -vnn | grep VGA -A 12 00:02.0 VGA ...
13
votes
5answers
4k views

Real time cmd tool to show HDD space remaining

Is there a command line tool which shows in real time how much space remains on my external hard drive?
13
votes
3answers
21k views

Debian - how to run a script on startup as soon as there is an internet connection ready for use?

I am running Debian 7 Wheezy and I need to start some screens on startup as soon as there is a fully functional internet connection. However, not, if the internet connection broke and was connected ...
13
votes
1answer
16k views

How to convince dpkg that libssl1.0.2 is >= libssl1.0.0?

I am trying to install a 3rd party .deb package that I have installed before on Debian 8. But I cannot install on a fresh Debian 9 setup because I get the following error: dpkg: dependency problems ...
13
votes
4answers
6k views

preseed.cfg ignoring hostname setting

I am installing Debian Wheezy (netinstall) in VirtualBox using preseed.cfg. I tried both d-i netcfg/get_hostname string somehost and d-i netcfg/get_hostname string somehost, but in both cases the ...
13
votes
4answers
6k views

Running 64-bit Linux with 750 MB of RAM: worth it?

I have a Debian server VPS, and the provider installed 64-bit Debian 5. Should I ask for an 32-bit install, given that I have only 750 MB RAM and I have heard that variables take more RAM on 64-bit ...
13
votes
3answers
778 views

Is there a way to find installed binary packages which don't have manpages?

I recently saw https://lintian.debian.org/tags/binary-without-manpage.html and it shows around 14k manpages which are missing. This means it's more than likely that some of the binary packages (not ...
13
votes
3answers
27k views

USB to VGA on Linux

I've been offered a Macbook Pro mid-2012. Although it wouldn't have been my first choice it's still a great piece of hardware, only problem for me is that it only has a single Thunderbolt port ...
13
votes
4answers
37k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
13
votes
2answers
35k views

What ~/.config refers to and how to put files there?

I want to set up a plugin for the Geany editor on a Debian system. It's a theme changing plugin, so I am following this manual. It says: The simplest way to do this is to copy the contents of the ...
13
votes
1answer
16k views

How to make nohup not create any output files and so not eat all space?

So I start some server with nohup ./myServer &, I actually have loging mon my server so I do not need any help from nohup with it, but any way I get 66GB nohup.out file in fiew days and that is a ...
13
votes
3answers
17k views

Debian - apt (not apt-get) autocompletion not working

I am on Debian Jessie 8.6. I noticed that apt-get gets the expected bash autocompletion when pressing tab for packages and command, but when trying to use it with apt it does not work. I remember ...