You are not logged in.

#1 2004-08-30 11:20:37

arch-fan
Member
Registered: 2004-02-12
Posts: 17

installed downloaded packages from a windows box?

Hello there.

I want to try this but because my computer at home is out of linux ( smile )  for the moment (till i buy a new hd) I though to post what i want to do and take some feedback.

I want to install arch on home computer and i want to download the packages for it from an internet cafe which uses windows, because i can't use the phone line at my home computer (very expensive, please trust me).

AS i have read many topics here in my understading u can not add a local repository without its package database xxx.db.tar.gz .

I want to create at my home folder three directories like those of arch ftp mirrors  like :

/home/current
/home/extra
/home/testing

and copy all the appropiate downloaded packages to their respective folder alongside the appropiate databases.
for eg. jpilot-0.99.7-2.pkg.tar.gz and testing.db.tar.gz at the testing folder ( /home/testing)

or
j2re-1.4.2_05-1.pkg.tar.gz downloaded from extra branch at an arch mirror be moved at /home/extra together with extra.db.tar.gz.

Then after adding these folders on my home directory at pacman.conf would

pacman --sync -refresh

at my home computer work ? and can I install  these downloaded packages from my home computer without internet (supposing i have downloade all the dependecies packages)?

Thanks and I hope i was clear in what I said.

Offline

#2 2004-08-30 11:38:24

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,331

Re: installed downloaded packages from a windows box?

yes
copy all files you want from a repo to a dircetory and don't forget to add the "db" file and add a line to pacman.conf then everything works just fine :-)

Offline

#3 2004-08-30 15:58:31

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: installed downloaded packages from a windows box?

Or, you could just download the packages you want and their dependencies and use pacman -A and -U.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#4 2004-08-30 17:35:54

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: installed downloaded packages from a windows box?

or you can download the packes you want and place them in /var/cache/pacman/pkgs

the just do a pacman -Syu

pacman then just thinks that all the files have already been downloaded but not installed and happily installs them - works fine for me!

Offline

#5 2004-08-30 17:52:37

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: installed downloaded packages from a windows box?

Except that -y will try to download the db.  With no internet access that step will fail.  Without the -y, pacman won't think that anything's updated.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2004-08-30 19:24:36

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: installed downloaded packages from a windows box?

yeah sorry kind of missed that

Offline

#7 2004-08-31 06:57:48

arch-fan
Member
Registered: 2004-02-12
Posts: 17

Re: installed downloaded packages from a windows box?

thanks guyes for your replies. I am starting to think that I am smart and there is hope in me.  lol

There is one more doubt in the method that i described in the first post that I wnat to be clarified please.

If I act like I said at the first post and there is one package that requires one dependency package, is pacman going to retrive this dependecy package from internet if it doesn't find it in the local repository?


By the way if i put the packages in /var/cache/pacman/pkgs 

and do pacman -Syu

as dibblethewrecker mentioned, would pacman try to update all the packages that are already installed ?

thanks people.

Offline

#8 2004-08-31 14:25:48

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: installed downloaded packages from a windows box?

yup.  but you can tell it not to look to upgrade certain packages in pacman.conf.  i have a huge list in mine, basically anything over 2 megs i download externally and import so i don't want pacman to try and get it over the internet.  once i have dl'ed and added the packages to the local cache i then comment out that line and let it upgrade smile  i do misss deps sometimes which is annoying.

minor point - sorry if this is totally unfounded - it seems like you are worried pacman will dive onto the internet without your consent?  it won't.

Offline

Board footer

Powered by FluxBB