command to enable cronie? Tried cronie.service
, didin’t work
sudo systemctl enable --now cronie.service
Is it installed?
looks like that did the job.
I think cronie
is already included in the basic EndeavourOS install, it just needs to be enabled manually, if you want to use it. If, for some reason, you don’t have it installed on your system, you can do so by running sudo pacman -S cronie
.
You check whether cronie
is working by running:
systemctl status cronie
You can start it with:
systemctl start cronie
And you can enable it with:
systemctl enable cronie
Now, if systemctl status cronie
gives you: active (running)
, everything is fine.
If you want to read about it more (useful basic info you should know):
https://wiki.archlinux.org/index.php/Systemd#Basic_systemctl_usage
https://wiki.archlinux.org/index.php/Cron
Right, but if you install only Timeshift it will complain about missing crontab (or similar) and will only function when you’ve added cronie. At least on myEOS btrfs system, that is.
In the meantime I have noticed that it also works very well without Pamac. To find software, even that is enough:
https://wiki.archlinux.org/index.php/List_of_applications
I don’t think I’m gonna reinstall Pamac.
True. Some people, myself included, just like the visual aspect of a GUI, so good to have choices.
I installed cronie with yay cronie
, also the version from the AUR. Should I uninstall it now and use sudo pacman -S cronie
instead? How do I uninstall with yay?
yay -Rns cronie
?
Which one did you install? If you’re not sure, you can run yay cronie
and see. For me, it says:
~🐸 yay cronie
2 aur/cronie-selinux 1.5.5-1 (+19 0.00)
Daemon that runs specified programs at scheduled times and related tools with SELinux support
1 core/cronie 1.5.5-1 (78.1 KiB 233.4 KiB) (Installed)
Daemon that runs specified programs at scheduled times and related tools
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> ^C
As you can see, I have cronie
from the core
repo installed. That’s probably what you want.
yay and pacman have the same syntax for repo/installed packages so you can use
yay -Rn cronie
You can also use pacman to remove packages even if they are installed from the AUR.
No, yay just passes arch packages to pacman, so you already installed the package pacman would have installed.
You just uninstall with pacman, e . g.
sudo pacman -R cronie
You can always install all packages with yay! Arch packages are passed through and handled by pacman, aur packages are handled (built) by yay and then installed by pacman.
yay cronie
2 aur/cronie-selinux 1.5.5-1 (+19 0.00)
Daemon that runs specified programs at scheduled times and related tools with SELinux support
1 core/cronie 1.5.5-1 (78.1 KiB 233.4 KiB) (Installed)
Daemon that runs specified programs at scheduled times and related tools
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==>
You’re fine, no intervention required
You already have the repo package. No need to re-install.
Ok, I thought with yay is automatically installed from the AUR? I guess I still have a lot to learn …
yay
is both a pacman
wrapper and an AUR helper, so it can install from the official repos and from the AUR. If a package is both in the official repos and in the AUR, you get to make a choice. You can tell from which repo each package comes, as the name of the repo comes before the name of the package. For example, aur/cronie-selinux
obviously comes from the AUR, while core/cronie
comes from core
, which is one of the official repos.
You can search for arch & aur packages with yay:
yay <package-name_or_part-of-name>
You can search for arch packages with pacman:
sudo pacman -Ss <package-name_or_part-of-name>
yay will prioritize packages from the repo over AUR and can handle both.
On my Manjaro machines, I would uninstall Pamac. I think Pamac is a nice app store for browsing the packages, but I just don’t like it as a package manager, I find it quite clumsy. Also, I don’t use snaps
and flatpaks
(although, I’m only ideologically opposed to the former, not to the later), so Pamac has very little to offer to me.
The straw that broke the camel’s back for me was learning about that Pamac timer thing, where each week, it would run pacman-mirrors
(a Manjaro script that ranks mirrors, similar to reflector
) and every week, it would overwrite my mirror list, causing painfully slow downloads. That’s when I decided to just get rid of everything Pamac related on my Manjaro computers.
Of course, that timer service is specific only to Manjaro installs, on EOS one does not use the pacman-mirrors
script anyway.
At first I didn’t think I could do it without him. I am very grateful to EOS for forcing me to learn!