[opensuse] media check errors
![](https://seccdn.libravatar.org/avatar/6ee44c890a328d81b06459f36d1e3f64.jpg?s=120&d=mm&r=g)
Installing Leap 15.1 on a new machine, and for the first time ever I'm using USB instead of DVD (since there is no optical drive). I've downloaded the ISO, first by torrent, run sha256sum in the terminal, all is good. When I start the installation, by force of habit I go to the extra menu and choose media check. Whether that is designed for USB as well as DVD I don't know, but it starts off anyway. To my surprise, when it finishes it says there is an error. Back on the Leap 42.3 machine that I downloaded the ISO on, I decide to go into YaST > Software > Media Check, then Check ISO File... (on the ISO file on hard disk, not the USB stick). It also produces an error: Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong I downloaded it again, direct this time instead of torrent. Ran sha256sum in the terminal, all fine. Ran the YaST Media Check again. Same error. WTF? Should I proceed with installation? (I'm going to anyway because this seems like horseclod, but why does it happen?) gumb -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
On 08/04/2019 12:34 PM, gumb wrote:
Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong
I downloaded it again, direct this time instead of torrent. Ran sha256sum in the terminal, all fine. Ran the YaST Media Check again. Same error.
WTF?
Should I proceed with installation?
Let's start by you posting the checksum of the file you downloaded, e.g. $ sha256sum nameofimg.iso Then check the site where you downloaded it from for what it thinks the checksum should be. That way we know what you have and what you should have. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/6ee44c890a328d81b06459f36d1e3f64.jpg?s=120&d=mm&r=g)
On 04/08/2019 20:40, David C. Rankin wrote:
On 08/04/2019 12:34 PM, gumb wrote:
Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong
I downloaded it again, direct this time instead of torrent. Ran sha256sum in the terminal, all fine. Ran the YaST Media Check again. Same error.
WTF?
Should I proceed with installation?
Let's start by you posting the checksum of the file you downloaded, e.g.
$ sha256sum nameofimg.iso
Then check the site where you downloaded it from for what it thinks the checksum should be.
That way we know what you have and what you should have.
See the response from Carlos and my confirmation. Running sha256sum openSUSE-Leap-15.1-DVD-x86_64.iso produces: c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso which is as it should be. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 04/08/2019 19.34, gumb wrote:
Installing Leap 15.1 on a new machine, and for the first time ever I'm using USB instead of DVD (since there is no optical drive). I've downloaded the ISO, first by torrent, run sha256sum in the terminal, all is good.
When I start the installation, by force of habit I go to the extra menu and choose media check. Whether that is designed for USB as well as DVD I don't know, but it starts off anyway. To my surprise, when it finishes it says there is an error.
No surprise at all. The install media on USB can not be tested, but the code that runs it doesn't know it is running on a stick to tell you. Old thing.
Back on the Leap 42.3 machine that I downloaded the ISO on, I decide to go into YaST > Software > Media Check, then Check ISO File... (on the ISO file on hard disk, not the USB stick).
I had no idea a yast module to check the ISO file existed :-o Anyway, trying. Told it to do the thing on the 15.1 image I have on the hard disk, and it says "the medium does not contain an MD5 checksum, only readability of the medium will be checked." I say continue, anyway. And then it says that: Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong How does it know it is wrong, since the medium does not contain the checksum? BUG. Ok, use the documented procedure since years. --> <http://download.opensuse.org/> --> click distribution <http://download.opensuse.org/distribution/> --> click leap --> <http://download.opensuse.org/distribution/leap/> --> click 15.1 --> <http://download.opensuse.org/distribution/leap/15.1/> --> click iso --> <http://download.opensuse.org/distribution/leap/15.1/iso/> --> click details of the ISO (openSUSE-Leap-15.1-DVD-x86_64.iso), and we get this text: Mirrors for openSUSE-Leap-15.1-DVD-x86_64.iso File information Filename: openSUSE-Leap-15.1-DVD-x86_64.iso Path: /distribution/leap/15.1/iso/openSUSE-Leap-15.1-DVD-x86_64.iso Size: 3.8G (4056940544 bytes) Last modified: Wed, 15 May 2019 02:30:01 GMT (Unix time: 1557887401) SHA-256 Hash: c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 SHA-1 Hash: 32436bf72e7da2cfe0dbf4b817c37f168ea3dc65 MD5 Hash: 5095682b8aafd540975388704cc8ae1a BitTorrent Information Hash: f8da57958058d8bf7384e4919e6d966ccc1a1931 You can use the hash to verify on the command line - see below. Another shorter method: <https://www.opensuse.org/> --> [install leap] <https://software.opensuse.org/distributions/leap> click on Checksum Downloads: <http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/distribution/leap/15.1/iso/openSUSE-Leap-15.1-DVD-x86_64.iso.sha256> "view" the text file, it contains this all important line: c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso which you can see is the same checksum as we got the other road. Instead, I copy the file to the directory where the iso file is, and I run: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> sha256sum openSUSE-Leap-15.1-DVD-x86_64.iso c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso cer@Telcontar:/data/storage_b/Isos/Leap/15.1> As you see, it matches. Or I can do it in a more automated way: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> sha256sum --check openSUSE-Leap-15.1-DVD-x86_64.iso.sha256 openSUSE-Leap-15.1-DVD-x86_64.iso: OK <======= sha256sum: WARNING: 14 lines are improperly formatted cer@Telcontar:/data/storage_b/Isos/Leap/15.1> The DVD image is perfect. What means the thing about the 14 lines? Well, the file is PGP signed. So, verify that: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> gpg --verify openSUSE-Leap-15.1-DVD-x86_64.iso.sha256 gpg: Signature made 2019-05-15T15:53:17 CEST gpg: using RSA key B88B2FD43DBDC284 gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: classic gpg: depth: 0 valid: 6 signed: 2 trust: 0-, 0q, 0n, 0m, 0f, 6u gpg: depth: 1 valid: 2 signed: 0 trust: 0-, 0q, 0n, 1m, 1f, 0u gpg: next trustdb check due at 2024-05-02 gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>" [full] cer@Telcontar:/data/storage_b/Isos/Leap/15.1> Everything is fine :-D Extra. I go to Thunderbird, Enigmail, Key management, search "B88B2FD43DBDC284", sign (I already did that years ago). -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
![](https://seccdn.libravatar.org/avatar/6ee44c890a328d81b06459f36d1e3f64.jpg?s=120&d=mm&r=g)
On 04/08/2019 21:08, Carlos E. R. wrote:
On 04/08/2019 19.34, gumb wrote:
Installing Leap 15.1 on a new machine, and for the first time ever I'm using USB instead of DVD (since there is no optical drive). I've downloaded the ISO, first by torrent, run sha256sum in the terminal, all is good.
When I start the installation, by force of habit I go to the extra menu and choose media check. Whether that is designed for USB as well as DVD I don't know, but it starts off anyway. To my surprise, when it finishes it says there is an error.
No surprise at all. The install media on USB can not be tested, but the code that runs it doesn't know it is running on a stick to tell you. Old thing.
Ok. It's kind of odd that it goes through the whole process and there isn't some check beforehand to advise it can't be done on USB.
Back on the Leap 42.3 machine that I downloaded the ISO on, I decide to go into YaST > Software > Media Check, then Check ISO File... (on the ISO file on hard disk, not the USB stick).
I had no idea a yast module to check the ISO file existed :-o
Anyway, trying. Told it to do the thing on the 15.1 image I have on the hard disk, and it says "the medium does not contain an MD5 checksum, only readability of the medium will be checked." I say continue, anyway. And then it says that:
Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong
How does it know it is wrong, since the medium does not contain the checksum? BUG.
Since I had the sha256 file in the same folder I assumed it was intelligent enough to be looking there.
Another shorter method:
<https://www.opensuse.org/> --> [install leap] <https://software.opensuse.org/distributions/leap> click on Checksum
"view" the text file, it contains this all important line:
c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso
which you can see is the same checksum as we got the other road. Instead, I copy the file to the directory where the iso file is, and I run:
cer@Telcontar:/data/storage_b/Isos/Leap/15.1> sha256sum openSUSE-Leap-15.1-DVD-x86_64.iso c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso cer@Telcontar:/data/storage_b/Isos/Leap/15.1>
As you see, it matches.
Indeed, this is the same procedure I followed.
Everything is fine :-D
Right. I'll get on with the installation then. Cheers! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 04/08/2019 22.13, gumb wrote:
On 04/08/2019 21:08, Carlos E. R. wrote:
On 04/08/2019 19.34, gumb wrote:
Installing Leap 15.1 on a new machine, and for the first time ever I'm using USB instead of DVD (since there is no optical drive). I've downloaded the ISO, first by torrent, run sha256sum in the terminal, all is good.
When I start the installation, by force of habit I go to the extra menu and choose media check. Whether that is designed for USB as well as DVD I don't know, but it starts off anyway. To my surprise, when it finishes it says there is an error.
No surprise at all. The install media on USB can not be tested, but the code that runs it doesn't know it is running on a stick to tell you. Old thing.
Ok. It's kind of odd that it goes through the whole process and there isn't some check beforehand to advise it can't be done on USB.
Common complain since a decade at least.
Back on the Leap 42.3 machine that I downloaded the ISO on, I decide to go into YaST > Software > Media Check, then Check ISO File... (on the ISO file on hard disk, not the USB stick).
I had no idea a yast module to check the ISO file existed :-o
Anyway, trying. Told it to do the thing on the 15.1 image I have on the hard disk, and it says "the medium does not contain an MD5 checksum, only readability of the medium will be checked." I say continue, anyway. And then it says that:
Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong
How does it know it is wrong, since the medium does not contain the checksum? BUG.
Since I had the sha256 file in the same folder I assumed it was intelligent enough to be looking there.
Apparently not. Report in Bugzilla :-)
Another shorter method:
...
As you see, it matches.
Indeed, this is the same procedure I followed.
Everything is fine :-D
Right. I'll get on with the installation then.
Good :-) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
gumb