Questions tagged [debian]

Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

Debian GNU/Linux its one of the oldest and more popular Linux distributions. The Debian project was started in 1993 by Ian Murdock (the name Debian is a junction of Debra + Ian, his girlfriend at the time). Debian strongest points are the portability, stability and commitment to the free software ideal.

The current Debian version (6.0, code named Squeeze) has more than 29.000 software packages available on nine platforms (including SPARC, ARM, PowerPC), and 2 platforms supporting the FreeBSD kernel (Debian GNU/kfreebsd on i386 and amd64). The Debian APT package management provides dependency management and strong update and upgrade capabilities.

Debian maintains normally 3 versions of its repositories: stable (the current release), testing (the next release), unstable (new packages and versions). After debian makes a new release, the previous stable release is maintained for one year, and is re-labed oldstable. Squeeze also included the backports repository where some software from the testing will be made available to the stable release, and updates (previously named volatile) to deal with software that evolves too fast. Debian also makes point releases with aggregated updates and updated tools, those keep the release name but update the version like Debian 6.1 for example.

Debian has a Social Contract with its users and will only distribute on its main distribution software that is compatible with the Debian Free Software Guidelines.Those two devices were created on the early days of the distribution and also are the basis for Open Source Initiative's Open Source Definition.

The Debian project organization counts with the Debian Project Leader, the Debian Project Secretary and the Debian Developers. The developers are responsible for the releases, packaging software, managing the FTPs, security and so on. Each Project Leader is elected for a period of one year and any Developer can be a candidate.

Ubuntu Linux uses Debian as its base, as well as other well known distributions like Maemo, Mint, Knoppix and several others. The Wikipedia article has also more details about the distribution, as well as Debian's official site.

7581 questions
20
votes
8 answers

Debian. How can I securely get debian-archive-keyring, so that I can do an apt-get update? NO_PUBKEY

I have a catch 22 trying to: # apt-get update [... good lines omitted] W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY…
David Bullock
  • 821
  • 3
  • 15
  • 21
20
votes
2 answers

Debian/Ubuntu - How to restore /var/cache/apt structure after deleting it?

I was running out of space on an Ubuntu server, so I did this command to save space sudo rm -rf /var/cache/apt/archives However now when trying to do things with apt, I get the following errors: E: Could not open lock file…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
19
votes
1 answer

Why is ping working when all incoming and outgoing connections are blocked in the firewall?

I have DENIED both incoming and outgoing connections using ufw on Debian VPS. There is only one rule defined, which is to allow connection to SSH port. ufw is enabled and working. Yet I am still able to ping from my laptop to server using its…
Frank Martin
  • 741
  • 2
  • 12
  • 24
19
votes
10 answers

Managing upgrades on hundreds of Debian servers

What do you think are the best practices to maintain dozens (if not hundreds) of debian servers up-to-date ? Keeping in mind that : There are groups of servers (i.e identical webservers, DB Servers, ...) There can be several Debian issues…
Falken
  • 1,702
  • 5
  • 18
  • 28
19
votes
2 answers

How to use the ssh server with PAM but disallow password auth?

Many tutorials tell you to config your ssh server like this: ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no but with this setup you cannot use PAM, as i plan to use 2 Factor Auth with Google Authenticator (OTP Onetime…
c33s
  • 1,515
  • 3
  • 21
  • 39
19
votes
5 answers

How to reset a Harddisk (delete Mbr & delete Partitions) from the Command Line with a script without rebooting?

To start from a clean state I need to reset the hard disk to an empty state from command line. It is not about running a wipe utility, the data don't have to be overwritten. This question is quite similar to Deleting All Partitions From the Command…
c33s
  • 1,515
  • 3
  • 21
  • 39
19
votes
3 answers

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian Jessie image booted on EC2: sudo hostnamectl sudo:…
donatello
  • 746
  • 1
  • 9
  • 16
19
votes
6 answers

How can I move /var/log directory

On our production server there is a small drive for the root mount point /, /var/log is taking too much space and I have to manually delete some files. How can I move /var/log/ to let's say /home/log WITHOUT REBOOTING? Here is the thing I thought: $…
Razique
  • 2,276
  • 1
  • 19
  • 23
19
votes
3 answers

How to change users full name on Debian

I'm working on a Debian server as an inexperienced admin. I need to change the full name of a user (not the login name) provided during adduser USERNAME. How can I do this? I didn't find such an option in usermod…
hielsnoppe
  • 293
  • 1
  • 2
  • 7
19
votes
2 answers

Why does ntpd listen on so many ports/addresses?

I’ve noticed this for a while, and it’s never made any sense to me: Why does ntpd need to listen on so many addresses? For example, a Debian machine: $ netstat Proto Local Address Foreign Address Program name udp 0.0.0.0:123 0.0.0.0:* …
Abraham Vegh
  • 1,045
  • 5
  • 17
  • 26
19
votes
2 answers

ia32-libs : Depends: ia32-libs-i386 but it is not installable

I am trying to install ia32-libs (a dependency to build the VirtualBox sources) on my Debian x86_64 box, however it's giving me the error: The following packages have unmet dependencies: ia32-libs : Depends: ia32-libs-i386 but it is not…
Alan
  • 191
  • 1
  • 1
  • 3
19
votes
4 answers

Debian 5.0 (lenny) apt sources fail?

For the past few days, I couldn't update our apt-sources on Debian 5.0 (lenny). I get the following errors. W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to…
trnc
  • 688
  • 1
  • 12
  • 31
19
votes
2 answers

What is the difference between sudo -i and sudo su -

What is the difference between commands sudo -i and sudo su -? Are they the same?
Howard
  • 2,135
  • 13
  • 48
  • 72
19
votes
3 answers

Making libmagic/file detect .docx files

As seen elsewhere, docx, xlsx and pttx are ZIPs. When uploading them to my web application, file (via libmagic andpython-magic) detects them as being ZIP. I store the contents of the file as a blob in the database, but naturally I don't want to…
Jonatan Littke
  • 371
  • 1
  • 3
  • 8
19
votes
3 answers

How do I increase swap memory in debian?

how to increase swap memory in debian?