Wrong ISO checksum and upgrade error

Hi,
I installed Leap 42.1 and want to make a distribution upgrade to 42.2. I downloaded the .iso from software.opensuse.org, then made a bootable USB-drive and started the upgrade. Everything went smooth until installaton reached arround 93% and then the process stopped with an error that I must run rpm --rebuilddb command to proceed. I interrupted the installation and booted back to Windows 10, then downloaded the SHA256 checksum file and run the check. The process ended with an error. I redownloaded the iso from the metalink but DownThemAll sayd there is a checksum mismatch and interrupted the download. So, I wonder what to do now, from where to download a “good” iso image to make the distro upgrade. Any advice will be appreciated. Thanks and sorry for my badf english.

How did you make the bootable USB drive?

Some ways of doing that don’t work well with opensuse. It you used something that depends on a FAT file system, then your copy of the iso was probably truncated, since the DVD iso itself is too large for a FAT file system.

As for the sha256 checksum error – you don’t say what that error was.

I get:


% sha256sum -c openSUSE-Leap-42.2-DVD-x86_64.iso.sha256
openSUSE-Leap-42.2-DVD-x86_64.iso: OK
sha256sum: WARNING: 14 lines are improperly formatted

So there’s a warning there, but not an error. It actually says that the iso is “OK”.

The warning is because the “sha256” checksum file is signed using “gpg”, and the “sha256sum” command does not know what to do with that signature, so it complains.

Maybe you got a different result. But we are left guessing what that was.

I made the bootable flash drive with Rufus under Win 10 x64. The error follows on the screenshot
http://i.imgur.com/ZRrk4MV.jpg

and the sha256 error
http://imgur.com/a/0Mk1l

My system is in bulgarian so in english it means something like this: “ERROR 2: The file GNUPG v. 1.0.7 can’t be opened. The file PGP Signature can’t be opened. OK 1. not found 2. read error 0: checksums doesn’t match”

edit: screens not visible, don’t know why

Can’t use refus unless perhaps in dd mode it adds code to the iso image and breaks openSUSE. Just do a binary copy to the device not a partition on the device. Do not use any copy program that adds additional code

“Rufus” is known to cause problems, unless you use it in “dd” mode.

and the sha256 error
Imgur: The magic of the Internet

My system is in bulgarian so in english it means something like this: “ERROR 2: The file GNUPG v. 1.0.7 can’t be opened. The file PGP Signature can’t be opened. OK 1. not found 2. read error 0: checksums doesn’t match”

That actually looks okay to me.

I am seeing:


openSUSE-Leap-42.2-DVD-x86_64.iso.sha256
OK: openSUSE-Leap-42.2-DVD-x86_64.iso

as the first two lines of output. That seems to say that the iso is okay.

The “.sha256” file contains a line “Version: GnuPG v1.0.7 (GNU/Linux)” and that has confused your software. But the lines before that seem to give the okay to the “.iso” file. I should note that I am assuming that the “OK” means the same in Bulgaria that it means here.

I’ll try to write the image with Unuversal USB Installer from pendrivelinux.com. Never had problems with Rufus before (for ex. it writes Kubuntu image and I can install it without any problems, but I want suse).

Well, my flash drive became dead, so I writed a DVD and I’m back where i was (see screens)

Took those with my phone camera, because i don’t know how to take screens of linux install. Maybe it’s not the image file, seems like I screwed up somewhere else. What exactly i wanted to do is distro upgrade from 42.1 to 42.2 and I used for that the flash drive and now the dvd, always ending with that error. So, what now?

Case closed, I made a fresh install of 42.2 using the dvd, thanks for your help

Well the problem is that ANY installer that modifies the iso image will break openSUSE. it is boot ready and only needs a binary copy to the device. Never use a boot helper tocreate an install image on any device just a straight up binary copy. I use cp but many use dd. Using any magic Linux helper programs will fail