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

How to upgrade glibc on Debian?

I heard I can do it using apt-get install libc6, but I need to add something to /etc/apt/sources.list to receive the newest glibc version. What should I do?
antpetr89
  • 1,143
  • 3
  • 12
  • 14
69
votes
11 answers

How to see pip package sizes installed?

I'm not sure this is possible. Google does not seem to have any answers. Running Linux Debian can I list all pip packages and size (amount of disk space used) thats installed? i.e. List all pip packages with size on disk?
Prometheus
  • 32,405
  • 54
  • 166
  • 302
69
votes
19 answers

Google server putty connect 'Disconnected: No supported authentication methods available (server sent: publickey)

I'm trying to connect to my Debian Google Compute Engine server through PuTTy (I've tried other alternatives too) but when I do I get the error "Disconnected: No supported authentication methods available (server sent: publickey) The google server…
64
votes
10 answers

data directory was initialized by PostgreSQL version 13, which is not compatible with this version 14.0

I have downloaded Portainer onto my server and created a PostgreSQL database in a container there. Today I could no longer get access to the database. The log shows a message that there is a version problem. I already read into some similar issues…
Mr. Hankey
  • 954
  • 1
  • 5
  • 12
64
votes
1 answer

"Call to undefined function mysql_connect()" after upgrade to php-7

After I upgraded php5 to php7, I get an error 500 with PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() I put this into my apt sources in order to get php7 right now: deb http://packages.dotdeb.org jessie all deb-src…
bytecode77
  • 14,163
  • 30
  • 110
  • 141
64
votes
5 answers

Install sbt on ubuntu

I have installed sbt on Ubuntu. :~/bin/sbt/bin$ ls classes sbt sbt-launch.jar target jansi.jar sbt.bat sbt-launch-lib.bash win-sbt However, whenever I try to launch sbt (from the same directory where sbt is located) it does not…
NoIdeaHowToFixThis
  • 4,484
  • 2
  • 34
  • 69
64
votes
2 answers

How to remove MySQL completely with config and library files?

So far I've tried the following commands: sudo apt-get remove mysql-server mysql-client mysql-common sudo apt-get purge mysql-server mysql-client mysql-common sudo apt-get autoremove But whenever I try to locate MySQL using the following command, I…
codeartist
  • 752
  • 1
  • 7
  • 14
62
votes
9 answers

Optimize PDF files (with Ghostscript or other)

Is Ghostscript the best option if you want to optimize a PDF file and reduce the file size? I need to store alot of PDF files and therefore I need to optimize and reduce the file size as much as possible Does anyone have any experience with…
clarkk
  • 27,151
  • 72
  • 200
  • 340
61
votes
4 answers

How to list/download the recursive dependencies of a debian package?

I need to list/download all the recursive dependencies of a debian package. Suppose i need to install package a.deb and it depends on package b.deb and again package b.deb depends on package c.deb. I need to download all the recursive dependent…
Bharat Bhansali
  • 627
  • 1
  • 6
  • 4
60
votes
4 answers

What is the difference between C.UTF-8 and en_US.UTF-8 locales?

I'm migrating a Python application from an Ubuntu server with a en_US.UTF-8 locale to a new Debian server which comes with C.UTF-8 already set by default. I'm trying to understand if there could be any impact from this change.
Marcelo
  • 2,245
  • 4
  • 20
  • 24
60
votes
6 answers

How can I prevent tons of apache processes spawning when I start apache and proceeding to kill my machine?

I have a highly trafficked application on one debian machine and apache has started acting strange. Every time I start apache, tons of apache processes are spawned, the app doesn't load at all, and very quickly the whole machine freezes and must be…
Adam Gries
  • 1,751
  • 3
  • 14
  • 12
60
votes
5 answers

RabbitMQ (beam.smp) and high CPU/memory load issue

I have a debian box running tasks with celery and rabbitmq for about a year. Recently I noticed tasks were not being processed so I logged into the system and noticed that celery could not connect to rabbitmq. I restarted rabbitmq-server and even…
marcin_koss
  • 5,763
  • 10
  • 46
  • 65
57
votes
6 answers

How to install docker in docker container?

This is my Dockerfile: FROM golang # RUN cat /etc/*release RUN apt-get update RUN apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add…
Jolly23
  • 879
  • 1
  • 8
  • 13
56
votes
4 answers

Appending to crontab with a shell script on Ubuntu

I'm trying to add a line to the crontab on Ubuntu. Right now, I'm doing crontab -e and editing the crontab there. However, I can't seem to find the real crontab file, since crontab -e seems to give you a temporary working copy. /etc/crontab looks…
Filo Stacks
  • 1,951
  • 2
  • 20
  • 20
56
votes
5 answers

Supervisor on Debian Wheezy: another program is already listening on a port that one of our HTTP servers is configured to use

When I run service supervisor start I run into the following error: Starting supervisor: Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting…
balintant
  • 2,774
  • 1
  • 19
  • 33