GithubHelp home page GithubHelp logo

wae / au Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdrausty/au

5.0 1.0 4.0 77 KB

You can use au ๐Ÿ“ฒ (auto upgrade) to backup your Termux packages, i.e. debs. https://wae.github.io/au/

Home Page: https://wae.github.io/au/

License: MIT License

Shell 100.00%
shell shell-script shell-scripts shellscript shell-scripting

au's Introduction

-rwxrwx--- au

-r--r--r-- au

You can use au ๐Ÿ“ฒ to backup you installation files in Termux, i.e. debs. If you find your system unstable after updating, you can try to use dpkg --purge pkg_name and then dpkg --install pkg_name from /sdcard/debs to downgrade packages to a previous version of a package in the hope of regaining system stability in Termux.

You should use au from your $PATH. To see your $PATH, type $PATH +enter/return. Then use mv au destination_directory to move au to your $PATH. au +enter/return will update and backup your Termux in three keystrokes!

Every time you want to apt update && apt upgrade or pkg up, you shall also be backing up your former installation debs to /sdcard/debs by using au. Ideally, you should change /sdcard/debs to an external mirco SD card destination in lines 8 and 10 of au to save space on device.

If you find your system unstable, you can use dpkg --purge pkg_name and then dpkg --install pkg_name from /sdcard/debs to downgrade packages to a previous version of a package in the hope of regaining package stability.

Important: Please use apt -o APT::Keep-Downloaded-Packages="true" install package_name(s) to populate your backup directory in conjunction with au to ensure that you can enjoy a full backup of *.deb files on device.

au's People

Contributors

ahudsonelectric1 avatar sdrausty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.