Linux

ISO 預設儲存庫中缺少 Debian 10.6 Tayga 軟體包

  • December 6, 2020

我想在非 Internet 連接上執行的 Debian Linux 伺服器上實現 NAT64。但似乎 Tayga 包不在本地儲存庫中。

apt install tayga -y

閱讀包裹清單…完成

建構依賴樹

讀取狀態資訊…完成

E: 找不到包 tayga

tayga 軟體包是否被其他軟體包名稱替換或不再支持 Debian 10.6 版本?我找不到任何關於 debian 10.6 版本的 tayga 包的文件。

我最近在 Debian Buster(也是 10.6)中安裝了 Tayga 0.9.2-8 並且沒問題!

Tayga 0.9.2-8 包包含在debian-10.6.0-amd64-DVD-12.iso 您還需要擁有上述媒體文件才能離線安裝 Tayga。

是否apt search tayga找到包裹?

如果沒有,請檢查 /etc/apt/sources.list 中列出的鏡像:

或者你可以從這里手動下載包。

tayga 軟體包仍然在 Debian 儲存庫中,就像十多年來一樣。如果您無法安裝它,則說明您的 apt 源有問題,您需要檢查它們。

在乾淨的 Debian buster 系統上,它將毫無問題地安裝。

root@vmtest-debian10:~# apt install tayga
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
 tayga
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 34.3 kB of archives.
After this operation, 99.3 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 tayga amd64 0.9.2-8 [34.3 kB]
Fetched 34.3 kB in 0s (90.1 kB/s)
Selecting previously unselected package tayga.
(Reading database ... 37334 files and directories currently installed.)
Preparing to unpack .../tayga_0.9.2-8_amd64.deb ...
Unpacking tayga (0.9.2-8) ...
Setting up tayga (0.9.2-8) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u4) ...

確保您使用的是官方 Debian 資源。

root@vmtest-debian10:~# cat /etc/apt/sources.list
# deb http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main

引用自:https://serverfault.com/questions/1045180