Diferencia entre revisiones de «Debian»

De gacq wiki
Saltar a: navegación, buscar
m (Revertidas las ediciones realizadas por TabocAbovi (Talk); a la última edición de Gacq)
 
(No se muestran 19 ediciones intermedias de 3 usuarios)
Línea 1: Línea 1:
=Instalación=
+
=Configuration=
 +
==sources.list sample==
 +
/etc/apt/sources.list
 +
<pre><nowiki>
 +
deb http://server:80/apt-cacher/mirrors.kernel.org/debian/ testing main contrib non-free
 +
deb http://server:80/apt-cacher/mirrors.kernel.org/debian/ unstable main contrib non-free
 +
deb http://server:80/apt-cacher/security.debian.org/ testing/updates main contrib non-free
 +
deb http://server:80/apt-cacher/www.debian-multimedia.org/ testing main
 +
deb http://server:80/apt-cacher/www.debian-multimedia.org/ sid main
 +
</nowiki></pre>
 +
 
 +
apt-get update
 +
apt-get install debian-multimedia-keyring
 +
 
 +
==Missing GPG key 07DC563D1F41B907 error==
 +
'''Error message'''
 +
<pre><nowiki>
 +
W: GPG error: http://gacq.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
 +
W: You may want to run apt-get update to correct these problems
 +
</nowiki></pre>
 +
 
 +
;fix it running
 +
apt-get install debian-multimedia-keyring
 +
 
 +
;with other keys
 +
gpg --keyserver subkeys.pgp.net --recv-keys A70DAF536070D3A1
 +
gpg --export --armor A70DAF536070D3A1 | apt-key add -
 +
 
 +
==Set Default Release to older==
 +
/etc/apt/apt.conf
 +
<pre><nowiki>
 +
APT::Default-Release "testing";
 +
</nowiki></pre>
 +
 
 +
==Using a proxy==
 +
Agregar a /etc/apt/apt.conf
 +
 
 +
<pre><nowiki>
 +
Acquire::http::Proxy "http://proxy.uolfast.com.ar:80";
 +
</nowiki></pre>
 +
 
 +
==Using APT with more than 2 sources==
 +
 
 +
APT's Default-Release setting (aka apt-get --target-release) is useful if your /etc/apt/sources.list file contains exactly 2 releases (such as stable and testing, or testing and unstable). If you want to track more than 2 releases (stable, testing, and unstable, or two of those plus a non-Debian source), it has problems. This document explains how to do better. Updates can be found at http://www.argon.org/~roderick/apt-pinning.html.
 +
 
 +
Say you've got testing and unstable in your sources.list, an APT::Default-Release of "testing" in apt.conf
 +
 
 +
=APT caches=
 +
==apt-cacher==
 +
<pre><nowiki>
 +
apt-get install apt-cacher
 +
</nowiki></pre>
 +
 
 +
*http://bulma.net/impresion.phtml?nIdNoticia=1915
 +
 
 +
=Misc=
 +
==Show package executables==
 +
<pre><nowiki>
 +
for i in `dpkg -L xmms`; do if [ -x $i ] && [ ! -d $i ]; then ls -l $i; fi; done
 +
</nowiki></pre>
 +
 
 +
=Corruptions=
 +
*http://www.debianhelp.co.uk/debianproblem.htm
 +
 
 +
=Installation=
 
Cuando estamos instalando sobre hardware nuevo podemos usar estas versiones del instalador modificadas:
 
Cuando estamos instalando sobre hardware nuevo podemos usar estas versiones del instalador modificadas:
 
*[http://kmuto.jp/debian/d-i/ Backported d-i images archive]
 
*[http://kmuto.jp/debian/d-i/ Backported d-i images archive]
 +
 +
=Upgrades=
 +
*[[Debian Sarge (oldstable) to Etch (stable) dist-upgrade]]
  
 
==Errors==
 
==Errors==
Línea 16: Línea 83:
  
 
=Repositorios=
 
=Repositorios=
 +
 +
/etc/apt/apt.conf
 +
[..]
 +
APT::Default-Release "testing";
 +
 +
 +
 
*[http://www.apt-get.org Unofficial APT repositories]
 
*[http://www.apt-get.org Unofficial APT repositories]
  

Revisión actual del 11:54 11 ene 2009

Configuration

sources.list sample

/etc/apt/sources.list

deb http://server:80/apt-cacher/mirrors.kernel.org/debian/ testing main contrib non-free
deb http://server:80/apt-cacher/mirrors.kernel.org/debian/ unstable main contrib non-free
deb http://server:80/apt-cacher/security.debian.org/ testing/updates main contrib non-free
deb http://server:80/apt-cacher/www.debian-multimedia.org/ testing main
deb http://server:80/apt-cacher/www.debian-multimedia.org/ sid main
apt-get update
apt-get install debian-multimedia-keyring

Missing GPG key 07DC563D1F41B907 error

Error message

W: GPG error: http://gacq.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
fix it running
apt-get install debian-multimedia-keyring
with other keys
gpg --keyserver subkeys.pgp.net --recv-keys A70DAF536070D3A1
gpg --export --armor A70DAF536070D3A1 | apt-key add -

Set Default Release to older

/etc/apt/apt.conf

APT::Default-Release "testing";

Using a proxy

Agregar a /etc/apt/apt.conf

Acquire::http::Proxy "http://proxy.uolfast.com.ar:80";

Using APT with more than 2 sources

APT's Default-Release setting (aka apt-get --target-release) is useful if your /etc/apt/sources.list file contains exactly 2 releases (such as stable and testing, or testing and unstable). If you want to track more than 2 releases (stable, testing, and unstable, or two of those plus a non-Debian source), it has problems. This document explains how to do better. Updates can be found at http://www.argon.org/~roderick/apt-pinning.html.

Say you've got testing and unstable in your sources.list, an APT::Default-Release of "testing" in apt.conf

APT caches

apt-cacher

apt-get install apt-cacher

Misc

Show package executables

for i in `dpkg -L xmms`; do if [ -x $i ] && [ ! -d $i ]; then ls -l $i; fi; done

Corruptions

Installation

Cuando estamos instalando sobre hardware nuevo podemos usar estas versiones del instalador modificadas:

Upgrades

Errors

No common CD-ROM drive was detected.

SATA driver can block access to CD drive in installations from CD. On systems having a SATA IDE controller that also has the CD drive connected to it, you may see the installer hanging during hardware detection for the CD drive or failing to read the CD just afterwards. A possible reason is that the SATA driver (ata_piix and maybe others) is blocking access to the CD drive. You can try to work around this by booting the installer in expert mode and, in the "Detect and mount CD-ROM" step, selecting only the drivers needed for CD support. These are (ide-)generic, ide-cd and isofs. The drivers needed to access the disk will still be loaded, but at a later stage. By loading the CD drivers before the SATA driver in this way, you may be able to complete the installation. Note that CD-ROM access may still be an issue after rebooting into the installed system.


Instalando desde un drive USB

wget http://ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/boot.img.gz
gzip -dc boot.img.gz >/dev/sdX
init 6

Repositorios

/etc/apt/apt.conf

[..]
APT::Default-Release "testing";


Automatix para Etch

Este programa automatiza la instalación de muchas y muy útiles aplicaciones en la vida diaria de un usuario normal. Las características más importantes del programa son:

  • Códecs de audio y vídeo más comunes
  • Plugins más comunes para navegadores(Java, Flash, ...), fuentes TrueType.
  • Herramientas adicionales de empaquetamiento (rar y ace)
  • Adobe Reader y plugins del Firefox
  • Software de grabación de CD/DVD GnomeBaker
  • Instala clientes FTP para GNOME con SSH
  • Instala audio (Audacity) y video (Kino) y editores ID3 TAG (Easytag)
  • Instala ripeador de DVD (dvdrip)
  • Instala los plugins multimedia para Firefox y Mplayer
  • Instala Totem-xine y Beep Media Player (con docklet)
  • Habilita el menú Debian
  • Instala Azureus, Bittornado, Avidemux, Sun 1.5 JRE, Wine...
  • Herramientas de programación como Anjuta (C/C++ IDE)