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
24
votes
4answers
41k views

realpath command not found

I have debian squeeze amd64. My current shell is bash. If I write the following in my terminal, it works: $ uname -a Linux core 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux $ ...
24
votes
6answers
51k views

How to install CUDA Toolkit 7/8/9 on Debian 8 (Jessie) or 9 (Stretch)?

How to install Cuda Toolkit 7.0 or 8 on Debian 8? I know that Debian 8 comes with the option to download and install CUDA Toolkit 6.0 using apt-get install nvidia-cuda-toolkit, but how do you do this ...
24
votes
2answers
5k views

Is there a reason I would not add /usr/local/sbin, /usr/sbin, /sbin to my path on Debian?

Compare Debian (left) and Ubuntu (right): $ ifconfig $ ifconfig bash: ifconfig: command not found eth0 Link encap ... $ which ifconfig ...
24
votes
7answers
84k views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
24
votes
3answers
21k views

rkhunter gives me a warning for “/usr/bin/lwp-request” - what should I do? [Debian 9]

So I just installed and ran rkhunter which shows me green OKs / Not founds for everything except for: /usr/bin/lwp-request, like so: /usr/bin/lwp-request [ Warning ...
23
votes
6answers
9k views

How do I get a 30 minute break while working or doing anything on computers? [closed]

I am running Debian. Many times I get cramped (or something) for being on the computer for to long. Is there a tool which will tell me after 30-40 minutes to take a break? I remember seeing something,...
23
votes
1answer
11k views

What is the difference between apt-get and dpkg?

I have several questions regarding apt-get vs. dpkg. Do they install to the same place? Is info from these tools 1 to 1 with each other? Is there any difference in the commands utility?
23
votes
1answer
24k views

Easy command line method to determine specific ARM architecture string?

I'm trying to write a script which will determine actions based on the architecture of the machine. I already use uname -m to gather the architecture line, however I do not know how many ARM ...
23
votes
1answer
7k views

How to ensure exclusive CPU availability for a running process?

At first, the question seems to be a little bit silly/confusing as the OS does the job of managing process execution. However, I want to measure how much some processes are CPU/IO-bound and I feel ...
23
votes
5answers
141k views

How to start an application automatically on boot

I am new to Linux & looking forward to start application (which toggles a led every 10 sec). I have written the application program & it is working fine but now I want to start it ...
23
votes
5answers
70k views

dbus: [system] Failed to activate service 'org.freedesktop.login1': timed out

I keep getting the following error messages in the syslog of one of my servers: # tail /var/log/syslog Oct 29 13:48:40 myserver dbus[19617]: [system] Failed to activate service 'org.freedesktop....
22
votes
3answers
3k views

Why does Debian Linux allow up to 128TiB virtual address space per process but just 64TiB physical memory?

I just read here: up to 128TiB virtual address space per process (instead of 2GiB) 64TiB physical memory support instead of 4GiB (or 64GiB with the PAE extension) Why is that? I mean, ...
22
votes
3answers
138k views

Need to install glibc >= 2.14 on Wheezy

I am trying to get Protractor working for performing e2e angular testing, but protractor requires Selenium which requires ChromeDriver which requires glibc 2.14. My current development box is running ...
22
votes
2answers
27k views

Why is Debian not creating the 'wheel' group by default?

It appears to be Unix tradition that a wheel group is created automatically, but Debian (and children, naturally) doesn't do so. Is there a rationale somewhere? Where else have you seen this tradition ...
22
votes
3answers
33k views

Trust a self signed PEM certificate

I have set up a proxy server with SSL using a PEM certificate. Now, there is a couple of machines of mine that I would like to trust this certificate automatically (without the web browser complaining)...
22
votes
2answers
14k views

How can I install more recent versions of software than what Debian provides?

Suppose I want a more recent version of software than is available for my current version of an operating system, what can I do? Cases to consider: There are semiofficial/official sources of ...
22
votes
3answers
31k views

How to perform full check of ext4 file system structure?

I have 2TB ext4 partition with half million files on it. I want to check whether this partition contains any errors or not. I don't want to search for bad blocks, only logical structure should be ...
22
votes
2answers
45k views

What is a hotplug event from the interface?

According to Debian Network setup document allow-hotplug <interface_name> stanza in /etc/network/interfaces file starts an interface when the kernel detects a hotplug event from the interface. ...
22
votes
1answer
45k views

Where to find the logs of the services started by systemd at computer boot?

I am running a Debian unstable with systemd, at boot I have a few services which are marked as FAILED (and not OK), but the log is too fast for me to grab the name of the failed service. I wonder if ...
22
votes
3answers
15k views

Debian systemd network-online.target not working?

So, I'm trying to make systemd service on Debian Jessie. I need it to start after network-online.target is reached. The problem is network-online.target fires in the same time as network.target and ...
22
votes
1answer
2k views

What's with all the renames: prename, rename, file-rename?

On my Debian system (well, my LMDE system, but close enough), I have at least 3 different rename programs: /usr/local/bin/rename : This is a Perl script, written by Tom Christiansen. Oddly enough, I ...
22
votes
2answers
3k views

OOM killer doesn't work properly, leads to a frozen OS

For years, the OOM killer of my operating system doesn't work properly and leads to a frozen system. When the memory usage is very high, the whole system tends to "freeze" (in fact: becoming extremely ...
21
votes
3answers
22k views

Pull Metadata from a video in the terminal

I am writing a bash script that I want to echo out metadata (length, resolution etc.) of a set of videos (mp4) into a file. Is there a simple way to get this information from a MP4 file?
21
votes
1answer
8k views

What is the difference between the “jessie” and “jessie-updates” distributions in /etc/apt/sources.list?

The debian wiki page for the apt sources list gives this example file: deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb http://httpredir....
21
votes
2answers
28k views

Debian 8 (Jessie) - Laptop stops working after closing the laptop lid

I have a HP15 r007TX laptop with Debian 8 (Jessie) installed. Whenever I close the lid and then reopen, the laptop stops working. It get's stuck showing a blank screen. From there nothing happens and ...
21
votes
2answers
33k views

netstat — why are IPv4 daemons listening to ports listed only in -A inet6?

I have a computer with: Linux superhost 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux It runs Apache on port 80 on all interfaces, and it does not show up in netstat -planA inet, ...
21
votes
1answer
39k views

How do I remove acpi Warning on boot?

I have this message in dmesg log with linux 3.11.6-1 (2013-10-27) (debian version). I wonder how to fix/remove it? [ 5.098132] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO ...
21
votes
8answers
51k views

System image of running Debian system?

Is it possible to backup a running Debian system to some kind of image file, that could simply be written back to another hard disk using dd in case of failures of the original (backed up) Debian ...
21
votes
4answers
45k views

How to install GCC 5 on debian jessie 8.1

I tried many solutions to install update for my gcc compiler on debian server. None of them worked. I need the compiler update to use new features of c++11, as this provides a stable libcxx11 ABI, and ...
21
votes
5answers
35k views

Forcing owner on created files and folders

I have a directory that contains data shared between a number of users. Access to this directory and anything underneath, will be controlled by the directory's group, which will be added to the users ...
21
votes
2answers
25k views

Debian based system, only one gui program, nothing else

I would like to make a debian system where you can only open one GUI program at boot, no other graphical interface, no minimize, or any X apart from that program, is there a way to do it on debian if ...
20
votes
8answers
38k views

Problems to install nginx-full on debian 8

I have some problems to install nginx pkg (nginx-full) on debian jessie # apt-get install nginx-full Reading package lists... Done Building dependency tree Reading state information... Done ...
20
votes
9answers
28k views

How to unload kernel module 'nvidia-drm'?

I'm trying to install the most up-to-date NVIDIA driver in Debian Stretch. I've downloaded NVIDIA-Linux-x86_64-390.48.run from here, but when I try to do sudo sh ./NVIDIA-Linux-x86_64-390.48.run as ...
20
votes
2answers
58k views

Installing Debian without GUI for a web server

I'm unfamiliar with Debian (obviously), so I downloaded the live ISO thinking it might help me out. From the live GUI, I doubled click on the install icon on the desktop and proceeded - it gave me a ...
20
votes
3answers
8k views

What are the differences between iputils-ping and inetutils-ping?

I'm using a Debian 9 image on a virtual machine. The ping command is not installed. When I run: sudo apt-get install ping It asks me: Package ping is a virtual package provided by: iputils-ping 3:...
20
votes
6answers
80k views

How to change the order of the network cards (eth1 <-> eth0) on linux

Is there any way to swap network interfaces (eth1 <-> eth0) after system installation. My brand new Debian 6.0 install assigned PCI network card as "eth0" and motherboards integrated network ...
20
votes
2answers
15k views

Upstart on Debian?

I created an upstart script in Ubuntu, thinking it would be the same for Debian. But Debian doesn't have a /etc/init folder that Ubuntu has. I went to the upstart download page and seeing that they ...
19
votes
6answers
51k views

Activate tap to click on touchpad?

I am using Debian 8.6 LXDE on a Powerbook G4 15" 1.67GHz and would like to enable tap to click on the touchpad. It is already double scrolling but tap to click would help to save the ageing mouse ...
19
votes
5answers
26k views

Install PIL/Pillow via pip in Debian testing (Jessie)

On Debian testing (Jessie), when I try to install PIL or Pillow (python imaging libs) in a virtualenv via pip I get the following error: running egg_info writing Pillow.egg-info/PKG-INFO writing top-...
19
votes
5answers
102k views

lvm devices under /dev/mapper missing

I'm using Debian squeeze, and running LVM on top of software RAID 1. I just accidentally just discovered that most of the links under /dev/mapper are missing, though my system seems to be still ...
19
votes
5answers
119k views

How to install tarball packages on a Debian based distribution?

I would like to know how to install .tar.bz and .tar.bz2 packages on Debian, please give me a complete explanation.
19
votes
7answers
8k views

Is there a difference of stability between Linux distros?

I've using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage? Last month I listened to ...
19
votes
4answers
37k views

Uninstalling default VBoxGuestAdditions on Debian

When I ran sh /media/cdrom/VBoxLinuxAdditions.run I got the following warning message: You appear to have a version of the VBoxGuestAdditions software on your system which was installed from a ...
19
votes
2answers
24k 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 ...
19
votes
6answers
22k views

When I log in, it hangs until crng init done

When I log in with LightDM on my laptop running Debian Unstable, it recently started to hang for around 2 minutes until journalctl shows the message kernel: random: crng init done. When I press random ...
19
votes
4answers
76k views

Apache2 does not run on IPv4 tcp port

I need run Apache2 on my Debian 7 server. But it run only on tcpv6 port, not on tcpv4 port. I installed it with apt-get install. If I go to localhost or 127.0.0.1 or my server IPv4 address it does not ...
19
votes
2answers
46k views

Can I Remove GUI From Debian?

I just did my first install of any Linux OS, and I accidentally selected "Desktop GUI" in the install, but I want to build everything myself. Is there any way by which I can remove the GUI environment ...
19
votes
3answers
3k views

Why does removing Iceweasel nuke GNOME?

I hav an older Debian 7 VM for testing. I'm trying to reduce VM footprint size because I am about out of space. I wanted to remove Iceweasel since I don't really use it, and I can usually get by with ...
18
votes
4answers
18k views

'sudo' is not installed, I can't install it, and it asks if I am root

I just finished installing Debian 8 (Jessie) and tried to make a directory in lib/firmware, because there was a file missing (rtl8723befw.bin) in the installation, and it says mkdir: cannot create ...
18
votes
2answers
27k views

Deprecated options when restarting openssh in Stretch

Today, after doing updates in Debian Stretch, it started displaying these warnings when restarting the ssh service with my current config: /etc/ssh/sshd_config line 17: Deprecated option ...