Skip to content

About

A small system tray applet with a systemd timer for safe APT & Flatpak update management in the CLI. Automatically checks for updates, cleans cache, and removes orphan packages.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

DebianUpdate v26.12.1 (Public Beta)

Release: 26.12.1 Public Beta Target: Debian 13 | Testing | Sid Language: Rust License: GPL-3.0-or-later i18n: 20 Locales

DebianUpdate is a native Rust desktop maintenance, package management, kernel, bootloader, and workstation configuration suite engineered by Norse Software for Debian GNU/Linux 13 (Trixie), Testing, and Sid.

DebianUpdate 26.12.1 running in the Frost dark theme

Public Beta Notice (v26.12.1): This release is a Public Beta validated primarily on a single bare-metal Debian Sid reference workstation (UEFI Secure Boot + GRUB + NVIDIA + Hyprland). While core update safety paths, pre-flight checks, and privileged helper contracts are extensively unit- and container-tested, hardware-specific edge cases may exist on other motherboards, storage layouts, GPU combinations, and bootloader configurations. Keep verified system backups and recovery keys (LUKS / BitLocker) before modifying bootloaders or UEFI Secure Boot databases.


Visual Themes

DebianUpdate ships with a restrained, low-distraction native UI (egui / wgpu) featuring three curated visual themes—Frost (primary), Navy, and Rose—with dark and light modes, zero idle CPU wakeups, and 20 built-in UI locales.

DebianUpdate theme switcher showcasing Frost, Navy, and Rose themes


Core Capabilities

Area Capabilities
Safe System Updates Unified APT and Flatpak update workflow backed by deterministic RustGuard pre-flight checks (disk space, lock state, partial upgrade risk, held-back package explanations, and dpkg interrupt protection) plus a systemd background checker and native StatusNotifierItem system tray indicator (debian-update-tray).
Software & Curated Apps Searchable package discovery alongside a curated catalog of verified desktop, gaming, performance, and creative applications for Debian Testing/Sid—including Norse Vecpixel (AppImage with SHA-256 verification and freedesktop desktop/icon integration).
AppImages Managed desktop integration, version tracking, and rollback-safe updates for local and curated AppImages.
System & User Tweaks Curated desktop, gaming, audio, and system tuning controls applied through bounded, auditable helper operations without hand-editing system configs.
Power Tools (Tools Hub) Centralized system administration panels for Bootloader, Disks & Mounts (Easy and Advanced /etc/fstab management), Printers (CUPS / IPP Everywhere discovery and queue management), Snapshots & History (Btrfs/Snapper & APT transaction history), Firmware (kernel log scan for missing firmware), Firewall, Services (systemd unit health), Groups, Multilib (32-bit), Software Sources, Configuration Files (dpkg conffile diffs/merges), and AMD Graphics.
RustGuard Doctor Standalone read-only diagnostics console inspecting package database integrity, /boot and ESP capacity, kernel boot triads, driver alignment, Secure Boot state, and failed services.
Interactive HelpCards Middle-click any supported control, badge, or panel to open an inline contextual HelpCard explaining what the setting does, whether it is read-only or privileged, and the corresponding underlying command.

Kernel Manager & NVIDIA Driver Manager

DebianUpdate provides unified kernel lifecycle management and NVIDIA driver coherence checks designed for fast-moving Debian Testing and Sid hosts:

  • CPU Microarchitecture Tiering: Automatically detects host ISA capabilities (x86-64-v1 through x86-64-v4 and znver4) and resolves repository priority deterministically before staging packages.
  • CachyOS Kernel Tracks: Supports Debian stock kernels alongside CachyOS kernel flavors (Standard, BORE, LTS, and dedicated EAC) with automated boot-triad verification and a conservative retention policy (keeping the 2 newest CachyOS kernels plus 1 Debian fallback kernel; the running kernel is always protected from removal).
  • Matched Prebuilt NVIDIA Open Modules: Resolves and stages prebuilt NVIDIA open kernel modules paired directly to each CachyOS kernel release alongside matching userspace packages and APT pinning, preventing module/userspace ABI skew and avoiding brittle local DKMS rebuilds.
  • Secure Boot & MOK Handling: Passive sysfs UEFI Secure Boot detection, guided 3-step Machine Owner Key (MOK) enrollment for standard kernels, and lockdown/DKMS conflict warnings.
  • Handheld-Only Deckify Gating: The linux-cachyos-deckify kernel track is automatically hidden on standard desktops and laptops unless RustGuard detects supported handheld hardware (or Deckify is already installed).

Easy Anti-Cheat (EAC) Linux v2 Setup

DebianUpdate includes a dedicated Anti-Cheat (EAC) workflow under Kernels -> Anti-Cheat (EAC) that isolates EAC Linux v2 boot requirements from your daily Debian environment.

What the 1-Button Setup Automates

Clicking Set up CachyOS EAC mode runs a verified, fail-closed pipeline (eac-setup-grub) that:

  1. Installs Signed Upstream Binaries Only: Installs linux-cachyos-eac and matched prebuilt CachyOS NVIDIA open kernel modules (verifying zero local DKMS modules exist under the EAC module tree and never locally re-signing EAC binaries with MOK or sbctl).
  2. Stages an Isolated ESP Payload: Copies the untouched CachyOS-signed bootloader to /boot/efi/EFI/cachyos-eac/systemd-bootx64.efi, stages the EAC kernel, initramfs, and strict-IOMMU loader entry (/<machine-id>/linux-cachyos-eac/), and installs an initramfs-tools post-update hook plus a GRUB ordering drop-in so daily boots stay on Debian GRUB.
  3. Registers an Isolated UEFI Entry: Creates the Debian CachyOS EAC UEFI NVRAM entry (efibootmgr --create-only) appended to the tail of BootOrder so your default bootloader order is never hijacked.
  4. Configures One-Shot GRUB BootNext: Installs /etc/grub.d/42_norse_eac_bootnext:
    • On GRUB 2.16+ (efibootnext.mod available), emits a native efibootnext + cold-reset menu entry (and removes any legacy trampoline).
    • On GRUB 2.12 / 2.14, stages a signed EfiResetCold trampoline (/EFI/norse-eac/bootnext-eac.efi) without touching /EFI/cachyos-eac/.
  5. One-Session Switching: Enter EAC mode from the GUI (Reboot into EAC mode (once)), from the GRUB menu, or via Steam launch options (norse-eac-run %command%). A normal reboot returns automatically to your daily Debian GRUB session.

UEFI Secure Boot Certificate Enrollment Note

Because linux-cachyos-eac enforces kernel lockdown and disables CONFIG_INTEGRITY_MACHINE_KEYRING, Shim MokList keys are not accepted—the CachyOS EAC CA certificate must be present in the firmware's UEFI db signature database.

  • UEFI Setup Mode (or local sbctl KEK present): The helper appends the CachyOS EAC CA into UEFI db automatically while preserving existing Microsoft/firmware keys.
  • Standard UEFI User Mode / Foreign Platform Key (PK): DebianUpdate refuses to reset or wipe your existing PK. It stages all EAC payloads and places cachyos-eac-ca.der on the ESP (/boot/efi/EFI/cachyos-eac/cachyos-eac-ca.der) so you can complete the guided one-time db append in UEFI BIOS Key Management or from your key-owning OS without disturbing Windows or dual-boot keys.

Hardware Validation Status: Bare-metal EAC Linux v2 boot and one-shot BootNext transitions are confirmed working on GRUB (both the EfiResetCold trampoline path on GRUB 2.12/2.14 and the native efibootnext path on GRUB 2.16+).


1-Button Hyprland + Noctalia v5 Desktop Setup

Under Curated apps, DebianUpdate provides a single-action Install Hyprland + Noctalia workflow (as well as a minimal Install Hyprland (barebones) option) for Debian Testing and Sid workstations.

Live Debian Sid desktop running Hyprland and Noctalia v5 configured by DebianUpdate

  • Opinionated, Ready-to-Boot Session: Pairs Debian's native hyprland Wayland compositor stack with Noctalia v5 (native C++ / Luau desktop shell packaged as a local .deb), bundled cursor theme, and GPU-aware session defaults.
  • Pre-Configured Autostart: Automatically integrates debian-update-tray into the desktop session autostart so update alerts appear directly in the Noctalia v5 bar.

Bootloader Support & Maturity Matrix

DebianUpdate inspects and manages UEFI bootloaders under Tools -> Bootloader. All alternative bootloader flows are designed to keep your existing Debian GRUB configuration intact as a fallback.

Bootloader Maturity Status Notes
GRUB Confirmed (Bare-Metal Verified) Full daily management, kernel parameter toggles, and bare-metal verified EAC Linux v2 one-shot BootNext (trampoline on GRUB 2.12/2.14; native efibootnext on GRUB 2.16+).
Limine Experimental (Code Reviewed) Isolated /EFI/limine staging with BLAKE2b-512 verification, Snapper snapshot integration, and live visual boot menu customizer. Code-reviewed; not yet verified on bare-metal hardware.
systemd-boot Experimental (Code Reviewed) Boot entry inspection and staging support. Code-reviewed; not yet verified on bare-metal hardware.
rEFInd Experimental (Untested) Theoretically supported and probed; not yet tested on bare-metal hardware.

DebianUpdate Tools -> Bootloader -> Limine boot menu customizer in Frost theme


Architecture & Engineering Rationale

Why Rust?

  • Memory Safety for Privileged Code: The entire workspace enforces #![forbid(unsafe_code)], eliminating memory-corruption classes across the unprivileged GUI, background checker, CLI, and Polkit-gated root helper.
  • Compile-Time State & Contract Validation: Privileged operations are strictly limited to a fixed set of typed HelperVerb actions validated against explicit Polkit policies (org.norse.debian-update.*), never arbitrary root command execution.
  • Zero Shell Injection: External system tools (apt-get, dpkg, efibootmgr, flatpak, curl, etc.) are executed directly via typed argv builders (Cmd) with explicit environment sanitization and timeouts—never concatenated into shell strings.
  • Deterministic RustGuard Pre-Flight Verification: Every mutating workflow runs structured read-only probes, SHA-256 manifest checks, and footprint validation before elevating privileges.
  • Zero Idle CPU Wakeups: The native desktop GUI (eframe / egui over wgpu) renders strictly on demand, consuming zero background CPU cycles while resting.

Why Full CachyOS Kernel + Prebuilt NVIDIA Stack?

  • Timely Upstream Improvements: Delivers current Linux kernel releases, scheduler tuning, and upstream security fixes quickly to Debian Testing and Sid workstations.
  • Native EAC Linux v2 Compatibility: Provides upstream-signed linux-cachyos-eac kernels and matched kernel modules required for kernel-lockdown EAC attestation without weakening Secure Boot guarantees.
  • ABI-Matched NVIDIA Open Drivers Without DKMS Fragility: Ships prebuilt NVIDIA open kernel modules compiled against each exact CachyOS kernel build, eliminating common DKMS compilation failures during rapid kernel transitions.
  • Verified Mirrors & Reputable Maintenance: Package staging runs unprivileged in private 0700 staging directories against a curated HTTPS-only mirror allowlist with SHA-256 verification and pinned CachyOS OpenPGP signing fingerprints before deterministic .deb assembly.

Installation & Build from Source

System Requirements

  • Target OS: Debian GNU/Linux 13 (Trixie), Testing, or Sid (amd64, UEFI recommended)
  • Rust Toolchain (for building from source): rustc / cargo 1.95+ for debian-update-gui (1.89+ for core, CLI, tray, check, and helper crates)
  • Runtime Dependencies: apt, dpkg, polkitd (recommended: needrestart, flatpak, apt-listbugs, sbsigntool)

Build from Source

# 1. Clone the repository
git clone https://github.com/TuxOfValhalla/debian-update.git
cd debian-update

# 2. Build all workspace binaries in release mode
cargo build --release --workspace

The release build produces the following binaries under target/release/:

Binary Role
debian-update-gui Unprivileged native desktop GUI (eframe / wgpu)
debian-update Interactive CLI updater and read-only diagnostic commands (doctor, sources, held, conffiles, status, mcp)
debian-update-tray StatusNotifierItem system tray indicator
debian-update-check Hardened root oneshot background update checker
debian-update-helper Bounded pkexec privileged helper (org.norse.debian-update.policy)

Local System Installation & Packaging

Packaging assets (Polkit action and rules files, hardened systemd units, desktop entries, and manual pages) live under packaging/2.0/. Review packaging/2.0/README.md before installing system-wide binaries or Polkit policies on a Debian host.

# Run the unprivileged GUI directly from a local build (read-only probes)
./target/release/debian-update-gui

# Run the read-only RustGuard diagnostics CLI
./target/release/debian-update doctor

License & Trademark Notice

Published by Norse Software under the GNU General Public License v3.0 or later (GPL-3.0-or-later). See LICENSE for full terms.

Disclaimer: DebianUpdate is an independent open-source project by Norse Software and is not affiliated with, endorsed by, or sponsored by Debian or Software in the Public Interest, Inc. Use of the Debian name and swirl logo is strictly nominative / fair use to identify the target operating system.

About

A small system tray applet with a systemd timer for safe APT & Flatpak update management in the CLI. Automatically checks for updates, cleans cache, and removes orphan packages.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages