Skip to content

Bash script to update and maintain a Manjaro or Arch system

License

Notifications You must be signed in to change notification settings

puxplaying/maus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maus

This Bash script was made to update and maintain a Manjaro or Arch system with Pacman and the alternative package managers - Pamac, Snap and Flatpak in a automatic manner, with as little as necessary user intervention required. It makes use of the functionality of PacUI for the system maintenance.

So what is it actually doing?

  • Check for database lock file and prompt for removal in case it's present
  • Remove partially downloaded packages
  • Mirrorsync and system update via Pacman
  • AUR update via installed AUR helper: pamac, yay, pikaur, aurman, pakku, trizen, pacaur, paru
  • Search for orphaned packages and prompt for removal
  • Check for failed systemd service(s)
  • Check for broken symlinks
  • Check consistency of local repository
  • Check for packages moved to the AUR
  • Clean systemd log files
  • Clean package cache ( Note this will remove all package versions, except the latest 2 )
  • Check for EOL Kernels
  • Check if DIFFPROG is set, or meld is installed and run pacdiff
  • Update Flatpak packages and clean up unused packages - if flatpak is installed
  • Update Snap packages and remove all package versions, except the latest 2 - if snapd is installed
  • Show how long it did take to run this script

How to use:

  • Make maus executable and run with ./maus

If you prefer a menu icon and launcher, install it with:

  • sudo pacman -Syu base-devel git
  • git clone https://github.com/puxplaying/maus.git
  • cd maus
  • makepkg -srci

After installation:

  • click on the Update icon in the menu

    update
  • or run it via maus


See maus -h for advanced options:

 Welcome to the Help Page!
 [maus] runs by default without flags, but also provides advanced options.

 maus [option]:

 -a, --aur         - [SET AUR_HELPER]
                     Set the desired AUR Helper manually

 -i, --interactive - [INTERACTIVE MODE]
                     Guided run with more options, includig the (-a, --aur) flag

 -l, --list        - [LIST AUR_HELPER]
                     List all supported AUR Helper

 -h, --help        - This Help Text

About

Bash script to update and maintain a Manjaro or Arch system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages