pkgfile icon indicating copy to clipboard operation
pkgfile copied to clipboard

systemd service fails with local repo (#53)

Open Strykar opened this issue 2 years ago • 0 comments

I have the same issue as https://github.com/falconindy/pkgfile/issues/53 and the suggested fix in that issue does not appear to work:

Oct 29 15:07:16 i-5 systemd[1]: Starting pkgfile database update...
Oct 29 15:07:16 i-5 pkgfile[338710]: warning: download failed: file:///home/strykar/arch_packages/aurpkgs/aurpkgs.files: Couldn't open file /home/strykar/arch_packages/aurpkgs/aurpkgs.files
Oct 29 15:07:16 i-5 pkgfile[338710]: error: failed to update repo: aurpkgs
Oct 29 15:07:16 i-5 systemd[1]: pkgfile-update.service: Main process exited, code=exited, status=1/FAILURE
Oct 29 15:07:16 i-5 systemd[1]: pkgfile-update.service: Failed with result 'exit-code'.
# cat /etc/systemd/system/pkgfile-update.service.d/override.conf
[Service]
ReadOnlyPaths=/home/strykar/arch_packages

What are we missing here? Snipped pacman.conf:

[aurpkgs]
SigLevel = Optional TrustAll
Server = file:///home/strykar/arch_packages/aurpkgs

Strykar avatar Oct 29 '23 09:10 Strykar