Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
81 votes
4 answers

How do I run 32-bit programs on a 64-bit Debian/Ubuntu?

I have a 64-bit (amd64 a.k.a. x86_64) Debian or Ubuntu installation. I need to run 32-bit (i386/i686) programs occasionally, or to compile programs for a 32-bit system. How can I do this with a ...
Gilles 'SO- stop being evil''s user avatar
5 votes
1 answer

Wi-Fi problems using ASUS USB-N13 adapter (realtek)

I have recently bought an ASUS Wi-Fi adapter (USB-N13), and I seem to be having some trouble with it. Every so often, the Wi-Fi connection just stops working, but the indicator says that I'm still ...
SpecialBomb's user avatar
  • 1,978
51 votes
2 answers

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 ...
Faheem Mitha's user avatar
  • 35.2k
33 votes
1 answer

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 ...
terdon's user avatar
  • 243k
247 votes
3 answers

Why is 'ls' suddenly wrapping items with spaces in single quotes?

I just noticed that on one of my machines (running Debian Sid) whenever I type ls any file name with spaces has single quotes surrounding it. I immediately checked my aliases, only to find them intact....
Wyatt Ward's user avatar
  • 4,052
211 votes
5 answers

Failed to fetch jessie backports repository

I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to ...
user12345's user avatar
  • 2,053
17 votes
1 answer

How is the authenticity of Debian packages guaranteed?

What security systems and processes are in place to prevent malicious third parties from hacking/compromising the security of code in the Debian mirrors, or to verify that the packages we get are in ...
emf's user avatar
  • 331
5 votes
1 answer

Whither /etc/init.d/skeleton?

Long-standing advice on writing van Smoorenburg rc scripts for Debian, from many sources including the Debian Policy Manual and answers on StackExchange, until now has been: An example on which you ...
JdeBP's user avatar
  • 69.2k
64 votes
3 answers

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
Janus's user avatar
  • 1,543
16 votes
2 answers

Separate Network Traffic on Two Network Interfaces

Could you lend your expertise in understanding how to go about configuring the separation of network traffic on two network interfaces? As I understand thus far, static routes are used for network ...
Christopher's user avatar
  • 15.9k
7 votes
1 answer

Why is the rename utility on Debian/Ubuntu different than the one on other distributions, like CentOS?

On CentOS, the rename command uses two simple strings, from and to. rename from to file... while on Debian/Ubuntu it uses a perl-style regular expression. rename [ -v ] [ -n ] [ -f ] perlexpr [ ...
Jacob Ritchie's user avatar
9 votes
1 answer

CIFS randomly losing connection to Windows share

I have had a couple of directories mounted remotely from a Debian Jessie, in a Windows share, for a few months. In the last weeks, I keep having complaints of random disconnects from the mountpoint, ...
Rui F Ribeiro's user avatar
24 votes
2 answers

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 ...
user's user avatar
  • 29.1k
18 votes
2 answers

System crash - strange chars in syslog

I have a small server which I use for testing and programming. Currently it runs Debian 9.4 stretch with 4.14.0-0.bpo.3-amd64 kernel. Today I tried to connect through SSH but I couldn't then I tried ...
DrKey's user avatar
  • 291
6 votes
2 answers

Can not create SFTP user Debian 7

I have a linode and I access via ssh throw terminal. I need to create an sftp user which his default directory (and the only he can access) is /var/www/ Now, I did it, ...
alfreedom's user avatar
  • 193
268 votes
5 answers

How to enable diffie-hellman-group1-sha1 key exchange on Debian 8.0?

I am unable to ssh to a server that asks for a diffie-hellman-group1-sha1 key exchange method: ssh Unable to negotiate with port 22: no matching key exchange method ...'s user avatar
176 votes
11 answers

"no public key available" on apt-get update

When performing apt-get update, I get the following error: root@ADS3-Debian6:/home/aluno# apt-get update Atingido squeeze Release.gpg Ign squeeze/...
That Brazilian Guy's user avatar
162 votes
4 answers

How to add repository from shell in Debian?

In Ubuntu one can add a repository via following command - sudo add-apt-repository ppa:yannubuntu/boot-repair As Ubuntu is based on Debian code base, I was expecting that the same would work in ...
Kshitiz Sharma's user avatar
48 votes
4 answers

How do I install a single package from Debian testing or unstable on stable?

I want to install a single package (and its dependencies, but only to the extent those are not satisfiable in Wheezy) from Debian Jessie onto my Wheezy system, without upgrading "everything and the ...
user's user avatar
  • 29.1k
28 votes
3 answers

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 ...
Zaxuhe's user avatar
  • 389
22 votes
2 answers

getting Checkpoint VPN SSL Network Extender working in the command line

The official Checkpoint out command line tool from CheckPoint, for setting up a SSL Network Extender VPN is not longer working from the Linux command line. It is also no longer actively supported by ...
Rui F Ribeiro's user avatar
10 votes
4 answers

What should I do before dual-booting Windows 7 and Debian on EFI?

I'm about to purchase an Asus motherboard with EFI firmware and wanted to prepare myself for installing Windows and Debian once the hardware arrives. I was hoping that someone who has gone down this ...
Mr. Shickadance's user avatar
4 votes
3 answers

How Smooth is Upgrading Linux kernel in Debian 8.5?

I would like to upgrade my Linux kernel to 4.7 in Debian 8.5, since it has significant better Skylake 6th generation support than the current linux kernel. In Ubuntu 16.04, the upgrade is easy. ...
Léo Léopold Hertz 준영's user avatar
113 votes
5 answers

Possible missing firmware /lib/firmware/i915/* for module i915

I am getting these warnings every time I update my initramfs image(-s) with update-initramfs on my Dell PowerEdge T20 server running GNU/Linux Debian Buster 10.0. Is there a fix? W: Possible missing ...
Vlastimil Burián's user avatar
31 votes
2 answers

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 ...
user avatar
12 votes
2 answers

debian su - and su $PATH differences?

$ su - Password: # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # exit logout $ su Password: # echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games I have ...
user1095108's user avatar
5 votes
1 answer

apt-get upgrade holds back a kernel update. What are the official instructions for applying updates on Debian 9?

I saw the following on Debian 9 "stretch": # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following ...
sourcejedi's user avatar
  • 50.6k
5 votes
3 answers

Installing Steam on Debian

I have ran into some issues when it went down to install Steam on Debian. The console as well as Apper comes up with missing dependencies and the package isn't going to install.
BenjB's user avatar
  • 220
125 votes
9 answers

How to install Python 3.6?

I'd like to install the latest Python, which is 3.6 at the time of this post. However, the repository is saying that Python 3.4.2 is the newest version. I've tried: $ sudo apt-get update $ sudo apt-...
davidtgq's user avatar
  • 1,504
120 votes
3 answers

What's the difference between /usr/lib/systemd/system and /etc/systemd/system?

Before all the unit files were in /etc/systemd/system/ but now some are showing up in /usr/lib/systemd/system (<- on CentOS, or /lib/systemd/system <- on Debian/Ubuntu), what is the difference ...
therealssj's user avatar
  • 1,331
63 votes
5 answers

Why is there no https transport for debian apt tool?

With all the paranoia that came with NSA revelations, I'm wondering why the Debian package installation mechanism does not support HTTPS for its transport, let alone use one by default. I know Debian ...
zaadeh's user avatar
  • 1,193
51 votes
2 answers

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 ...
Jeanderson Candido's user avatar
29 votes
6 answers

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 ...
wb9688's user avatar
  • 739
365 votes
18 answers

How do I set my DNS when resolv.conf is being overwritten?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
Seán Hayes's user avatar
  • 4,551
141 votes
12 answers

List packages on an apt based system by installation date

How can I list installed packages by installation date? I need to do this on debian/ubuntu. Answers for other distributions would be nice as well. I installed a lot of stuff to compile a certain ...
Elazar Leibovich's user avatar
90 votes
4 answers

What does adduser do that useradd doesn't?

In addition to the more widespread useradd, Debian based systems also contain an additional adduser command which provides a higher level interface for adding users and some related tasks. There are ...
Graeme's user avatar
  • 34.1k
52 votes
4 answers

apt-get update failed to fetch debian amd64 packages while building dockerfile from maven:3.5.2-jdk-8

Dockerfile: FROM maven:3.5.2-jdk-8 RUN apt-get update && \ apt-get install -y python-dev python-pip RUN pip install awscli --upgrade Build Logs: Preparing build context archive… [========...
Nikhil Menghrajani's user avatar
50 votes
8 answers

Simplest way to send one-line mail out via command line using gmail?

Using Raspbian and Ubunntu 16.04 LTS so need a generic Linux solution. Requirement is simple: I need a way to send one-line email messages from the command line. I have set up a gmail account just ...
SDsolar's user avatar
  • 1,859
35 votes
4 answers

grub error: you need to load kernel first

I'm installing Debian 9 on an HP ProLiant DL180. When I boot from a USB drive, it opens grub2 and when I type boot it gives an error : you need to load kernel first.
mend4x's user avatar
  • 517
27 votes
2 answers

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 ...
Boris Burkov's user avatar
  • 3,990
14 votes
2 answers

How do I install "non-free firmware" (wifi driver) from USB? (Debian)

I just installed Debian on laptop, it tells me Some of your hardware needs non-free firmware files to operate. The firmware can be loaded from removable media, such as a USB stick or floppy. The ...
user avatar
6 votes
3 answers

How do I install/update drivers on Debian 9?

I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update ...
Basil's user avatar
  • 71
4 votes
1 answer

Not sure what starts this systemd unit file

So I've been looking at the openvpn configuration on my Debian 9 based server and found something that I cannot explain in the systemd unit files for the openvpn daemon. The daemon itself is starting ...
Tulkas's user avatar
  • 53
279 votes
10 answers

What is the real difference between "apt-get" and "aptitude"? (How about "wajig"?)

I know that both apt-get and aptitude are command line package management interfaces on Debian derived Linux, with different options, but I'm still somewhat confused. Under the hood, aren't they ...
Kevin Cantu's user avatar
  • 3,774
92 votes
2 answers

Debian: The repository does not have a Release file

Whenever trying to install some programs from source, or specifically running apt update, I receive this message: E: The repository ' stretch/updates Release' does not ...
user avatar
69 votes
3 answers

How to undo sudo add-apt-repository?

I ran sudo add-apt-repository ppa:noobslab/indicators to install my-weather-indicator but it requires GTK3 and I don't want to proceed further. So I'd like to undo that command. I've checked my /etc/...
Sigur's user avatar
  • 2,431
64 votes
8 answers

Why can't I run GUI apps as root: "No protocol specified"?

I installed Debian onto my machine last night. Now, I don't understand why I can't run GUI apps from a terminal when running as root. For example: sudo -i glxgears Generates the following output: No ...
Octopus's user avatar
  • 2,509
46 votes
3 answers

Why do previous versions of Debian packages vanish in the package repositories? (highly relevant for version-controlled system configuration)

Scenario: In version controlled system configuration based on Puppet, Chef etc., it is required to reproduce a certain system state. This is done by explicitly specifying system package versions. ...
Flo's user avatar
  • 603
36 votes
2 answers

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 ...
user902383's user avatar
31 votes
4 answers

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 ...
Wayne Conrad's user avatar

2 3 4 5