keep solus at its best

1. Update
sudo eopkg up

2. Check Broken Packages
sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall

OR (to see what is going on)

sudo eopkg check | tee /dev/stderr | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall

3. Remove Orphan Packages
sudo eopkg rmo

4. Clean Cache Files
sudo eopkg dc

5. Clear Systemd Logs
sudo journalctl --vacuum-time=2d

6. For people who are packaging
sudo solbuild dc --all

7. Remove Recently Used Files
rm /.local/share/recently-used.xbe*
touch /.local/share/recently-used.xbel

8. Empty Files

sudo su

> /var/log/wtmp
> /var/log/btmp
> /var/log/lastlog
> /var/log/eopkg.log
dmesg -c

> /var/log/cups/access_log
> /var/log/cups/error_log







Reacties

Populaire posts van deze blog

Adjust Color Temperature of Your Screen Using Terminal

CrunchBang++ Linux – The Ultimate Lightweight and Stable Linux Distribution

Snapdrop = AirDrop for Windows, Mac, Linux & Android