A beautiful, professional Bash script that automates the process of updating and upgrading your Linux system. Perfect for routine maintenance with elegant output and robust error handling.
- 🎯 Automated System Updates - Handles the entire update process in one command
- 🎨 Beautiful Output - Color-coded, professional terminal interface
- ⚡ Comprehensive Coverage - From package updates to system cleanup
- 🛡️ Safe Execution - User confirmation and error handling
- 📊 Progress Tracking - Real-time progress with success/failure reporting
- ⏱️ Execution Timing - Tracks how long the process takes
- 🔍 Transparent Operations - Shows every command being executed
- Linux system with
aptpackage manager (Ubuntu, Debian, etc.) sudoprivileges
# Clone the repository
git clone https://github.com/Samurai-Automation-Toolkit/DebFresh.git
# Navigate to directory
cd DebFresh/
# Make script executable
chmod +x deb-fresh-launcher.sh# Run the script
bash deb-fresh-launcher.shThe script will:
- Show you what operations will be performed
- Ask for confirmation before proceeding
- Execute each step with visual feedback
- Provide a detailed summary at the end
| Step | Command | Description |
|---|---|---|
| 1 | apt update |
Updates package lists |
| 2 | apt list --upgradable |
Shows available upgrades |
| 3 | apt upgrade |
Upgrades installed packages |
| 4 | apt dist-upgrade |
Performs distribution upgrade |
| 5 | apt autoremove --purge |
Removes unnecessary packages |
| 6 | apt autoclean |
Cleans repository cache |
| 7 | apt clean |
Cleans downloaded packages |
=====================================================================
SYSTEM UPDATE & UPGRADE AUTOMATION
=====================================================================
[INFO] This script will perform the following operations:
✓ Update package lists
✓ List upgradable packages
✓ Upgrade installed packages
✓ Perform distribution upgrade
✓ Remove unnecessary packages
✓ Clean up repository cache
✓ Clean up downloaded package files
Do you want to continue? (y/N): y
=====================================================================
STARTING SYSTEM UPDATE PROCESS
=====================================================================
[1/7] Updating Package Lists
Command: sudo apt update -y
[SUCCESS] Updating Package Lists completed successfully
The script is modular and easy to customize. You can:
- Modify the command list in the commands array
- Change colors by editing the color definitions
- Add additional cleanup steps
- Modify the confirmation prompt
We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest new features.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This script is designed for Debian-based Linux distributions using apt package manager. Always review scripts before running them on your system. The authors are not responsible for any issues that may arise from using this script.
- Linux community for amazing package management tools
- Contributors who help improve this script
- Everyone who automates their workflow 👍
Made with ❤️ for the Linux Community
