Skip to content
/ au Public

You can use au πŸ“² (auto upgrade) to backup your Termux *.deb packages; This enables rollback in Termux. https://sdrausty.github.io/au

License

Notifications You must be signed in to change notification settings

SDRausty/au

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bd9b7e1 Β· May 2, 2022
May 2, 2022
Mar 18, 2020
Jan 21, 2022
Jan 18, 2019
Aug 30, 2017
Jan 7, 2022
Feb 4, 2022
May 2, 2022
Oct 14, 2017
Jan 21, 2022
Sep 5, 2017
May 2, 2022

Repository files navigation

-r--r--r-- au

-rwxrwx--- 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 Packages in three keystrokes!

Every time you want to apt update && apt upgrade or pkg up, you will also be backing up your former installation debs to /storage/emulated/0/Android/data/com.termux/txdebs by using au. Ideally, you should change /storage/emulated/0/Android/data/com.termux/txdebs 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 /storage/emulated/0/Android/data/com.termux/txdebs to downgrade packages to a previous version of a package in the hope of regaining package stability.