You are not logged in.

#1 2011-09-20 18:19:52

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 133

[SOLVED] Creating custom repos for offline install

Hello everyone

I'm planning to get a new laptop soon, and I want to install Arch on it from the outset. Only problem is, when I get said laptop I won't have a reliable internet connection to be able to download and install all the packages I want—to keep things simple, I really only want to mirror my install on this desktop machine. Another notable point is that when I go to install the new system, I won't have this computer up and running and only have my external hard drive for my old files and settings.

SO, I've been reading a bit about custom repositories, and have managed to set up one on my external drive containing all the packages in pacman's cache. I'm still a bit unsure about repo-add though; if I have somepkg-1.2-1 and somepkg-1.3-1 in my cache, will `repo-add /path/to/custom/repo /path/to/external/cache/*.pkg.tar.{gz,xz}` add both versions of somepkg, or just one? And if so, which one?

EDIT Oh. Righteo, so it updates the repo.

Last edited by zoqaeski (2011-09-21 06:15:40)

Offline

#2 2011-09-20 18:25:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Creating custom repos for offline install

How about you run it and see? :-)

Offline

#3 2011-09-21 05:51:31

kahlil88
Member
From: Mendocino, CA
Registered: 2010-08-10
Posts: 143
Website

Re: [SOLVED] Creating custom repos for offline install

You can always copy your package cache (/var/cache/pacman/pkg) and repo data (/var/lib/pacman/sync) to the new laptop via your external hard drive. That's what I do to keep my desktop computer up to date, since I have dialup at home.


There is no system but GNU and Linux is one of its kernels.

Offline

Board footer

Powered by FluxBB