GitHub Releases Break Pacman Repo Support – Workaround and Fix #764
Unanswered
the-codesculptor
asked this question in
Libraries
Replies: 1 comment 2 replies
-
When is the last time it worked for you? If ever? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select GitHub action
other/unlisted
Select Topic Area
General
Body
I ran into an issue trying to use the LizardByte pacman-repo as described in their README by adding this to
pacman.conf
:This does not work anymore. pacman throws a 404 when trying to retrieve lizardbyte.db.
Why this fails
GitHub serves release files from a redirect URLs. Pacman expects direct access and cannot handle those redirects. So although you can see the .db file in your browser, pacman can't fetch it.
Workaround
Go to the LizardByte pacman repo release and download all the release files except the source code.
Place them all in a local directory (I used
/srv/pacman/lizardbyte/
).Set up your local repo in /etc/pacman.conf:
sudo chmod -R a+r /srv/pacman/lizardbyte
If I missed something, I would love to know what it was. I'm new to Arch but learning every day. Otherwise it would be nice if the README in the pacman-repo was updated to reflect what I went through.
Beta Was this translation helpful? Give feedback.
All reactions