manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
235 stars 42 forks source link

systemd mirrorlist update does not execute Pacman -Syy after #390

Closed kewlfft closed 6 years ago

kewlfft commented 6 years ago

The systemd timer is updating the mirror list with /usr/bin/pacman-mirrors -f5 but not doing a pacman -Syy after, which is strongly recommended to avoid potential issues. Let me know if I miss something but a database sync should be forced right after.

It cannot be stressed enough, that every run of pacman-mirrors requires you to syncronize your database

$ sudo pacman -Syy

If you fail to do so, the issue/s which had you make change might not be solved. Furthermore you might run into partial-updated scenario which can cause havoc in your system.

we should add ExecStartPost=/usr/bin/pacman -Syy I will submit the pr if no objection

kewlfft commented 6 years ago

pr accepted this can be closed