Gravemind / pacpend

Pretty parametrable archlinux's `pacman -Qu` output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pacpend

pacman -Qu output, but more customizable. Inspired by VerbosePkgLists, yaourt -Qu, and pacaur -Qu.

Can sort, group, highlights explicitly installed packages, query AUR database...

Uses checkupdates safe temporary database by default.

See pacpend -h to see all the options.

Usage

Usage with checkupdates for safe update checking. (so better used in an alias or script.)

  • Check updates:

    $> checkupdates > /dev/null && pacpend
  • Check and download only updates as user:

    • Setup once as root to give "download rights" (should be mostly safe for a personal computer: pacman checksums/verfies packages before install)
      $> sudo chmod a+w /var/cache/pacman/pkg
    • Now, as a user you can safely check and download updates:
      $> checkupdates > /dev/null; pacpend; \
         fakeroot -- pacman --noconfirm -Suwb "${TMPDIR:-/tmp}/checkup-db-${USER}/"
  • Globally change pacpend default in your .bashrc/.zshrc/...:

    export PACPEND='-g explicit -s name,vdiff'

Screenshots

  • pacpend -g none -s name,vdiff
    no groups, sort by version difference/increment: pacpend vdiff

  • pacpend -g explicit -s name,sizediff
    group by explicitly installed or not, sort by installed size difference/increment: pacpend gexp

Dependencies

  • archlinux
  • python3
  • pyalpm: Libalpm (pacman) bindings for Python 3

About

Pretty parametrable archlinux's `pacman -Qu` output


Languages

Language:Python 100.0%