[haiku-bugs] Re: [Haiku] #18115: "Checksum error" while attempting to update packages from the Haiku repo.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 05 Dec 2022 04:20:36 -0000

#18115: "Checksum error" while attempting to update packages from the Haiku 
repo.
------------------------+----------------------
  Reporter:  bipolar    |      Owner:  nobody
      Type:  bug        |     Status:  new
  Priority:  high       |  Milestone:  R1/beta4
 Component:  - General  |    Version:  R1/beta4
Resolution:             |   Keywords:
Blocked By:             |   Blocking:
  Platform:  All        |
------------------------+----------------------
Comment (by kallisti5):

 Yeah, the wording is a bit confusing which threw me off.  The problem it
 was complaining about is the repo.sha256 not matching the sha256sum of the
 repo file.

 I did some digging, and rclone is attempting to use size + modified time
 to detect changes in files.  the size of already present repo file varies,
 but the size of an already present repo.sha256 file is consistent (as the
 checksums and filenames are always the same length)

 More digging, and I found this awesomely described flag for rclone:

 {{{
   -c, --checksum                             Skip based on checksum (if
 available) & size, not mod-time & size
 }}}

 So, i'm hopeful that will solve it lol.  Doing a test build now.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18115#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: