#!/usr/bin/env bash
echo -e '\nReading the news...\n'
        yay -Pw
echo -e '\nUpdating...\n'
        sudo pacman -Syu
echo -e '\nLooking for orphaned packages...\n'
        yay -Qtd
echo -e '\nLooking for obsolete packages...\n'
        url='https://aur.archlinux.org/rpc?v=5&'
        pacman -Qmq | sort >| /tmp/pkgs
        curl -s "${url}type=info$(printf '&arg[]=%s' $(cat /tmp/pkgs))" \
                | jq -r '.results[]|.Name' | sort | comm -13 - /tmp/pkgs
echo -e '\nLooking for changed config files...\n'
        sudo find /etc -name *.pac*
echo -e '\nDone.\n'
You are viewing a single thread.
View all comments
6 points

I’ve just been using https://github.com/topgrade-rs/topgrade

permalink
report
reply
3 points
*

Love this. One of those extremely satisfying terminal commands to pointlessly run over and over, so much so that I added it to my crontab so I don’t do that 😭

permalink
report
parent
reply

Arch Linux

!archlinux@lemmy.ml

Create post

The beloved lightweight distro

Community stats

  • 159

    Monthly active users

  • 255

    Posts

  • 1.6K

    Comments

Community moderators