You are not logged in.

#1 2010-08-05 22:28:56

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

[SOLVED] Cloned repository will work for updates, but not installs.

I cloned the Arch Linux main repositories (core, community & extra) in hopes of shortening install time and lowering general bandwidth usage (prefered, not needed) when doing a fresh install.  I have tried several methods to set up this local repo so that the install process will work from it, and all I get is download freezes.

mounting the folder that holds all 3 folders in /src/core/pkg - works fine for updates, fails for installs
adding "Server = file:///..." lines to pacman.conf and mirrorlist - works fine for updates, fails for installs

I am clueless as to what I am doing wrong here.  Do I have to go through the tedious server setup that is in the wiki for this to work correctly?  I'd rather not have to go through this ever time I do a fresh install... it would negate the advantages of having a local repository.  Completely lost as to what I'm doing wrong here and would appreciate some help.  Thanks in advance.

Last edited by CPUnltd (2010-08-07 02:15:39)


Help grow the dev population... have your tech trained and certified!

Offline

#2 2010-08-05 23:01:26

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

Re: [SOLVED] Cloned repository will work for updates, but not installs.

Perhaps you should read the pacman man page for guidance.

It would seem to me that if you have a local repo for all packages as cloned from archlinux home, the only way to obtain any of these packages is to use:

pacman -U [full name and version of package .pkg.tar.xz].

It is probable you will not get all depends with this approach.

Pacman -S is used for syncing with arch mirrors and needs only the package name.  Depends are verified...conflicts are checked, install ensues most of the time.

I am not an expert on pacman...for sure!


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

#3 2010-08-06 00:48:19

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

Re: [SOLVED] Cloned repository will work for updates, but not installs.

it handles depends and everything just fine... as I can install and update packages just fine... but it refuses to work with the /arch/setup install process, which is what boggles my mind.


Help grow the dev population... have your tech trained and certified!

Offline

#4 2010-08-07 02:13:23

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

Re: [SOLVED] Cloned repository will work for updates, but not installs.

ok, figured it out... I put the repo's location (file:///xx/yy/zz) in the "custom" option of picking a server to install from... subsequently, the location gets saved in the mirrorlist at the top (easily commented out) for those who are interested in attempting the same.


Help grow the dev population... have your tech trained and certified!

Offline

Board footer

Powered by FluxBB