You are not logged in.
Really weird issue: `add-repo` reports that a file does not exist yet `ls` and a glob finds it. I'm running it in GitHub Actions which uses the `archlinux` Docker image. I'm not sure if this is a possible GitHub Actions issue, Pacman issue or user error, not really sure how it could be the first two.
The GitHub Actions workflow is fairly clear with what it does, and things it does behind the scenes is mostly shown in the logs.
I haven't been able to replicate this locally which makes me even more confused. Are there some cases where `add-repo` may falsely report a file not being found? I don't think it's a permissions issue as everything should be as root. If you haven't used GitHub Actions before, you can fork the repo, make edits and it will run on push. It's also completely free for public repos, so if you want to investigate the environment you should be able to.
Mod edit - Removed pictures of text
https://wiki.archlinux.org/index.php/Co … s_and_code
Last edited by Orangutan (2020-08-15 01:42:25)
Offline
It looks like all your workflow files use repo-add some-path-to-db visual-studio-code-insiders-*.pkg.tar.zst .
repo-add will update a package database by reading a built package file. Multiple packages to add can be specified on the command
line.
Try providing single files .
P.S.
If you use -R / --remove option of repo-add you won't need to rm the old files manually .
See repo-add manpage for more info.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I think this is a github issue. It should work on local repositories, even with multiple packages (in fact adding multiple packages using globs is the default usecase imho and described in th wiki).
Btw. it is repo-add, not add-repo.
Offline
Turns out I was completely blind and missed bold text in the docs. It was a directory not a file sigh. Thanks for the recommendation, didn't know that was a flag
Last edited by Orangutan (2020-08-16 19:47:34)
Offline