Repository checksum error on pkgman update

When running pkgman update on my Haiku nightly setup I get a checksum error:

~> pkgman update
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repocache-2 [2.37 KiB]
Checksum error:
*** expected '5e47d2f8c969395b78620a2c39649e08adb85eea3c63f5664ee0b2808db240c5'
*** got      'caaf29c464f8904cd6234d414b826eb643b39f0a4ea08c3a9431553380ccf339'Refreshing repository "Haiku" failedValidating checksum for Haiku...: Bad data
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
Failed to get cache for repository "Haiku". Skipping.: No such file or directory
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
Nothing to do.

I already tried dropping the repository and readding it again, but adding the repo gives a similar checksum error:

~> pkgman add-repo https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current
Fetching repository info from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Activating repository config from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
A repository configuration for Haiku already exists.
overwrite? [yes/no] (no) : yes
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
Fetching repository checksum from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Validating checksum for Haiku ...
Fetching repository-cache from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Validating checksum for Haiku ...
Checksum error:
*** expected '5e47d2f8c969395b78620a2c39649e08adb85eea3c63f5664ee0b2808db240c5'
*** got      'caaf29c464f8904cd6234d414b826eb643b39f0a4ea08c3a9431553380ccf339'*** failed! : Bad data

Is this some issues with the repositories currently or some problem with my setup I should resolve?

1 Like

Just in case, I’ve filed a ticket for this a few hours ago: #18115 ("Checksum error" while attempting to update packages from the Haiku repo.) – Haiku

The issue seems to be on the server side, so… we wait :slight_smile:

5 Likes

which seems to persist, I tried just now

1 Like

Looks like @kallisti5 fixed it. I just was able to update without cecksum errors. Thanks a lot :slight_smile:

4 Likes

@kallisti5 can you please take a look at this ticket to see if there is something you can do from the server side to help with updating which keeps failing, it’s been like that for quite sometime now before this recent breakage, thanks.

Working OK here on 32bit and 64bit.

Same issue this morning. Anybody else seeing this or am I the only one?

Working fine for me on both 64 and 32 bits installs today.

1 Like

Thanks, looks it is indeed only on my side, will remove/add the repositories to check if it solves my issue.

Edit: pkgman full-sync solved the issue

1 Like