2017-06-21 22 views
-1

我有一臺運行Linux mint 18.1的Intel 64位機器。在這個機器上,當我運行以下命令debootstrap失敗,「無法檢索InRelease」

sudo debootstrap --arch ia64 wheezy rootfs http://ftp.us.debian.org/debian 

與以下錯誤:

W: cannot check release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg 
I: Failed to retrieve InRelease 

現在,我有第二個機完全相似的硬件配置,運行Ubuntu 16.04。在這臺機器上,我得到了同樣的錯誤,但仍然繼續並正確下載rootfs。

可能是什麼原因?我試圖將工作機器的鑰匙環複製到失敗的機器上,但仍然沒有運氣。這兩個設備都坐在同一個網絡中,網絡配置相同

+0

Stack Overflow是編程和開發問題的網站。這個問題似乎與題目無關,因爲它不涉及編程或開發。請參閱幫助中心的[我可以詢問哪些主題](http://stackoverflow.com/help/on-topic)。也許[超級用戶](http://superuser.com/)或[Unix&Linux堆棧交換](http://unix.stackexchange.com/)會是一個更好的地方。 – jww

+0

這些Debian Chroot的[很多問題](https://www.google.com/search?q=debootstrap+jww)。去年他們簽約後,對我來說已經足夠了。我終於放棄了他們。您可能會發現[本頁](https://cryptopp.com/wiki/Debian_Chroot#Unknown_key_B4C86482705A2CE1)有用。當試圖設置和維護它們時,它們基本上是我的野外筆記。 – jww

+0

並評論'sudo debootstrap --arch ia64 ...' - 據我所知,沒有ia64的模擬。運行['update-binfmts --display |時沒有匹配grep interpreter'](https://cryptopp.com/wiki/Debian_Chroot#Debootstrap)。您可能需要在真正的安騰硬件上進行測試。他們稱Itanium爲Itanic,因爲它沉沒了。它很難在現場找到硬件。 – jww

回答

-1

我試着用LinuxMint 18.1 LiveCD做的事情,並且deboostrap不會在您引用的消息上失敗,而是在chroot步驟上失敗。您可以使用--arch amd64而不是--arch ia64