Linux lenny 發行版上的 bind9 升級

Linux lenny 發行版上的 bind9 升級

我必須更新 Debian lenny 伺服器中的 bind9 軟體包。請建議我什麼是最好的方法來做到這一點。該伺服器沒有網路連線。且此操作不應影響現有的系統設定。任何人都可以就此向我提出建議嗎?

謝謝

答案1

對於斷開連接的機器,該apt-offline工具承諾讓安裝包變得可以忍受:

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

你可以看看Debian 向後移植儲存庫將較新的軟體引入較舊的發行版。它可能對系統的其餘部分不透明,但希望如此更好的而不是依賴從原始碼編譯。

答案2

如果你的伺服器離線了,為什麼還需要bind9?使其在線並且:

# sudo apt-get update && sudo apt-get upgrade bind9

或線上機器上下載最新的bind9套件:

# apt-get -d install bind9

它應該存儲在這裡:

# ls -l /var/cache/apt/archives/bind9*

將檔案複製到離線伺服器並執行:

 # apt-get install bind9

類似的事情...

相關內容