Page 1 of 1

how to set up and make your own repo online

PostPosted: Sun Jan 25, 2009 2:47 pm
by mikeuhlik
I was wondering if you know any guides to help with a few thing with building a on line repo i would like to have a small one with like 10 softwares i tried this guide below but the package.gz file it made was empty and i was wondering how do i get the packages to update in my on line repo when i put in a new version.

Heres a link to the guide i used to make a local repo then i uploaded it to my on line site like this http://mysite.com/repo

then i entered this in my source list http://mysite.com/repo/ /

Here is the guide i used.

http://odzangba.wordpress.com/2006/10/13/how-to-build-local-apt-repositories/

my next move is to use atponcd and take the folders in the cd and upload it to the repo directory on my site i got errors in my package manager on mt pc so i think i have to reedit the package files I am guessing

I would like any help or guides on how to properly setup this directory for my small list of repos and know how to make them update in my update manager in the repos i tried looking at your for a guided to see how but the website template dose not allow me to see the set up or the files needed to see how it works.

The main thing i would like to accomplish make a proper set up repo and find out how to set up auto update for packages.

I dont get the ditro directory holds the package file to tell were and witch version and distro to install then the pool holds the deb ?

Just trying to understand thanks guys all help is well appreciated Thnks
:ugeek:

Re: how to set up and make your own repo online

PostPosted: Sun Jan 25, 2009 4:06 pm
by ixnod
just a quick suggestion, remember to point the sources list to your local repository.

Re: how to set up and make your own repo online

PostPosted: Sun Jan 25, 2009 4:42 pm
by pch.shot
If you have a static ip address you can always set up a dedicated server with an old PIII.
Here is a how to that may be of some use.
http://www.webmonkey.com/tutorial/Set_Up_a_Home_Server

Re: how to set up and make your own repo online

PostPosted: Mon Jan 26, 2009 2:36 am
by mikeuhlik
I have already set up a local repo and it worked but i want one on line i already have a vps server also with my host what i cant figure out is structure of the directory on line for example http://mysite.com/repo i dont get how to set it up like ubuntus repo were they have the dist and pool folder if i under stand right the dist folder holds the package files which tell synaptic were thet are located the debs and the pool holds the debs to be called by the package files.

so for example if i just made a repo for intrepid the package files would be in http://mysite.com/repo/dist/intrepid/ then i would put the debs in http://mysite.com/repo/pool/d/dvd2hdd/d ... 12_all.deb

and here is the exapmple of the package file i would edit to these locations above like this

Package: dvd2hdd
Priority: extra
Section: alien
Installed-Size: 80
Maintainer: amnon <amnon@amnon-desktop>
Architecture: all
Version: 0.2-13
Filename: http://mysite.com/repo/pool/d/dvd2hdd/d ... 12_all.deb
Size: 17896
MD5sum: d580954526f56f9edeb1cfed6a1f6d2c
SHA1: 5b28910595e7d969be6a7106fa33e092118cb60e
SHA256: 55d89e1135fb3aa0d599bea313051044db95ec0e53078b1b4d6a2f512c2e09c6
Description: DVD2HDD by Amnon82
DVD2HDD is a easy GUI for vobcopy.
It has followed features:
.
* detects DVD-Video-Discs
* DVD drive speedup
* DVD preview via xine
* Backup the whole DVD on the fly
* Backup the mainmovie on the fly
* joins all vobs to one big vobfile
* detects free space on hdd
* continues the backup if same DVD present
* burns VIDEO-DVDs
.
.
(C) 2006 AMSOFT
This program is written in Gambas, so you will need Gambas to be installed.
.
(Converted from a rpm package by alien version 8.64.)

and for a example the deb address would deb http://mysite.com/repo/ intrepid all

whats the all stand for is it a folder in intrepid?
also how do i get synaptic to read a deb for updates?
Thanks everyone :?:

Re: how to set up and make your own repo online

PostPosted: Wed Jan 28, 2009 1:47 am
by mikeuhlik
Thanks for your help and advise I found a very good tutorial on the web to accomplish this I haven't tried it yet but will be working on it this week and let you know how it went.

:D http://www.jejik.com/articles/2006/09/setting_up_and_managing_an_apt_repository_with_reprepro/

Thanks to everyone for there help.

Mike

Re: how to set up and make your own repo online

PostPosted: Wed Nov 09, 2016 9:46 pm
by shwnvntr
If anyone has tried Reprepro can they please explain in as dumb as possable..
i have tried this on on both amd64 and armhf pi2

any help on this would be great since the help links that are posted don't work.
was hoping someone here would explain a working version
And why is the software from amd64 to armhf so different?
i cant get it to work on either, every time i run it i get a different error, and nothing shows up in searches.
i cant even get the mydebs version of a local repo to work.
and it will take to long to email everyone on launchpad to support armhf arm64 ppc, and why launchpad doesn't do this by default doesnt make sense.
any help would be great.. If this is in the wrong place feel free to relocate it.

i am trying to use this as a guide
http://www.tecmint.com/create-deb-pa...ory-in-ubuntu/

reprepro --ask-passphrase -Vb /var/www/apt export
gpgme gave error GPG Agent:17: No Secret Key

i have also tried this
https://www.digitalocean.com/communi...n-ubuntu-14-04
to try and deal with the keys and again
gpgme gave error GPG agent:17:No Secret Key

what im looking for is a clear explanation on the
dpkg-scanpackages, apt-ftparchive, release and inrelease files, package.gz things
and or how to setup a working repo, and how to make the files needed.
i have been reading for months now either nothing works and leads to 20 more pages to read, that dont work.
If anyone knows of a working app/software that will do this with clear explanations that works. please share.
Also the having more than one arch folder (i386 amd64 armhf arm64 ppc ppc64)is a total waste of space, having 3-8 copies of the same file per (trusty, xenial, yakkety, zesty)6x4=24copies if anyone is counting. so that points me to something called trivial repo. like Ultimate Edition toys.
and help would be greatly appreciated.
#lost&clueless

Re: how to set up and make your own repo online

PostPosted: Tue Nov 15, 2016 6:12 pm
by Xanayoshi
Links are down for me. Could be a US thing, could be the devil I found this https://wiki.debian.org/SettingUpSigned ... thReprepro

Arm and Amd are different architectures. ARM is RISC "Reduced Instruction Set Computing", AMD64 is CISC "Complete Instruction Set Computing"

I would have to maybe..set something like this up to really be of help, but it stands to reason someone on here could help. You could probably request Admin priv to post for help there, too.

Re: how to set up and make your own repo online

PostPosted: Mon Nov 21, 2016 11:08 pm
by shwnvntr
Well i guess that what im asking then..
for someone to give this a try and see if you get farther than I did.
I give it a try every time i flash pi or re-install the 64, (sometimes 4-6 re-flashings and or 2-6 installs a day)

If i can get this to work, reprepro, is to upload the whole Ultimate Edition repo to sourceforge and will never have to worry about it going down.
If i can get it to work, then it should be super easy to maintain the repo.
I have tried so much and so many pages read to no end. I'm just doing something wrong or straight missing a step.
I think it has something to do with the gpg key cause now it ends in this error.

I am trying to use this as a guide
http://www.tecmint.com/create-deb-pa...ory-in-ubuntu/
reprepro --ask-passphrase -Vb /var/www/apt export
gpgme gave error GPG Agent:17: No Secret Key


I have also tried this
https://www.digitalocean.com/communi...n-ubuntu-14-04
to try and deal with the keys and again
gpgme gave error GPG agent:17:No Secret Key


As for trying other ways to do repos they all fail,
you can search by googleing "ubuntu how to setup a repo"
and i have searched them errors out to either 10 more pages to read that are no help or a 4 yr old bug never fixed.

I also want to thank you for the link you posted but been there and they link back to the no help main page for the app, have also asked ubuntu for help no answer or at least a write up about the app still waiting.


Oh and to add about why are the files so different. i don't cpu types i mean as in how the apps work.
example...
gpg --gen-key
on the pi armhf it runs what i think is the gpg --quick-key
on the amd64 it runs what i think is gpg --full-gen
on the ppc it give you the 1-4 list again i thin its the fll-gen
for the most part all the cross-platform apps(firefox handbreak and so on) work normal
but other _all.deb file for the most part installed by ubuntu work act different.
so far all Ultimate Edition _all.deb work the same on all unless unmet-depnds.

thanks again..
and if anyone want to test it out or hands on help you can reach me on facebook