Bash script to perform full system maintenance on Pop!_OS, including:
- Repair of broken or missing packages
- APT clean/update/full-upgrade (as recommended by System76)
- Flatpak update and cleanup
- Snap refresh
- Optional installation or upgrade of the recovery partition
- Clone or download:
curl -O https://raw.githubusercontent.com/KristupasJon/Pop_OS-maintenance-script/main/pop-os-maintain.sh - Run:
./pop-os-maintain.sh - (Optional) Add script to PATH to run from anywhere:
git clone https://github.com/KristupasJon/Pop_OS-maintenance-script
Run:
./install.sh
Usage:
pop-os-maintain.sh
Don't run the script as sudo pop-os-maintain.sh. If you do, flatpak will run as sudo and there may be file permission issues. By design always run flatpak without sudo.