Questions tagged [debian]

Note: Questions MUST be programming related. Use this tag only if your question relates to development on Debian using operating system API's or Debian-specific features, or to creating packages in the deb format.

The Debian Project

The Debian Project is a project aimed at providing a complete, all-purpose operating system with free open source software. The term 'Debian' is used for the Linux distribution rather then the project. In its most common form the operating system uses a Linux kernel and is packed with GNU tools (officially naming it "Debian GNU/Linux"). The name Debian comes from the names Debra and Ian Murdock (founder and his wife) (1).

Debian is known for its strict adherence to free software (2), its dependency resolving package manager (DPKG, APT), its stability (there are however releases available with more bleeding-edge software) and ability to run on lots of types of hardware. It has many derivatives (2) including the the very popular Ubuntu ().

What should and should not be asked here

Since Debian generally uses the Linux kernel and software also available for other Linux distributions there is a lot of common ground between these topics.

The debian-tag should be used for questions about

  • Creating packages in the deb format
  • Development on Debian using operating system API's or Debian specific features

For other questions there are more relevant tags, either more general or more specific:

  • Developing on a Debian PC (use a tag for the programming languages or tools you're using instead)
  • Using the command line (use or, preferably, the actual used shell like or )
  • Configuration and administration questions should be asked on Serverfault
  • Questions about using Debian or some of its tools fit better on Superuser or Unix & Linux

Learn more

Index of releases

  • The next release of Debian is codenamed buster — no release date has been set
  • Debian 9 (stretch) — current stable release
  • Debian 8 (jessie) — obsolete stable release
  • Debian 7 (wheezy) — obsolete stable release
  • Debian 6.0 (squeeze) — obsolete stable release
  • Debian GNU/Linux 5.0 (lenny) — obsolete stable release
  • Debian GNU/Linux 4.0 (etch) — obsolete stable release
  • Debian GNU/Linux 3.1 (sarge) — obsolete stable release
  • Debian GNU/Linux 3.0 (woody) — obsolete stable release
  • Debian GNU/Linux 2.2 (potato) — obsolete stable release
  • Debian GNU/Linux 2.1 (slink) — obsolete stable release
  • Debian GNU/Linux 2.0 (hamm) — obsolete stable release
10202 questions
98
votes
7 answers

How to update-alternatives to Python 3 without breaking apt?

The other day I decided that I wanted the command python to default to firing up python3 instead of python2. So I did this: $ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2 $ sudo update-alternatives --install…
Will
  • 1,509
  • 1
  • 13
  • 16
98
votes
13 answers

How to get file creation date/time in Bash/Debian?

I'm using Bash on Debian GNU/Linux 6.0. Is it possible to get the file creation date/time? Not the modification date/time. ls -lh a.txt and stat -c %y a.txt both only give the modification time.
NoodleFolk
  • 1,949
  • 1
  • 15
  • 24
97
votes
8 answers

Node.js app can't run on port 80 even though there's no other process blocking the port

I'm running an instance of Debian on Amazon EC2 with Node.js installed. If I run the code below: http = require('http'); http.createServer(function (request, response){ response.writeHead(200, {'Content-Type':'text/plain'}); response.end('Hello…
Brian Yeh
  • 3,119
  • 3
  • 26
  • 40
96
votes
5 answers

How to set up a Subversion (SVN) server on GNU/Linux - Ubuntu

I have a laptop running Ubuntu that I would like to act as a Subversion server. Both for myself to commit to locally, and for others remotely. What are the steps required to get this working? Please include steps to: Get and configure Apache, and…
Grundlefleck
  • 124,925
  • 25
  • 94
  • 111
90
votes
3 answers

Uncompress tar.gz file

With the usage of wget command line I got a tar.gz file. I downloaded it in the root@raspberrypi. Is there any way to uncompress it in the /usr/src folder?
dali1985
  • 3,263
  • 13
  • 49
  • 68
89
votes
12 answers

Nginx: Permission denied for nginx on Ubuntu

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) [warn] 1898#0: the "user" directive…
krn
  • 6,715
  • 14
  • 59
  • 82
84
votes
9 answers

How make openvpn work with docker

I have recently installed privacy vpn, and it turns out that enabled openvpn breaks docker. When I try to run docker-compose up i get following error ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to…
jb.
  • 23,300
  • 18
  • 98
  • 136
81
votes
5 answers

What do the *-dev packages in the Linux package repositories actually contain?

My question is very basic, as is my knowledge right now. I'm a long-time Linux user, but have only recently taken a major interest in programming. I see that many popular applications in the Ubuntu repositories have -dev packages (e.g. pidgin-dev in…
conorsch
  • 1,376
  • 1
  • 16
  • 18
80
votes
15 answers

Windows10 WSL2 Ubuntu / Debian # no network

After upgrading from WSL to WSL2 sudo apt-get update not works any longer. After: wsl --set-version Ubuntu-18.04 2 Output is: > sudo apt-get update Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving…
Jundl
  • 3,084
  • 3
  • 15
  • 16
80
votes
2 answers

How to trust a apt repository : Debian apt-get update error public key is not available: NO_PUBKEY

Trying to update some repositories on Debian Etch installation and getting the following errors from running "apt-get update" W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified because teh…
Chris Harris
  • 4,705
  • 3
  • 24
  • 22
78
votes
18 answers

Docker: Temporary failure resolving 'deb.debian.org'

I have a Rails application that I want to deploy using Docker on an Ubuntu server. I have the Dockerfile for the application already set up, right now I want to view the nginx conf in its container. I ran the command below to start an nginx…
Promise Preston
  • 24,334
  • 12
  • 145
  • 143
78
votes
1 answer

how can I run the ssh-agent auto in the zsh environment?

I use the zsh and the oh-my-zsh. When I use the github and want to use the key to upload. I always find the #git push Permission denied (publickey). fatal: The remote end hung up unexpectedly Because I have not add the key #ssh-add -l Could not…
wcc526
  • 3,915
  • 2
  • 31
  • 29
77
votes
1 answer

Installing Java 7 (Oracle) in Debian via apt-get

Installing Oracle Java 7 in Debian via apt-get repository doesn't seems to work. apt-get install oracle-java7-installer Look like apt-get does not recognize oracle-java7-installer.
AzizSM
  • 6,199
  • 4
  • 42
  • 53
73
votes
11 answers

Tmux borders displayed as x q instead of lines?

I'm having trouble getting tmux to display lines for borders. They are being created with x and q. It's a debian squeeze server and the locale is set to en_US UTF8. I also tried adding # instructs tmux to expect UTF-8 sequences setw -g utf8…
maplebonsai
  • 733
  • 1
  • 6
  • 4
72
votes
11 answers

Fatal error: Call to undefined function curl_init()

base64_encode($data), 'key' => IMGUR_API_KEY); $timeout = 30; $curl =…
Thew
  • 15,789
  • 18
  • 59
  • 100