Skip to content

Failed to parse uname release for Clear on WSL #140

Open
@jwakre

Description

@jwakre

When running Clear on WSL (Windows Subsystem for Linux), Swupd updates print cbm error messages. It looks like cbm_parse_system_kernel is confused by the kernel naming scheme. More information and error snippets can be found at clearlinux/swupd-client#791

Snippet from log for update from 24920->25760:
.
.
.
Applying update
...100%
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/bootman/bootman.c:L447): Failed to parse given uname release: 4.4.0-43-Microsoft
[WARNING] cbm (../src/bootman/bootman.c:L68): Unable to parse the currently running kernel: 4.4.0-43-Microsoft
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:2
Out of memory[ERROR] cbm (../src/bootman/update.c:L255): No kernels discovered in ///usr/lib/kernel, bailing
Update took 1369.5 seconds
3262 files were not in a pack
Update successful. System updated from version 24920 to version 25760
.
.
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions