Ubuntu

ubuntu iso sha256校驗和

  • January 8, 2017

我在新安裝的 Ubuntu 系統上遇到了一些問題(隨機凍結),我想通過檢查 sha256 雜湊來驗證我收到的 iso 沒有損壞(我知道我應該先這樣做)。我按照 Ubuntu 網站上的說明進行操作,但一直收到相同的警告,如下所示:

user@user-System-Product-Name:~/Downloads/ubuntu_isos$ sha256sum -c SHA256SUMS
sha256sum: ubuntu-16.04-desktop-amd64.iso: No such file or directory
ubuntu-16.04-desktop-amd64.iso: FAILED open or read
sha256sum: ubuntu-16.04-desktop-i386.iso: No such file or directory
ubuntu-16.04-desktop-i386.iso: FAILED open or read
sha256sum: ubuntu-16.04-server-amd64.img: No such file or directory
ubuntu-16.04-server-amd64.img: FAILED open or read
sha256sum: ubuntu-16.04-server-amd64.iso: No such file or directory
ubuntu-16.04-server-amd64.iso: FAILED open or read
sha256sum: ubuntu-16.04-server-i386.img: No such file or directory
ubuntu-16.04-server-i386.img: FAILED open or read
sha256sum: ubuntu-16.04-server-i386.iso: No such file or directory
ubuntu-16.04-server-i386.iso: FAILED open or read
ubuntu-16.04.1-desktop-amd64.iso: OK
sha256sum: ubuntu-16.04.1-desktop-i386.iso: No such file or directory
ubuntu-16.04.1-desktop-i386.iso: FAILED open or read
sha256sum: ubuntu-16.04.1-server-amd64.img: No such file or directory
ubuntu-16.04.1-server-amd64.img: FAILED open or read
sha256sum: ubuntu-16.04.1-server-amd64.iso: No such file or directory
ubuntu-16.04.1-server-amd64.iso: FAILED open or read
sha256sum: ubuntu-16.04.1-server-i386.img: No such file or directory
ubuntu-16.04.1-server-i386.img: FAILED open or read
sha256sum: ubuntu-16.04.1-server-i386.iso: No such file or directory
ubuntu-16.04.1-server-i386.iso: FAILED open or read
sha256sum: WARNING: 11 listed files could not be read

為了讓你知道我做了什麼,我從http://releases.ubuntu.com/xenial/下載了 Ubuntu 桌面 iso 和 SHA256SUMS/SHA256SUMS.gpg 文件到同一個目錄中。然後我從這個目錄執行命令sha256sum -c SHA256SUMS來獲取輸出。我已經下載了 5 個不同的圖像,它們都給出了相同的輸出,這對我來說似乎不正確。我完全按照 Ubuntu 網站上的指示做了,但我一定做錯了什麼,對吧?

這裡重要的一行是這一行:

ubuntu-16.04.1-desktop-amd64.iso: OK

你的 ISO 沒問題。

校驗和文件包含所有圖像的總和;sha256sum警告您尚未下載的內容,因為它無法驗證它們。

引用自:https://unix.stackexchange.com/questions/308699