I was trying to enable the paccache systemd timer so I can automatically clean out my cache (I use yay to update my packages), but I kept getting this error when trying to enable the timer with:
sudo systemctl enable paccache.timer
Failed to enable unit: File /etc/systemd/system/timers.target.wants/paccache.timer: Not a directory
Looking around, at the /etc/systemd/system/timers.target.wants directory, I saw that on my system it’s actually a symlink to /usr/lib/systemd/system/pamac-mirrorlist.timer. I suspect this is why I can’t enable paccache.timer.
My question is, how do I correctly fix this without breaking anything pamac related?
they were not enabled. I enabled and started them after deleting the symlink and making timers.target.wants a directory. Do I have to create a pamac-mirrorlist symlink now? I don’t fully understand the systemd bug, sorry.