Tengo que actualizar mi paquete bind9 en mi servidor Debian lenny. Por favor sugiérame cuál es la mejor manera de hacer esto. Este servidor no tiene conexión a Internet. Y esta operación no debería afectar la configuración del sistema existente. ¿Alguien puede sugerirme sobre esto?
Gracias
Respuesta1
Para máquinas desconectadas, la apt-offline
herramienta promete hacer tolerable la instalación de paquetes:
Description: offline apt package manager
apt-offline is an Offline APT Package Manager
.
apt-offline can fully update and upgrade an APT based distribution without
connecting to the network, all of it transparent to apt
.
apt-offline can be used to generate a signature on a machine (with no network).
This signature contains all download information required for the apt database
system. This signature file can be used on another machine connected to the
internet (which need not be a Debian box and can even be running windows) to
download the updates.
The downloaded data will contain all updates in a format understood by apt and
this data can be used by apt-offline to update the non-networked machine.
.
apt-offline can also fetch bug reports and make them available offline
Podrías mirar en elPuertos traseros de Debianrepositorios para llevar software más nuevo a distribuciones más antiguas. Puede que no sea transparente para el resto del sistema, pero es de esperar quemejorque depender de la compilación desde la fuente.
Respuesta2
¿Por qué necesita bind9 si su servidor está fuera de línea? Hazlo en línea y:
# sudo apt-get update && sudo apt-get upgrade bind9
O descargue los últimos paquetes de bind9 en la máquina en línea:
# apt-get -d install bind9
Debe almacenarse aquí:
# ls -l /var/cache/apt/archives/bind9*
Copie los archivos a su servidor fuera de línea y ejecute:
# apt-get install bind9
Algo como eso...