Skip to content

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.

License

Notifications You must be signed in to change notification settings

Samurai-Automation-Toolkit/DebFresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 System Update & Upgrade Automation Script

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.

DebFresh

✨ Features

  • 🎯 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

🚀 Quick Start

Prerequisites

  • Linux system with apt package manager (Ubuntu, Debian, etc.)
  • sudo privileges

Installation

# 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

Usage

# Run the script
bash deb-fresh-launcher.sh

The script will:

  1. Show you what operations will be performed
  2. Ask for confirmation before proceeding
  3. Execute each step with visual feedback
  4. Provide a detailed summary at the end

📋 What It Does

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

🎯 Example Output

=====================================================================
  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

🛠️ Customization

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

🤝 Contributing

We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest new features.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Disclaimer

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.

🙏 Acknowledgments

  • Linux community for amazing package management tools
  • Contributors who help improve this script
  • Everyone who automates their workflow 👍

Made with ❤️ for the Linux Community

About

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.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages