Last active
January 8, 2021 09:38
-
-
Save dancek/8b97c5b4305b03c69b33650e947ad9c4 to your computer and use it in GitHub Desktop.
pacsup: what would `pacman -Syu` upgrade?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# pacsup 0.1.0 | |
# Copyright Hannu Hartikainen 2021 | |
# MIT License | |
set -e | |
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/pacsup" | |
if [ ! -d "$CACHE_DIR" ]; then | |
mkdir -p "$CACHE_DIR" | |
ln -s /var/lib/pacman/local "$CACHE_DIR"/local | |
fi | |
fakeroot -- pacman -Sy --dbpath "$CACHE_DIR" 1>&2 | |
fakeroot -- pacman -Qu --dbpath "$CACHE_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pacsup | |
:: Synchronizing package databases... | |
core is up to date | |
extra is up to date | |
community is up to date | |
multilib is up to date | |
acpi_call 1.2.1-15 -> 1.2.1-16 | |
ansible 2.10.4-2 -> 2.10.5-1 | |
bbswitch 0.8-375 -> 0.8-376 | |
broot 1.1.10-1 -> 1.1.11-1 | |
chromium 87.0.4280.88-3 -> 87.0.4280.141-1 | |
cups-filters 1.28.6-1 -> 1.28.7-1 | |
haskell-aeson 1.5.5.0-2 -> 1.5.5.1-2 | |
haskell-assoc 1.0.2-41 -> 1.0.2-42 | |
haskell-attoparsec 0.13.2.4-50 -> 0.13.2.4-51 | |
haskell-base-compat-batteries 0.11.2-37 -> 0.11.2-39 | |
haskell-base-orphans 0.8.4-27 -> 0.8.4-29 | |
haskell-bifunctors 5.5.8-49 -> 5.5.9-4 | |
haskell-comonad 5.0.8-4 -> 5.0.8-6 | |
haskell-data-fix 0.3.0-41 -> 0.3.0-42 | |
haskell-distributive 0.6.2.1-5 -> 0.6.2.1-7 | |
haskell-dlist 1.0-37 -> 1.0-38 | |
haskell-hashable 1.3.0.0-63 -> 1.3.0.0-65 | |
haskell-primitive 0.7.1.0-56 -> 0.7.1.0-58 | |
haskell-quickcheck 2.14.2-53 -> 2.14.2-56 | |
haskell-random 1.2.0-98 -> 1.2.0-102 | |
haskell-scientific 0.3.6.2-67 -> 0.3.6.2-68 | |
haskell-splitmix 0.1.0.3-32 -> 0.1.0.3-34 | |
haskell-strict 0.4.0.1-15 -> 0.4.0.1-16 | |
haskell-these 1.1.1.1-42 -> 1.1.1.1-43 | |
haskell-time-compat 1.9.5-15 -> 1.9.5-16 | |
haskell-unordered-containers 0.2.13.0-25 -> 0.2.13.0-26 | |
haskell-uuid-types 1.0.3-72 -> 1.0.3-73 | |
haskell-vector 0.12.1.2-96 -> 0.12.1.2-99 | |
imagemagick 7.0.10.55-1 -> 7.0.10.56-1 | |
linux 5.10.4.arch2-1 -> 5.10.5.arch1-1 | |
linux-headers 5.10.4.arch2-1 -> 5.10.5.arch1-1 | |
linux-lts 5.4.86-1 -> 5.4.87-1 | |
nettle 3.6-1 -> 3.7-1 | |
python-numpy 1.19.4-3 -> 1.19.5-1 | |
qpdf 10.0.4-1 -> 10.1.0-1 | |
shellcheck 0.7.1-234 -> 0.7.1-236 | |
virtualbox-host-modules-arch 6.1.16-20 -> 6.1.16-21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment