[SOLVED] Failed to download - haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg

The following happened with installing updates on R1B5 :

  1. I started with my checks for errors, at first boot – coming back from hospital after a week
    Result was OK, no error, just warnings. FS is healthy.
  2. Run my update script - that failed to download new haiku extras package - anyhow I iterated.
  3. Í attempted to delete transaction dirs. - it failed for me (it was my mistake I left out a -r )
  4. I did a reboot - finanally recognized, my command miss an ‘r’ from rm -rf :stuck_out_tongue:
  5. restart script … and issue is still persisting
~> grep -E -i error /boot/system/var/log/syslog.old | grep -E -v -i deferred; echo; echo; echo; grep -E -i error /boot/system/var/log/syslog | grep -E -v -i deferred; echo; echo; echo; checkfs -c /boot



2024-10-17 05:44:11 KERN: PCI:   Extended capabilities: Advanced Error Reporting, Serial Number
2024-10-17 05:44:11 KERN: PCI:   Extended capabilities: Virtual Channel, Advanced Error Reporting
2024-10-17 05:44:11 KERN: PCI:   Extended capabilities: Virtual Channel, Advanced Error Reporting
2024-10-17 05:44:11 KERN: ahci: sata_request::finish ATA command 0xa0 failed: status 0x51, error 0x20
2024-10-17 05:44:11 KERN: ahci: sata_request::finish ATA command 0xa0 failed: status 0x51, error 0x20
2024-10-17 05:44:11 KERN: usb_disk: got device name "SanDisk Ultra USB 3.0 1.00": No error
2024-10-17 05:44:11 KERN: usb_disk: got device name "Samsung Flash Drive FIT 1100": No error
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: KDiskDeviceManager::InitialDeviceScan() returned error: Bad data
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:11 KERN: ntfs: error: identify_partition: boot signature doesn't match
2024-10-17 05:44:14 AUTH 'sshd'[195]: error: setsockopt IPV6_V6ONLY: Operation not supported
2024-10-17 05:44:24 DAEMON 'DHCP': /dev/net/ipro1000/0: DHCP status = No error
2024-10-17 05:45:04 KERN: intel_extreme: compute_dpll_g4x: best MHz: 140 (error: 0)
2024-10-17 05:45:05 DAEMON 'DHCP': /dev/net/iprowifi4965/0: DHCP status = No error
2024-10-17 05:45:07 USER: Error in AllUnarchived method of object of type 5BView
2024-10-17 05:45:07 USER: An error occured during unarchival, cleaning up.



        31166 nodes checked,
        0 blocks not allocated,
        0 blocks already set,
        0 blocks could be freed

        files           27754
        directories     2423
        attributes      539
        attr. dirs      393
        indices         57

        direct block runs               33530 (27,89 GiB)
        indirect block runs             2680 (in 136 array blocks, 95,03 GiB)
        double indirect block runs      0 (in 0 array blocks, 0 bájt)
~> 
~> 
~> 
~> rm -rf /boot/system/packages/administrative/transaction-*
~> ls -ld /boot/system/packages/administrative/transaction-*
ls: cannot access '/boot/system/packages/administrative/transaction-*': No such file or directory
~> 
~> 
~> 
~> chk_pkgs.sh
Tároló ellenőrzőkódjának letöltése (https://software.besly.de/repo64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions) ...
Tároló ellenőrzőkódjának letöltése (http://fatelk.com/repo_64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64) ...
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current) ...
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku) ...
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current) ...
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts) ...
Tároló ellenőrzőkódjának letöltése (http://haiku.kacperkasper.pl/repo/x86_64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX's Depot) ...
Tároló ellenőrzőkódjának letöltése (https://www.haikuware.ru/repo/lote) ...
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE) ...
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)...done.
  100% repochecksum-1 [64 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX's Depot)...done.
  100% repochecksum-1 [71 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE)...done.
The following changes will be made:
  in system:
    upgrade package haiku-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_loader-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package zlib-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
    upgrade package clipdinger-1.2.3-2 to 1.2.4-2 from repository HaikuPorts
    upgrade package zlib_devel-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
    upgrade package ponpokodiff-0.5-1 to 0.5.1-1 from repository HaikuPorts
    upgrade package readline-8.2.001-1 to 8.2.013-1 from repository HaikuPorts
    upgrade package qt5-5.15.14-3 to 5.15.15-1 from repository HaikuPorts
    upgrade package dooble-2024.08.20-1 to 2024.09.29-1 from repository HaikuPorts
    upgrade package pyqt5-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
    upgrade package pyqt5_python310-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
    upgrade package haiku_datatranslators-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_extras-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package userland_fs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_devel-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package webpositive-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package netfs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
Continue? [yes/no] (yes) : 
  100% haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg [36,83 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
  100% haiku_loader-r1~beta5_hrev57937_122-1-x86_64.hpkg [291,26 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_loader-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
  100% zlib-1.3.1-4-x86_64.hpkg [122,76 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/zlib-1.3.1-4-x86_64.hpkg...done.
  100% clipdinger-1.2.4-2-x86_64.hpkg [202,71 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/clipdinger-1.2.4-2-x86_64.hpkg...done.
  100% zlib_devel-1.3.1-4-x86_64.hpkg [32,26 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/zlib_devel-1.3.1-4-x86_64.hpkg...done.
  100% ponpokodiff-0.5.1-1-x86_64.hpkg [80,26 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/ponpokodiff-0.5.1-1-x86_64.hpkg...done.
  100% readline-8.2.013-1-x86_64.hpkg [170,15 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/readline-8.2.013-1-x86_64.hpkg...done.
  100% qt5-5.15.15-1-x86_64.hpkg [44,85 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/qt5-5.15.15-1-x86_64.hpkg...done.
  100% dooble-2024.09.29-1-x86_64.hpkg [5,96 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/dooble-2024.09.29-1-x86_64.hpkg...done.
  100% pyqt5-5.15.11-1-x86_64.hpkg [219,29 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/pyqt5-5.15.11-1-x86_64.hpkg...done.
  100% pyqt5_python310-5.15.11-1-x86_64.hpkg [6,87 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/pyqt5_python310-5.15.11-1-x86_64.hpkg...done.
  100% haiku_datatranslators-r1~beta5_hrev57937_122-1-x86_64.hpkg [2,44 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_datatranslators-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
  100% haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg [201,84 KiB]
Checksum error:
*** expected '94b94cc87c2199d8d30cc4bad11ee6b066e3eb333cafab7fb0787c4c8a8702d6'
*** got      'c1a32211a68b10b149083ada49e7e38d1e023131df61cb21992ae8fc360eda2a'*** Failed to download package haiku_extras: Bad data
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg...~> 
~> ls -l /boot/system/packages/haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg
ls: cannot access '/boot/system/packages/haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg': No such file or directory
~> find /boot -name haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg
~> uname -a
Haiku HiQ_R1B5_256GO.szabadpart.net 1 hrev57937+121 Oct  3 2024 06:48 x86_64 x86_64 Haiku
~> 


PLEASE, check my terminal events and point onto that

… where I am still stupid ?

the package can’t be wrong on the server !.. or can ?

1 Like

Sure it can. That’s what the checksum is for, to verify you have gotten the package correctly, it was not mangled in transport and was not tampered with.

Try deleting the downloaded package and downloading it again. See if the new checksum is the same as the one you got now. If it is we might have to check the server.

1 Like

Ahoy @nephele,

Sorry for late answering … On 5th of October I had an accident, my upper right arm broken vertically.
I just came out the hospital where finally I had operated yet,then rested a bit and booted Haiku.
If you had been read my terminal log too … then you could have seen I deleted the transaction dirs. and used the find command to seek for the exact package - not available in my install.
After I just issued a uname -a, to be clear which Haiku and version.

The issue still persists.

~> chk_pkgs.sh
Tároló ellenőrzőkódjának letöltése (https://software.besly.de/repo64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions) ...
Tároló ellenőrzőkódjának letöltése (http://fatelk.com/repo_64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64) ...
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current) ...
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku) ...
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current) ...
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts) ...
Tároló ellenőrzőkódjának letöltése (http://haiku.kacperkasper.pl/repo/x86_64) ...
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX's Depot) ...
Tároló ellenőrzőkódjának letöltése (https://www.haikuware.ru/repo/lote) ...
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE) ...
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)...done.
  100% repochecksum-1 [64 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts)...done.
  100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX's Depot)...done.
  100% repochecksum-1 [71 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE)...done.
The following changes will be made:
  in system:
    upgrade package haiku-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_loader-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package zlib-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
    upgrade package clipdinger-1.2.3-2 to 1.2.4-2 from repository HaikuPorts
    upgrade package zlib_devel-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
    upgrade package ponpokodiff-0.5-1 to 0.5.1-1 from repository HaikuPorts
    upgrade package readline-8.2.001-1 to 8.2.013-1 from repository HaikuPorts
    upgrade package qt5-5.15.14-3 to 5.15.15-1 from repository HaikuPorts
    upgrade package dooble-2024.08.20-1 to 2024.09.29-1 from repository HaikuPorts
    upgrade package pyqt5-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
    upgrade package pyqt5_python310-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
    upgrade package haiku_datatranslators-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_extras-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package userland_fs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package haiku_devel-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package webpositive-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
    upgrade package netfs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
Continue? [yes/no] (yes) : 
Re-using download '/boot/system/packages/administrative/transaction-1/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/haiku_loader-r1~beta5_hrev57937_122-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_loader-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/zlib-1.3.1-4-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/zlib-1.3.1-4-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/clipdinger-1.2.4-2-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/clipdinger-1.2.4-2-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/zlib_devel-1.3.1-4-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/zlib_devel-1.3.1-4-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/ponpokodiff-0.5.1-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/ponpokodiff-0.5.1-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/readline-8.2.013-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/readline-8.2.013-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/qt5-5.15.15-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/qt5-5.15.15-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/dooble-2024.09.29-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/dooble-2024.09.29-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/pyqt5-5.15.11-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/pyqt5-5.15.11-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/pyqt5_python310-5.15.11-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current/packages/pyqt5_python310-5.15.11-1-x86_64.hpkg...done.
Re-using download '/boot/system/packages/administrative/transaction-1/haiku_datatranslators-r1~beta5_hrev57937_122-1-x86_64.hpkg' from previous transaction
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_datatranslators-r1~beta5_hrev57937_122-1-x86_64.hpkg...done.
  100% haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg [201,84 KiB]
Checksum error:
*** expected '94b94cc87c2199d8d30cc4bad11ee6b066e3eb333cafab7fb0787c4c8a8702d6'
*** got      'c1a32211a68b10b149083ada49e7e38d1e023131df61cb21992ae8fc360eda2a'*** Failed to download package haiku_extras: Bad data
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku_extras-r1~beta5_hrev57937_122-1-x86_64.hpkg...~> 
~> 


My script

~> cat chk_pkgs.sh
#!/bin/bash
pkgman refresh && pkgman update && pkgman full-sync
~> 

Ahoy @kallisti5,

Could you check this situation on the server ?
Actually Í can type with left hand only, in an inconvenient positure (as lack of table here in my room I used to be done lying on my bed putting myself in my right side. Now it is impossible :smiley:
Instead of I am crowning to the heel of the double bed, where the laptop is on a drawn and reversed drawer, while I weight at the beginning of the rocking chair. Fortunately, it is not a classic swing chair, it is on the foot -like soles, but it has a rocking mechanism that cannot be switched - it works all the time.)
.This way I would open a ticket about it, but reading and writing are tiresome now,

You have not deleted the downloaded file as I have asked you to do.

Of course it will keep the same checksum if it is the same download.

A bit dissapointed due to your answer.

The transaction dirs. contain the donloaded packages.
As I wrote I deleted not the last one but all.
Packages dir. contain it, if activated. It can be available in state dirs.
If I downgraded it regularly with pkgman.
This way I used find comman as I wrote - earlier : It had not came back as the affected package it would be available anywhere under /boot.mountpont and FS.
This way the prompt came back - nothing between them - so the file surely not in my install, this way I cannot deletet it.

Í kindly admit you can be a very good developer, but you had not checked my first terminal log as I asked in my opening post, so you should not advice on sysadmin stuff - without pointing that what I made wrong with commands or what I forgot to check, etc.

Thanks for confirming the file can be corrupt on the server, or the generated key, I am not sure,

This way I asked Alexander to check it on the server.

I am out for today, as I tired.

~> rm -rf /boot/system/packages/administrative/transaction-*
~> ls -ld /boot/system/packages/administrative/transaction-*
ls: cannot access '/boot/system/packages/administrative/transaction-': No such file or directory
~>
~>
~> chk_pkgs.sh
Tároló ellenőrzőkódjának letöltése (Software) …
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions) …
Tároló ellenőrzőkódjának letöltése (Fat Elk Software) …
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64) …
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current) …
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku) …
Tároló ellenőrzőkódjának letöltése (https://eu.hpkg.haiku-os.org/haikuports/r1beta5/x86_64/current) …
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts) …
Tároló ellenőrzőkódjának letöltése (haiku x86_64 repository) …
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX’s Depot) …
Tároló ellenőrzőkódjának letöltése (https://www.haikuware.ru/repo/lote) …
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE) …
100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions)…done.
100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64)…done.
100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)…done.
100% repochecksum-1 [64 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts)…done.
100% repochecksum-1 [65 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (KapiX’s Depot)…done.
100% repochecksum-1 [71 bájt]
Ellenőrzőkód érvényesítése a tárolóhoz (LOTE)…done.
The following changes will be made:
in system:
upgrade package haiku-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package haiku_loader-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package zlib-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
upgrade package clipdinger-1.2.3-2 to 1.2.4-2 from repository HaikuPorts
upgrade package zlib_devel-1.3.1-3 to 1.3.1-4 from repository HaikuPorts
upgrade package ponpokodiff-0.5-1 to 0.5.1-1 from repository HaikuPorts
upgrade package readline-8.2.001-1 to 8.2.013-1 from repository HaikuPorts
upgrade package qt5-5.15.14-3 to 5.15.15-1 from repository HaikuPorts
upgrade package dooble-2024.08.20-1 to 2024.09.29-1 from repository HaikuPorts
upgrade package pyqt5-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
upgrade package pyqt5_python310-5.15.10-3 to 5.15.11-1 from repository HaikuPorts
upgrade package haiku_datatranslators-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package haiku_extras-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package userland_fs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package haiku_devel-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package webpositive-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
upgrade package netfs-r1~beta5_hrev57937_121-1 to r1~beta5_hrev57937_122-1 from repository Haiku
Continue? [yes/no] (yes) :
100% haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg [36,83 MiB]
Checksum error:
*** expected ‘fd3fb4c2baa6060ec4a652fd69932a29c1195801341e8f9b329b0ded62bbfb1d’
*** got ‘5a7b8c3fcd943aa3731774b87dbc8986fca5f8a68a322c2f2f80fa99dee1a9c3’
** Failed to download package haiku: Bad data
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg…~>

After the run appeared the transaction dir. again, not before.
ls -ld /boot/system/packages/administrative/transaction-*
drwxr-xr-x 1 user root 2048 okt. 18 10:55 /boot/system/packages/administrative/transaction-1
~>

These lines in your second log mean that the download has been saved on dosk, and has been reused.

Now in your third log you get yet another wrong checksum.

If you now delete it again does this checksum now stay or does it keep rotating?

On my Haiku-laptop I get an identical failure, with the exact same bad checksum. Given the odds for a hash collision, I highly doubt this issue to simply be due to failed downloads which can easily be resolved by removing and re-fetching.

Thus I second the request for a validation of what is on the server, or an explanation on how we should investigate our systems closer.

What should the correct checksum be? What is the canonical source for that truth?

Thanks,

Yes, if this happens twice with the same sum or on two different systems with the same sum this is very likely a server problem.

I’m not sure where the checksum comes from, I would assume from the repository list, but I am not sure.

For what it is worth, I tried fetching and checksumming the file with completely unrelated software and hardware:

% uname -s
FreeBSD 14.1-RELEASE-p5 GENERIC
% wget https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg
‥
2024-10-18 12:00:04 (3.71 MB/s) - ‘haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg’ saved [38623630/38623630]
% sha256sum haiku-r1\~beta5_hrev57937_122-1-x86_64.hpkg
5a7b8c3fcd943aa3731774b87dbc8986fca5f8a68a322c2f2f80fa99dee1a9c3  haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg

With the resulting checksum identical to what pkgman reports, it seems our haiku systems are fetching that file correctly.

Checking the file localy results in another checksum?

/boot/system/packages> sha256sum haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg 
fd3fb4c2baa6060ec4a652fd69932a29c1195801341e8f9b329b0ded62bbfb1d  haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg

You seem to have the correct package. So somehow this got corrupted on the server, or is wrong for another reason

So it seems. I believe it was even a completely different unmentioned hash.

In an attempt to re-download, I tried removing that file. That appears to have been a very bad idea though. While it did result in unblocking the upgrade and lead to both HaikuDepot and pkgman claiming the system to have all updates, it also led to a state where the system no longer boots. (Boot volume is not valid)

Please be careful to not repeat my mistake here!

Just testing out Haiku for fun and I’m really digging it so far, but I’m running into the same or at least a similar issue here.

On a fresh virtualbox install, I opened terminal and issued ‘pkgman update’. The repository checksums pass and the package update list is generated, I type yes to continue. pkgman downloads the first package ‘haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg’ and then fails with a checksum error.

Continue? [yes/no] (yes) : yes
  100% haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg [36.83 MiB]
Checksum error:
*** expected '251c48165bdd397a44eee8857b35a331c3ffc1f64d5395570a2cc4dfc759b7c'
*** got      '61589362e03fe2aff3f5fd6bf6c13293eef502e476a5f394a629915f87665df' *** Failed to download package haiku: Bad data
Validating checksum for https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_64/current/packages/haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg...~> 

Downloading the package with wget and checking it give me the same hash ‘6158936…’ that pkgman reports it got, not the one it expects.

Downloading the package from my Arch laptop yields a different file/hash.

~/Desktop> sha256sum haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg 
7e9037aa2c0a344d5e00ba99defd4749a7b587a67038c64bac3d148cad1e68ca  haiku-r1~beta5_hrev57937_122-1-x86_64.hpkg

So is something going on with package replication across various cdn nodes? The cdn is returning slightly different packages depending on which node I’m 303 redirected to.

Length of 38623744 returned from 156.146.43.65 with wget on Haiku,
Length of 38624070 returned from 185.93.1.250 with wget on Arch.

Or is something else going on?

1 Like

I’m facing the same situation with the repo, on 2 different 32 bits installations:

~> pkgman refresh
Fetching repository checksum from https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_gcc2/current ...
Validating checksum for Haiku ...
Fetching repository-cache from https://eu.hpkg.haiku-os.org/haiku/r1beta5/x86_gcc2/current ...
Validating checksum for Haiku ...
Checksum error:
*** expected '494fc0867952d04ac36d3fb97895ed592f1c12a5dcfab71701bfcf1a76c6292a'
*** got      '198171b3f3ee99e75b202fbd858fbf2c7de2bb32abcd438db9ec480daaca4212'*** failed! : Bad data

It seems there was a stale cache in the CDN. I’ve cleared it, and made some adjustments that should temporarily solve this problem.

3 Likes

That completely cleared this issue up for me. Upgrades went through without a hitch. Thanks waddlesplash, I really appreciate it.

1 Like

Thanks @waddlesplash,

I can confirm too … upgrade worked for me as well.
I write this post from a freshly refreshed Haiku/Webpositive.

I am currently experiencing this issue for the haiku-r1~beta5_hrev_58288-1-x86_64 package. The downloaded package has the same checksum every time. Tested on two different machines. I’ve tried deleting the downloaded files, to no avail.

EDIT: This resolved with the new hrev available today (next day).

1 Like

Gr8 4 ya’ !+ :smiley: