You are not logged in.

#1 2012-10-14 16:20:14

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Pacman backup for independent offline installation

Hello! Short question:

Is it sure that directory "/var/cache/pacman/pkg" contains alle packages, which are currently installed? The man page of pacman isn't "clear" about this.

Why I want to know that:
I'm preparing a install medium which contains all packages from this directory and a *.db file for this files, created with repo-add. That should give me the possibility to reinstall a fresh Archlinux, without internet connection? This will include of course only core, plus all packages from extra and community I have installed but that should be enough.
Rationale: The new ISO files doesn't include [core], hence it is not self-sustaining/self-hosting.

Thanks

Last edited by hoschi (2012-10-14 16:23:31)

Offline

#2 2012-10-14 16:25:20

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

Re: Pacman backup for independent offline installation

It won't be a fresh Arch Linux if these packages are e.g. months old ;P

You can install packages from the AUR the same way. Build them on one machine and move over to the other - assuming it's the same architecture and all the dependencies are met.
https://wiki.archlinux.org/index.php/Cu … d_recovery

Offline

#3 2012-10-14 17:40:21

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: Pacman backup for independent offline installation

Thanks for your link! Much more concise than this one.

PS: Cache is of course, up-to-date.

Offline

Board footer

Powered by FluxBB