You are not logged in.

#1 2010-03-07 05:51:48

ben-arch
Member
Registered: 2005-12-17
Posts: 120

Home based repository .... how

I'm planning on installing Arch on my daughter's computer.

So now I'll have 2 computers at my home, with an (almost) identical Arch installation.  I'm upgrading Arch once a week, and I see no reason why I sould create another burden on the public repositories.

My question :
Is it possible to create "mini" repositiries on my computer, that will be synchronized with one of the public Arch repositories, but will include ONLY packages that are installed on my computer.
If this is possible, how can I configure my daughter's system so that it will get all the packages it can from my computer ?

Ben

Offline

#2 2010-03-07 05:55:50

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: Home based repository .... how

I didn't try it but you might want to have a look at http://xyne.archlinux.ca/info/pkgd

Offline

#3 2010-03-07 07:35:34

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: Home based repository .... how

I have several arch installations on a few boxes which are similar as well. I have 1 partition which I share via samba and /var/cache/pacman/pkg is a soft link to a folder on that partition. Other arch systems are also similarly linked to that folder. The packages need to be downloaded once only.

Offline

#4 2010-03-07 16:48:19

ben-arch
Member
Registered: 2005-12-17
Posts: 120

Re: Home based repository .... how

Pierre, stryder - thank you

Offline

#5 2010-03-07 17:58:45

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Home based repository .... how

Using a flash drive, the repo caould be made via pacman
;

pacman --cachedir /dev/sdx  -Syw

(sdx is the flash device)
This would provide the packages which can then be loaded via pacman -Ud on either machine or even more machines......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2010-03-07 18:09:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Home based repository .... how

More details on stryder's suggestion, which I would also recommend: http://wiki.archlinux.org/index.php/Pac … cman_cache

Offline

Board footer

Powered by FluxBB