Opened 3 years ago

Last modified 3 years ago

#17273 new bug

vision cannot install from the haikuports repo

Reported by: bbjimmy Owned by: apl-haiku
Priority: normal Milestone: Unscheduled
Component: Applications/HaikuDepot Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev55427

Attempt to install vision from HaikuDepot:

Fatal error occured whgile installing package vision:
Failed to download package vision ()

attempt to install with pkgman:

pkgman install vision
100% repochecksum-1 [65 bytes]
Validating checksum for BeSly Software Solutions...done.
100% repochecksum-1 [65 bytes]
Validating checksum for FatElk_64...done.
100% repochecksum-1 [65 bytes]
Validating checksum for HAKILO...done.
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
The following changes will be made:
  in system:
    install package vision-0.10.6-2 from repository HaikuPorts
Continue? [yes/no] (yes) : y
Re-using download '/boot/system/packages/administrative/state_2021-09-16_13:30:02/vision-0.10.6-2-x86_64.hpkg' from previous transaction (partial)
100% vision-0.10.6-2-x86_64.hpkg [8.56 KiB]
Checksum error:
*** expected 'cc02ea855d34f72af052bc1d3c57564adf93bd6e096c1e5b43fa6d0a954e193f'
*** got      '29a90959adb74b428664202929774cf8cd221bc3096cf75cc8fb5a9418f03a99'*** Failed to download package vision: Bad data
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_64/current/packages/vision-0.10.6-2-x86_64.hpkg...

downloading the .hpkg file from https://depot.haiku-os.org/#!/pkg/vision/haikuports/0/10/6/-/2/x86_64?bcguid=bc2-NKXT gets an .hpkg file that installs.

I believe the repo has a bad checksum.

Change History (2)

comment:1 by waddlesplash, 3 years ago

No, it appears you have a partial, re-used download. Likely we should delete these when checksums fail. Deleting the file should fix the problem.

comment:2 by bbjimmy, 3 years ago

If the checksum fails it should re-download the file and ignore the previous download.

Note: See TracTickets for help on using tickets.