• How to create a custom Repo for packages


    @Keegan want to create a repository for some deepin packages i start up investigate in creating a custom repo with packages to install with pacman (e.t.c.)
    I find repo-add_and_sign it works as it should do!

    this i still got not figured out:
    but i can not use it on a local folder and simple upload all to my servers folder as the reponame.db is not a file it is a symlink to reponame.db.tar and my backend do not support symlinks.

    Looks loke that it needs to be done onto the server… but i do not got an archlinux server…
    here it is:

    [joekamprad]
    SigLevel = PackageRequired
    Server = http://www.kamprad.net/Downloads/antergos-packages

    then importing and sign key :

    sudo pacman-key -r  CA95F235
    sudo pacman-key --lsign-key CA95F235
    

    I just use:
    repo-add_and_sign -r joekamprad --arch x86_64 --copy --verbose --purge *.pkg.tar
    And sync to my server over sftp … simple

  • @joekamprad
    Hi!
    I guess you could talk with xyne, he creates many arch stuff and i always see him answering doubts/bugs to everyone about his packages. Perhaps he would be willing to add the functionality you need to repo-add_and_sign

  • yes i will do… also my key is not working here … i do not know but seems the ID is not the right one :)

  • I’ve found that just using repo-add(8) from the official repos does the same thing as repo-add_and_sign, except for signing it for you of course ;). This program has the same issue with it though, which leads me to think that it may not actually be an error on their part, but rather on ours. Here’s the link about using repo-add(8):

    https://www.archlinux.org/pacman/pacman.conf.5.html#_using_your_own_repository

  • I would suspect the @developers might be able to shed some light on this strange issue… (if they have the time that is. They’re probably very busy fixing the Antergos package errors that are keeping many users from installing Antergos ;)).

  • @joekamprad said in How to create a custom Repo for packages:

    also my key is not working here

    This is bad I know, but for now I’ve just set my siglevel to SigLevel = Never in pacman.conf since I am the only one using it.

  • @Keegan I like to take every bill only once in the hand :)

  • if someone will try it is working now as far as i can see 🏋🏾♂

  • @joekamprad said in How to create a custom Repo for packages:

    if someone will try it is working now as far as i can see 🏋🏾♂

    Works!
    0_1507846759806_joe1.jpg

  • wau thanks @fernandomaroto y.a.a.!

  • i was not sure about my key… but seems to work with siglevel?

  • @joekamprad said in How to create a custom Repo for packages:

    i was not sure about my key… but seems to work with siglevel?

    i added the repo as you said in first post:

    [joekamprad]
    SigLevel = PackageRequired
    Server = http://www.kamprad.net/Downloads/antergos-packages

    then importing and sign key :

    sudo pacman-key -r CA95F235
    sudo pacman-key --lsign-key CA95F235

  • then there is it! full operational as i want to have it ;)

  • How did you manager to do that, @joekamprad? If you couuld please walk me through step by step that would be great😀. (It’s been driving me crazy recently and I got myself all turned around here😄. That, and sort of messed up my repo too. So if you could just act as if I knew nothing when telling me how you did it, maybe I can actually figure out how to get back on track!)

    Thanks!

  • @Keegan 🎫 not at this late hour: 0_1507852920503_Bildschirmfoto vom 2017-10-13 02-01-32.png
    But sure later on (uhhhh friday the 13th😨 )

  • @joekamprad said in How to create a custom Repo for packages:

    not at this late hour: 0_1507852920503_Bildschirmfoto vom 2017-10-13 02-01-32.png

    Wow! It is late in Berlin!

    But sure later on (uhhhh friday the 13th )

    Hehehehe… of course😀. Thank you so much for your willingness here. I know it’s probably tedious to write all of your steps out, and I do appreciate it.

  • not so much steps…and good for me too, as i get it in order then… was tinkering with it from Z-B…https://youtu.be/DBd0KZIpuyg

  • @joekamprad said in How to create a custom Repo for packages:

    not so much steps…and good for me too, as i get it in order then… was tinkering with it from Z-B…https://youtu.be/DBd0KZIpuyg

    Great😀. Than you so much @joekamprad! It’s getting late here too and I have to get up early tomorrow, so I’ll have to wait to look at it until tomorrow it turns out😞. However, I will definitely have some feedback and questions by Friday!

  • @joekamprad said in How to create a custom Repo for packages:

    was tinkering with it from Z-B…https://youtu.be/DBd0KZIpuyg

    What an interesting video about dyslexia😀. I didn’t even know that was possible using Javascript! Thank you for sharing this with us @joekamprad.

  • Steps for producing a custom reports for Antergos:

    • Create a clean building environment.
    • Make sure to have a place on a server
    • Make clear what you will use to sync packages to the server
    • Create a key for signing the repo
    • Configure buildprocess
    • Create packages
    • Add and sign repo
    • Upload repo
Posts 88Views 6642
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.