collect entropy

[華語, cmn-Hant-TW]

幫一台 archlinux 更新時遇到的。 pacman 的新簽章機制需要跑一次 pacman-key –init,結果吃到這錯誤:

Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 279 more bytes)

結果在這篇找到解答了,只要跑 ls -R / 就能「收集」到大量的 entropy,問題於是解決。不過實測時發現先跑 ls -R / 再執行 pacman-key 似乎還是會吃到錯誤,要兩個同時跑才行,也許是因為只有在 ls -R / 正在跑的時候亂度才足夠吧。

Leave a Reply

Your email address will not be published. Required fields are marked *