i have this error installing portmaster in pamac gui:
“Failed to enable unit: Unit file portmaster.service does not exist.”
if i try to do “sudo systemctl enable --now portmaster” from terminal i receive
“Failed to enable unit: Unit file portmaster.service does not exist.”
in response.
if i open the portmaster app i see only the message " the portmaster core service is not running"
and if i click the button “start core service” i write the password and then nothing happen.
i have tried reinstalling and i have tried remove-reboot-reinstall with the same results
The service is enabled automatically during installation as your status shows. All you should have to do is open the program via the desktop shortcut and click the button to start it.
I just found the problem:
there was a symlink in /etc/systemd/system/ that pointed to
/opt/safing/portmaster/portmaster.service
most likely due to installation from aur of an old version so it was only my problem.
I found the answer here for a similar problem if anyone is interested:
now it works without problems.
thanks and sorry for the waste of time
I cannot reproduce that. For clarity and posterity, uninstalling the portmaster-stub-bin AUR package removes the service symlinks. No idea what happened on your system.
❯ sudo pacman -R portmaster-stub-bin
checking dependencies...
Package (1) Old Version Net Change
portmaster-stub-bin 0.8.8-2 -12.97 MiB
Total Removed Size: 12.97 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
info Disabling portmaster.service to launch at boot
Removed "/etc/systemd/system/portmaster.service".
Removed "/etc/systemd/system/multi-user.target.wants/portmaster.service".
(1/1) removing portmaster-stub-bin [------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Checking for orphaned packages..