Skip to content

linux-edu/Safe-Upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Shell Script

Safely upgrade Debian/Ubuntu or Termux packages in small, manageable segments.**

This script lets you split apt upgrade operations into smaller install scripts, so you can review and control updates safely.

βœ… Features

  • Works on Debian-based (Ubuntu, Termux, etc.)
  • Automatically uses sudo where needed
  • Lets you define how many packages to install per batch
  • Generates individual install scripts for each group

πŸš€ How to Use

  1. Clone the repo or download the script:

git clone https://github.com/linux-edu/Safe-Upgrade.git

cd safe-upgrade

chmod +x safe-upgrade.sh

  1. Run the script:

./safe-upgrade.sh

  1. Enter how many packages you'd like per install group (e.g., 5, 10, 20).

  2. The script will:

    • Update your package list
    • List upgradeable packages
    • Split them into chunks
    • Create scripts like install_package_segment_aa.sh
  3. To install:

./install_package_segment_aa.sh

πŸ–₯️ Compatibility

  • βœ… Termux
  • βœ… Debian, Ubuntu, Parrot, Kali, etc.

πŸ›‘οΈ Why This Script?

System-wide upgrades can occasionally break things. This tool allows:

  • Incrementa installation
  • Reviewing changes per segment
  • Safer debugging if something goes wrong

πŸ“„ License

This project is licensed under the MIT License.

πŸ™Œ Contribute

PRs welcome! Or fork and customize for your use.

πŸ’– Sponsor Us

If you find our work useful, consider supporting it.

Your sponsorship helps us:

  • Maintain and improve open-source tools like safe-upgrade
  • Create more scripts for Termux and Linux users
  • Dedicate time to education and community projects

Even small contributions go a long way β€” thank you for helping us keep open-source accessible to everyone. πŸ™

Sponsor

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages