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..
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.
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)
:: / my web presence
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.
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!