Opened 3 years ago

Last modified 2 years ago

#12969 reopened bug

[Package Kit] better error handling of broken repos

Reported by: tchbnl Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Package Kit Version: R1/Development
Keywords: Cc: perelandra
Blocked By: Blocking: #12906
Has a Patch: no Platform: All

Description

When running pkgman, I get this error:

pkgman full-sync
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...

No problem on hrev50544.

Change History (4)

comment:1 by diver, 3 years ago

Cc: perelandra added
Component: - GeneralKits/Package Kit
Summary: Checksum error when running pkgman on hrev50545[Package Kit] better error handling of broken repos

Looks like you have non-working repo installed. It would be nice if pkgman could provide more user friendly message and show a hint on what to do. Like list repos using pkgman list and drop non-working using pkgman drop or -- if it's SoftwareUpader -- open Repositories which could check then automatically and mark broken repos as such.

comment:2 by diver, 2 years ago

Blocking: 12906 added

comment:3 by diver, 2 years ago

Resolution: invalid
Status: newclosed

comment:4 by diver, 2 years ago

Resolution: invalid
Status: closedreopened

Sorry, it's still valid.

Note: See TracTickets for help on using tickets.