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

Issues related to applications and software problems and general support
tony_down_under
Posts: 69
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

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

Post by tony_down_under » 2019/09/27 03:25:45

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
Last edited by tony_down_under on 2019/11/12 08:55:29, edited 1 time in total.

winders_cruncher
Posts: 6
Joined: 2019/11/07 00:40:58

Re: CentOS 8 1905 DVD ISO install fail

Post by winders_cruncher » 2019/11/07 00:42:44

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.

User avatar
TrevorH
Forum Moderator
Posts: 26955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8 1905 DVD ISO install fail

Post by TrevorH » 2019/11/07 01:21:23

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

winders_cruncher
Posts: 6
Joined: 2019/11/07 00:40:58

Re: CentOS 8 1905 DVD ISO install fail

Post by winders_cruncher » 2019/11/10 14:53:21

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.

nouvo09
Posts: 140
Joined: 2009/09/19 19:21:36
Location: Paris, France

Re: CentOS 8 1905 DVD ISO install fail

Post by nouvo09 » 2019/11/10 17:53:45

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.
Member of centos-FR forum

tony_down_under
Posts: 69
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

Re: CentOS 8 1905 DVD ISO install fail

Post by tony_down_under » 2019/11/12 01:09:49

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.

User avatar
TrevorH
Forum Moderator
Posts: 26955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8 1905 DVD ISO install fail

Post by TrevorH » 2019/11/12 02:14:50

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

tony_down_under
Posts: 69
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

Re: CentOS 8 1905 DVD ISO install fail

Post by tony_down_under » 2019/11/12 07:31:17

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.

tony_down_under
Posts: 69
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

Re: CentOS 8 1905 DVD ISO install fail

Post by tony_down_under » 2019/11/12 08:01:57

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.

tony_down_under
Posts: 69
Joined: 2019/08/07 01:50:24
Location: Perth, Australia but originally from Carshalton, Surrey

Re: CentOS 8 1905 DVD ISO install fail

Post by tony_down_under » 2019/11/12 08:54:26

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.

Post Reply

Return to “CentOS 8 - General Support”