Skip to content

repair corrupt packages - #3873

Draft
LKuemmel wants to merge 5 commits into
openWB:masterfrom
LKuemmel:repair_corrupt_packages
Draft

repair corrupt packages#3873
LKuemmel wants to merge 5 commits into
openWB:masterfrom
LKuemmel:repair_corrupt_packages

Conversation

@LKuemmel

@LKuemmel LKuemmel commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Integritätsprüfung dauert ca 6s auf einem Raspi
es werden auch abhängige Pakete geprüft
das Skript verwendet nur Standardbibliotheken

  • fehlendes Paket installieren
  • Paket auf neuere Version updaten
  • korruptes Paket aus requirements.txt reparieren
  • korruptes abhängiges Paket reparieren

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds boot-time detection and repair of corrupted Python packages.

Changes:

  • Validates installed files against package RECORD hashes.
  • Reinstalls detected corrupted packages.
  • Integrates validation into the reboot workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
runs/install_packages.py Implements package installation, integrity checking, and repair.
runs/atreboot.sh Runs the package repair script during startup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread runs/install_packages.py Outdated
Comment thread runs/install_packages.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@LKuemmel
LKuemmel requested a review from benderl August 28, 2026 09:44
@LKuemmel
LKuemmel marked this pull request as draft August 28, 2026 11:53
@LKuemmel

Copy link
Copy Markdown
Contributor Author

Metadaten können auch defekt sein.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants