Page 1 of 3

CentOS 8 1905 DVD ISO install fail - local repository error "incorrect checksum"

Posted: 2019/09/27 03:25:45
by tony_down_under
Trying to install CentOS 8 on a laptop that usually runs CentOS 7. To do the install I am using the DVD ISO booting from USB, copied to usb with Fedora Media Writer. Everything goes fine until it starts doing the install through the Anaconda and it fails with error:
Some packages from the local repository have incorrect checksum

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/07 00:42:44
by winders_cruncher
Did you find a solution for this? I'm on my 3rd download attempt trying to get an ISO that won't fail the checksum error you had.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/07 01:21:23
by TrevorH
How do you know it's a bad download? Did you check the file's sha256sum against the list published in the Release Notes ? If that matches then your problem is writing it to the USB stick or the USB stick itself not a bad download.

Also check http://wiki.centos.org/HowTos/InstallFromUSBkey for a list of "do not use" USB stick tools.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/10 14:53:21
by winders_cruncher
Took a while to remember to come back and update this and see your reply. Yes the download checksum was fine, I copied the file to the USB again and proceeded to install without issue.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/10 17:53:45
by nouvo09
Ok if the file downliaded is sane and you can't boot, maybe the image on de device is corrupted.

So you could the checksum againt the device directly, for exemple

sha256sum /dev/sde

and compare to the result of before.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/12 01:09:49
by tony_down_under
Tried this again yesterday. The mirrors still say 1905 and my browser has painted the links a different colour to show I've visited them before. Same install issue still exists after almost 2 months later...

Anyone know what the problem is here? I want to get my /devs on centos 8 for their laptops but I just cant do it because the DVD installation medias are broken! Centos team - you're inhibiting adoption.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/12 02:14:50
by TrevorH
If the packages have incorrect checksums then that is because you either have a bad download or it's been written to whatever media you're reading it from wrongly or it's being read badly. The packages on the iso image are correct and can be read.

Step 1 : verify the sha256sum of your downloaded file against the list in the CHECKSUMS file in the same directory on the mirror (any mirror) which you downloaded from. Or check them against the list in the CentOS 8 Release Notes in the wiki https://wiki.centos.org/Manuals/Release ... ntOS8.1905 or https://wiki.centos.org/Manuals/Release ... ntOSStream depending on which you used. Repeat download until matching.

Step 2: write it to a USB stick, preferably using dd since it makes no changes to what it's copying. Do not use any of the broken utilities for copying the iso file - the list is in the wiki https://wiki.centos.org/HowTos/InstallFromUSBkey - though dd is needed for the rest of this or you have to calculate how many blocks to read back. Make a note of the number of blocks that dd says it wrote when it ends for use in step 3.

Step 3: use dd to read the same number of blocks back from the USB stick and write them to a differently named iso file on disk. Run sha256sum on that once it's complete and compare with the first one. If they are not identical then throw the USB stick in the bin. Repeat from step 2.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/12 07:31:17
by tony_down_under
I use fedora media writer to do the copy from windows 10 to usb drive. It verifies - no issue.
When the system has booted anaconda, I can "verify" the local repo there - it also verified without issue. But when trying to install from the local repo, it fails with "some packages from local repository have incorrect checksum".

I'm trying to install a workstation and add some packages.. i'll try again without any package selections and see what occurs. Thanks for the advice.

Same issue when using default software selection. Something is wrong with the DVD install media.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/12 08:01:57
by tony_down_under
Sha256 validates:
$ sha256sum CentOS-8-x86_64-1905-dvd1.iso
ea17ef71e0df3f6bf1d4bf1fc25bec1a76d1f211c115d39618fe688be34503e8 CentOS-8-x86_64-1905-dvd1.iso
ea17ef71e0df3f6bf1d4bf1fc25bec1a76d1f211c115d39618fe688be34503e8 <<<<<----- this is copied from the link https://wiki.centos.org/Manuals/Release ... 4dfd921557


Will try and install centos 7 so I can validate the usb drive against the sha256.

But given that other users are experiencing the same issue, it does seem like an issue with the dvd.

Re: CentOS 8 1905 DVD ISO install fail

Posted: 2019/11/12 08:54:26
by tony_down_under
I sha256 the usb installation media. To do this I done the following steps:

1. insert the usb media in a centos machine
2. run the sha256sum against /dev/sdb1

This gives:

Code: Select all

[root@CV000142 cvadmin]# sha256sum /dev/sdb1
ea17ef71e0df3f6bf1d4bf1fc25bec1a76d1f211c115d39618fe688be34503e8  /dev/sdb1
[root@CV000142 cvadmin]# 
And the sha from the release site is: ea17ef71e0df3f6bf1d4bf1fc25bec1a76d1f211c115d39618fe688be34503e8

They are exactly the same. The Centos 8 DVD install and local repository is confirmed as broken.