Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

swupd os-install failed to verify data if run within debian OS #1592

@axet

Description

@axet

Describe the bug
swupd os-install failed with:

Error: File content hash mismatch for /clearlinux/var/lib/swupd/cache/https___download.clearlinux.org_update/staged/d8a2055000d9ff84e01c64622fe3ead8c324164273abce439513803345ffc4e5 (bad server data?)

I'm running Debian, with manually compiled swupd from git source. os-install failed only if os-core-update specified. Command os-install works with "os-core" bundle only and many others.

To Reproduce

  • Install debian
  • compile swupd
  • bootstrap clear linux into folder.

sudo ./swupd os-install -n -I -F staging -u https://download.clearlinux.org/update/ /clearlinux --bundles=os-core-update --statedir=/clearlinux/var/lib/swupd

I've tried different version (specified with -V 33000) nothing helping. Something wrong with "os-core-update" bundle. If I recompile swupd with possibility to ignore verify_file errors, OS installed and executed succefully from booth: chroot and real boot after swaping folders: / (debian) <-> /clearlinux (clear linux).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions