You are not logged in.

#1 2024-08-24 13:34:50

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

[Solved] Unable to setup own repo on github

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

#2 2024-08-24 14:03:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,574

Re: [Solved] Unable to setup own repo on github

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

#3 2024-08-24 14:10:08

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

Re: [Solved] Unable to setup own repo on github

Hello, it was just example names.. There is not problem with fetching repo. I have problem with .db itself.

Offline

#4 2024-08-24 14:10:38

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

Re: [Solved] Unable to setup own repo on github

The public one repo is here: https://github.com/ArchianOS/archianos-repo I have tty-clocks here added

Offline

#5 2024-08-24 14:18:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,574

Re: [Solved] Unable to setup own repo on github

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

#6 2024-08-24 14:21:34

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

Re: [Solved] Unable to setup own repo on github

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

#7 2024-08-24 14:31:26

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

Re: [Solved] Unable to setup own repo on github

The symlinks are correct. I tried creating numerous repos and still any of them does not work.

Offline

#8 2024-08-24 15:05:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,574

Re: [Solved] Unable to setup own repo on github

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

#9 2024-08-26 11:13:02

Atrexian
Member
From: Czech Republic
Registered: 2022-02-28
Posts: 34
Website

Re: [Solved] Unable to setup own repo on github

Lone_Wolf wrote:

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

#10 2024-08-27 10:47:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,574

Re: [Solved] Unable to setup own repo on github

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

Board footer

Powered by FluxBB