debian-maintenance

Perform Debian-based system maintenance with apt upgrade, cleanup, and diagnostics.

9|1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/khimaros/persona --skill debian-maintenance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debian-maintenance
Source: https://github.com/khimaros/persona/tree/main/server/opencode/skills/debian-maintenance
Command: npx skills add https://github.com/khimaros/persona --skill debian-maintenance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Debian/Ubuntu system maintenance can be error-prone and time-consuming; this skill provides structured, safe procedures for upgrades, package management, and cleanup to keep hosts healthy.

Core Features & Use Cases

  • Guided system upgrades with autoremove and purge to keep the system lean after major updates.
  • Package discovery, installation, removal, and diagnostics to manage software lifecycle.
  • Cleanups and diagnostics routines to reclaim disk space and verify package health.

Quick Start

Run with a safe upgrade on the target host, then perform cleanup and diagnostics using the predefined commands.

Frequently Asked Questions about debian-maintenance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform Debian system maintenance and cleanup using apt?

Debian system maintenance is performed by running structured apt workflows that execute update, full-upgrade, autoremove, and purge to safely upgrade packages and clean caches.

What is the best way to clean up unused packages and reclaim disk space on Ubuntu?

Reclaiming disk space on Ubuntu is achieved through cleanup routines that run apt autoremove and purge, removing obsolete dependencies and clearing cached files to keep the host lean.

Does this apt maintenance routine work on Linux Mint and other Debian-based distributions?

Yes, the apt maintenance routine works on Linux Mint and other Debian-based distributions, applying dpkg and apt-cache commands to manage software lifecycle and verify package health.

How do I diagnose package health issues on a Debian server?

Diagnosing package health on a Debian server is handled by predefined diagnostics routines that inspect dpkg and apt-cache states to identify and resolve package management issues.

Why should I use autoremove and purge after a full-upgrade on Debian?

Using autoremove and purge after a full-upgrade on Debian ensures obsolete dependencies and residual configuration files are removed, preventing system bloat and maintaining a healthy host.