Debian
From Alessandro's Wiki
Revision as of 10:59, 26 January 2022 by Porcelinux (talk | contribs)
Linux Distribution
- Releases
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (wheezy)
- Debian 6 (squeeze)
- Debian GNU/Linux 5.0 (lenny)
- Debian GNU/Linux 4.0 (etch)
- Debian GNU/Linux 3.1 (sarge)
- Debian GNU/Linux 3.0 (woody)
- Debian GNU/Linux 2.2 (potato)
- Debian GNU/Linux 2.1 (slink)
- Debian GNU/Linux 2.0 (hamm)
APT
- skip suggested packages:
--no-install-recommends
testing software
- add the backport repo: /etc/apt/sources.list
deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free
- update.....
apt-get update
- install the newest package
aptitude -t lenny-backports install <latest_software>
how big is your disk
- this will tell you how much disk space the next upgrade will take
# apt-get -o APT::Get::Trivial-Only=true dist-upgrade
Keys
W: GPG error: http://archive.debian.org lenny Release: The following signatures were invalid: KEYEXPIRED 1337087218 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA W: You may want to run apt-get update to correct these problems
- apt-key list | grep -A 1 expired
pub 1024D/6070D3A1 2006-11-20 [expired: 2009-07-01] uid Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org> -- pub 1024D/BBE55AB3 2007-03-31 [expired: 2010-03-30] uid Debian-Volatile Archive Automatic Signing Key (4.0/etch) -- pub 1024D/F42584E6 2008-04-06 [expired: 2012-05-15] uid Lenny Stable Release Key <debian-release@lists.debian.org> -- pub 4096R/55BE302B 2009-01-27 [expired: 2012-12-31] uid Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org> -- pub 2048R/6D849617 2009-01-24 [expired: 2013-01-23] uid Debian-Volatile Archive Automatic Signing Key (5.0/lenny)
- and renew them with a small script
for a in 6070D3A1 BBE55AB3 F42584E6 55BE302B 6D849617 do gpg --keyserver pgpkeys.mit.edu --recv-key $a gpg -a --export $a | apt-key add - done
General
locale settings
- edit the file:
/etc/environment ;;; LANG=en_IN LC_MESSAGES=en_IN
- or
LANG=it_IT LC_MESSAGES=it_IT
- and
/etc/locale.gen ;;; en_US.UTF-8 UTF-8 it_IT ISO-8859-1 it_IT.UTF-8 UTF-8 it_IT@euro ISO-8859-15 en_IN UTF-8
/etc/environment && locale-gen