I am trying to install couchbase server v7.2 on my REHL8 machine as root user using the rpm package option.
I followed the instructions from [Install Couchbase Server on Red Hat Enterprise | Couchbase Docs](https://Install using RPM package)
The installation stops with SHA256 mismatch as you can see below
> [root@czcholstc003822 ~]# sudo yum install /root/couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm
> Last metadata expiration check: 2:45:27 ago on Tue 01 Aug 2023 09:05:56 AM CEST.
> Dependencies resolved.
> ============================================================================================================================================================================== Package Architecture Version Repository Size
> couchbase-server x86_64 7.2.0-5325 @commandline 120 M
> Transaction Summary
> ==============================================================================================================================================================================Install 1 Package
> Total size: 120 M
> Installed size: 1.2 G
> Is this ok [y/N]: y
> Downloading Packages:
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Error: Transaction test error:
> package couchbase-server-7.2.0-5325.x86_64 does not verify: Payload SHA256 digest: BAD (Expected 6e23f6d03003c133dd70da8c515beb5b9620c733e6e20eefe54fb16fa8d83447 != f814a0f2bffb453045f14ab165468e52d13296be07488ab51026d2e7aa4f6d0a)
any idea what that can be?
It looks like there may have been an issue with the package you downloaded. Can you try using the online repository instead: Install Couchbase Server on Red Hat Enterprise | Couchbase Docs
My REHL8 machine is not connected to the internet, I have to copy the complete couchbase installation package to the machine.
The link you sent above requires the machine to be connected to the internet, right?
Ahh understood, yes it does. From what I can see, I believe something happened when you downloaded or transferred the RPM file as it should match the SHA 256 hash and doesn’t.
I just downloaded the RHEL8 RPM and compared the SHA of it to what we expect it to be:
perrykrug@MacBook-Pro-2021:~/Downloads$ cat couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm.sha256 aa1b70cf6d95b74750dd26dc8d0f47869ef36d0b793d2ca6dd3512a806a05f59
perrykrug@MacBook-Pro-2021:~/Downloads$ shasum -a 256 couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm aa1b70cf6d95b74750dd26dc8d0f47869ef36d0b793d2ca6dd3512a806a05f59 couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm
I also notice that you’re using build 5325…did you get that build from our support team or from one of our regular download links?
I got the RPM package from here:
Couchbase Server 7.2 REHL 8
Thanks. When I download that, I get a file named:
couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm…but yours had the build number in there which made me think it came from somewhere else. Can you try downloading again to confirm?
Also, if you click the “Show Checksum” link, you’ll download a file called
couchbase-server-enterprise-7.2.0-rhel8.x86_64.rpm.sha256 which should match the SHA256 hash of the RPM file that goes along with it. And then you should be able to confirm the same SHA hash after you transfer the RPM to the system you’re installing it on.