You are not logged in.

#1 2008-05-23 07:47:50

jcerdan
Member
From: Andorra
Registered: 2005-12-17
Posts: 49
Website

Pacman LAN, rucksack or other solutions

Hi,

I have many computers and I would like to create a sort of local repository to save bandwith when upgrading.
This is the situation:
- 2 main machines (home & work), and 2 laptops.
- 2 different LAN configs: wired work and wireless home.

I would like laptops to download packages from the main machines, instead of connecting to the Internet.

I have found in the wiki the rucksack page and it looks very interesting, but this package does not exist anymore on the repositories.

Does anyone know about a similar solution? What's the best solution to do this?

Regards,

Offline

#2 2008-05-23 10:48:23

combo
Member
Registered: 2004-09-22
Posts: 28

Re: Pacman LAN, rucksack or other solutions

Offline

#3 2008-05-23 15:43:17

jcerdan
Member
From: Andorra
Registered: 2005-12-17
Posts: 49
Website

Re: Pacman LAN, rucksack or other solutions

Yes, I had a look to this page but I was looking to something similar to rucksack script where it looks for a package on the LAN server and in case it is not there, then it downloads this one from archlinux mirror.

Offline

#4 2008-05-23 16:22:59

combo
Member
Registered: 2004-09-22
Posts: 28

Re: Pacman LAN, rucksack or other solutions

"it looks for a package on the LAN server and in case it is not there, then it downloads this one from archlinux mirror."
Pacman automatically does this.
First it scans the package cache, and if the needed package wasn't found it will be downloaded from the mirror.
So the only thing you need is to share this cache, which is explained in wiki.

edit: pacman downloads packages to the cache, so the shared cache will collect the downloaded packages of your LAN.
You can use re-pacman to create package file from the installed ones.

Last edited by combo (2008-05-23 16:27:04)

Offline

Board footer

Powered by FluxBB