You are not logged in.
Hello so I am trying for 5 hours now to create my own repo hosted on github. I created repo, then cloned it, pasted downgrade (https://aur.archlinux.org/packages/downgrade), builded and tried to add to my repo using this command: repo-add repo.db.tar.gz (already tried some others formats, like .tar.xz or just .tar) downgrade-versionnumbers.pkg.tar.zst. Then I pushed it on github - this wasnt problem. Ive added also my repo to pacman.conf:
[repo]
SigLevel = Optional TrustedOnly (already tried other options)
Server = https://github.com/pilsnercze/repo/raw/main
Then I did sudo pacman -Syu. This wasnt a problem, but then when I want to install my package, it says: error: could not open a file /var/lib/pacman/sync/repo.db: Unrecognized archive format. Can someone tell me which format should I use or what am I doing wrong? I already read whole wiki, whole man pages and I really dont know where am I wrong.
Thanks in advance.
Last edited by Atrexian (2024-09-05 16:56:35)
Offline
That url gives a 404 error, even if I use https://github.com/pilsnercze/repo/ .
Are you sure it's a public repo ?
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
Hello, it was just example names.. There is not problem with fetching repo. I have problem with .db itself.
Offline
The public one repo is here: https://github.com/ArchianOS/archianos-repo I have tty-clocks here added
Offline
The archianos.db & archianos.files symlinks need to point to archianos.db.tar.xz & archianos.files.tar.xz .
Check your local copy of the repo to see if that is correctly setup .
Moderator Note:
Pacman & Package Upgrade Issues board seems best fit for setting up an unofficial user repo
Last edited by Lone_Wolf (2024-08-24 14:20:28)
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 am really sorry for posting this in a bad forum.
Thanks. I will take a look on that. Thank you for your time!
Offline
The symlinks are correct. I tried creating numerous repos and still any of them does not work.
Offline
Cloning the repo and accessing it locally works, looks like it may have to do with accessing github over https .
Can you try with another hoster like gitlab to verify if this issue is specific to github ?
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
Cloning the repo and accessing it locally works, looks like it may have to do with accessing github over https .
Can you try with another hoster like gitlab to verify if this issue is specific to github ?
Hello so yeah, it was problem with symlinks. When I removed symlinks and renamed .db and .files files it works. Thanks
Offline
Glad you figured it out.
If you're satisfied with the outcome, please prepend [Solved} to the thread title (edit first post).
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