You are not logged in.

#1 2005-05-28 18:21:48

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 378
Website

pacman -Sw and pacman -A [solved]

I'm trying to download the ipw2200 driver on my arch installation by being a little creative (since I don't have network access).  I did a pacman -w from an arch machine that has network access to download the pkgbuild, install, and .tgz.  Then I copied the files over to my arch machine without Internet access via the windows partition.  But when I did a packman -A ipw2200 I get an error saying that ./PKGUILD does not exist.

Where did I go wrong?  I tried moving the directory back to where it was originally found on the 1st arch machine (/var/abs/extra/network) and ran pacman -A from there but I got the same error.

Any help would be appreciated..

Offline

#2 2005-05-28 18:28:48

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pacman -Sw and pacman -A [solved]

use the whole filename with pacman -A, ie:

pacman -A ipw2200-ve.rs.ion-1.pkg.tar.gz

Dusty

Offline

#3 2005-05-28 18:43:35

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 378
Website

Re: pacman -Sw and pacman -A [solved]

Sorry, I did try the entire file name, it's just that I'm dual booting so it's hard for me to remember everything once I'm back on the XP partition.

The first thing I tried was pacman -A ipw2200-fw-etc-tgz which gave me an error saying the package was missing from the file.  That's odd since the directory contains the .tgz, the ipw2200.install, and pkgbuild.  I figured I'd have to type makepkg but that didn't work either -- I got the FATAL error about ./PKGBUILD not being there.

I also tried pacman -A ipw2200.install but got the same error as when I passed it the .tgz file.

Offline

#4 2005-05-28 19:01:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman -Sw and pacman -A [solved]

you need to use the ipw2200-*.pkg.tar.gz file... make sure it has the "pkg" in there... only those are pacman packages

Offline

#5 2005-05-28 19:04:46

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: pacman -Sw and pacman -A [solved]

pacman -A packagename-packagever-packagerel.pkg.tar.gz
is used ONLY with ArchLinux packages, not with any archive/file.

I believe you kind of made a confusion.

pacman -Sw pkgNAME (in your case "pacman -Sw ipw2200")
- will download the ipw2200 package file in /var/cache/pacman/pkg (you can get if from there and move if to another ArchLinux machine, in the same dir)


pacman -S pkgNAME
- will look in pacman's db for the latest version of pkgNAME and request the file (pkgFILEname) from the server, IF it is NOT found in the /var/cache/pacman/pkg dir

pacman -A pkgFILEname
- installs the file specified by pkgFILEname (bypassing pacman's DB)

Offline

#6 2005-05-28 19:14:30

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pacman -Sw and pacman -A [solved]

Phrakture is right, it sounds like you have a build file, not a package file. You can build the package though, untar the file and run makepkg:

tar xfvz ipw200-etc.tar.gz
cd ipw200
makepkg

Then you'll have a ipw200-etc-pkg.tar.gz that you can install with pacman -A.

Dusty

Offline

#7 2005-05-28 22:14:24

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 378
Website

Re: pacman -Sw and pacman -A [solved]

Yup -- IceRAM and Phrakture got it right.  Got it working now and am now typing this wirelessly on my new arch install. Thanks very much for the guidance!

Offline

Board footer

Powered by FluxBB