Opened 5 years ago

Closed 4 years ago

#12906 closed bug (duplicate)

pkgman install checksum error

Reported by: Eddy Owned by: bonefish
Priority: normal Milestone: R1
Component: Kits/Package Kit Version: R1/Development
Keywords: Cc:
Blocked By: #12969 Blocking:
Platform: All

Description (last modified by pulkomandy)


When using the pkgman command install I have the following error:

/Storage/dev/llvm> pkgman install subversion
Downloading repochecksum-1...done.
Validating checksum for Haiku...done.                                                                                                                                                                
Downloading repocache-2...done.
Checksum error:                                                                                                                                                                                      
*** expected '<?xml version="1.0" encoding="UTF-8"?>
*** <!DOCTYPE html PUBLIC "-/'
*** got      'e49d399c4740a8de7404a2c9c3885357706f6e1e0a93328740df11dcd7ba0a5c'*** aborted : No Error (1701273973)
Validating checksum for Haiku.../Storage/dev/llvm> 

While it is possible to install the package in HaikuDepot.

Change History (4)

comment:1 by pulkomandy, 5 years ago

Component: - GeneralKits/Package Kit
Keywords: pkgman removed
Milestone: UnscheduledR1
Owner: changed from nobody to bonefish
Platform: x86All

This happens when the repos you have are somehow corrupted (maybe it tried to download the checksum and got an error page from the server, or from a login-wall in a public wifi).

You can re-add the repositories with pkgman add-repo, it could fix the problem. But we need some validation because <?xml version="1.0" encoding="UTF-8"?> definitely isn't a valid repo checksum.

comment:2 by pulkomandy, 5 years ago

Description: modified (diff)

comment:3 by Eddy, 5 years ago

I have two repositories, Haiku and HaikuPorts. I can do a pkgman add-repo and HaikuPorts, but trying it on Haiku gives the following error:

Activating repository config from ...
*** failed! : Bad data

Whether I am using my VPN or not.

comment:4 by diver, 4 years ago

Blocked By: 12969 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.