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

"swupd diagnose" and "swupd repair" do not repair the System #1596

@Pamalosebi

Description

@Pamalosebi

Describe the bug
"swupd diagnose" and "swupd repair" do not repair the System.

To Reproduce
Hi there,

I am running Clear Linux for a while now and suddenly while normal usage it crashed (start of Android Studio).
To see if there are issues on my system I ran:
sudo swupd diagnose

Indeed it showed a whole bunch of missing files and files which have a wrong hash.

So, I ran:
sudo swupd repair

The output is:

Inspected 248584 files
2169 files were missing
2169 of 2169 missing files were replaced
0 of 2169 missing files were not replaced
881 files did not match
881 of 881 files were repaired
0 of 881 files were not repaired
(…)
Repair successful

I rebooted the system and checked again using:
sudo swupd diagnose

Same output… Of cause I start the repair again. Which resulted in the same output as before.
It keeps going that way. At this point I am not able to “repair” the system.

Others I have talked to had the same issue. Am I doing something wrong?

Expected behavior
Use swupds repair funktionality and it acutally does repair the system.

Environment (please complete the following information):

  • Clear Linux OS Version: 35130
  • Platform: Notebook, Intel i7 8th gen

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