You are not logged in.
Pages: 1
Hi guys, new to arch. I temporarily installed another OS, but beforehand backed up all of the many archived .pkg.tgz files to a folder on a safe partition. Is there a way I can add this folder to pacman.conf with priority so that upon reinstallation, if the local version >= the online version I can install from it instead of the net?
TIA
Offline
You have to build a local repository. This might help you :
http://wiki.archlinux.org/index.php/Mak … package_cd
For more documentation on package/repository making :
http://wiki.archlinux.org/index.php/Cat … Management
You should find all you need there ![]()
Offline
You simply have to put :
[a_repo_name]
Server = file:///path/to/your/folderwhere a_repo_name is a name for your repo, and /path/to/your/folder is .. the path to your folder.
Put this line before any other repos in pacman.conf, then refresh your databse (pacman -Sy).
Offline
Nearly that simple - but not quite. You have to gensync it:
Offline
Offline
In this case, it is much easier. Just put the saved package in the pacman cache and install everything. If a package is found in the cache, it won't be downloaded.
Offline
thanks to all of you. While i did want to learn about making a repo for future reference, I was in a bind for time and found brain0's method much quicker(read: easier)...it worked without a hitch. Thanks all
.
Offline
Pages: 1