Difference between revisions of "Debian"

From Alessandro's Wiki
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:


Linux Distribution


''l'ho installlato, l'ho usato, bello, ma mi si è rotto il disco e sono tornato a fedora.
http://www.debian.org/


l'ho reinstallato (Debian) , su un altro disco, l'ho usato, l'ho aggiornato..
*; 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)


... si è rotto il disco.


va.......o Debian ho installato gentoo su un raid1. Perfetto''
= 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


= HOWTOs =


* how to get Locales,Languages and LC messages running properly:
 
== package architecture (arm64) does not match system (armhf) ==
 
  Errors were encountered while processing:
mongodb-org-server_4.4.9_arm64.deb
  root@raspberrypi02:~# dpkg --add-architecture arm64
 
 
== Keys ==
 
 
<pre>
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
</pre>
 
*; apt-key list | grep -A 1 expired                         
<pre>
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)
</pre>
* 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:
* edit the file:
Line 33: Line 99:
  en_IN UTF-8
  en_IN UTF-8


== update system db ==
  /etc/environment && locale-gen
  . /etc/environment && locale-gen
 
== testing software ==
 
* add the backport repo:
echo "deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free" >> /etc/apt/sources.list
* update.....
apt-get update
* install the newest package
aptitude -t lenny-backports install <latest_software>
 
== how big is your disk ==
 
*
# apt-get -o APT::Get::Trivial-Only=true dist-upgrade

Latest revision as of 11:41, 6 July 2022

Linux Distribution

http://www.debian.org/

  • 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


package architecture (arm64) does not match system (armhf)

 Errors were encountered while processing:
mongodb-org-server_4.4.9_arm64.deb
 root@raspberrypi02:~# dpkg --add-architecture arm64


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