You are not logged in.
Pages: 1
I have installed arch on my computer and i'm now trying to get my wirelss network card to work. I found a guide how to do it and i need to install ndiswrapper. I have the files on a usb stick but when i use the command pacman -U on the files it just says: cannot open package file. I'm in the part of the installation just after the first reboot if it matters. Please help me before i go crazy.
Offline
Upgrade pacman to 3.4. I don't believe 3.3 included support for xz packages.
Hmm ok so i can just reinstall arch with netinstall and i will get pacman 3.4?
Offline
Yes, thats how it works...
Offline
falconindy wrote:Upgrade pacman to 3.4. I don't believe 3.3 included support for xz packages.
Hmm ok so i can just reinstall arch with netinstall and i will get pacman 3.4?
Not sure about it - http://www.archlinux.org/news/pacman-340-released/ - it's late June. The iso images are from May, so they have pacman 3.3.
Offline
@karol - true. I recently did an install from the core iso (2010.5) and indeed, pacman was the first package updated.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
The support for xz packages has been added in pacman 3.3.
@ copyguy
Post the whole command + output. Maybe you're trying to install a source archive and not a binary (pkg.tar.gz / pkg.tar.xz).
Offline
Have you tried navigating via the command line to the directory of the package?
Alternatively if you know the location of the package give the complete path to the file.
pacman -U gives the error message that it cannot open the package if it is trying to open a package that is not in the directory specified.
If I downloaded the package to ~/Downloads, when using pacman -U I would need to type pacman -U ~/Downloads/ndiswrapper.pkg.tar.gz.
A couple other things: are you sure the drive is mounted and you are trying to install the package with root permissions. (You need to have root permissions somehow, either by logging in as root, or utilizing sudo or su.)
Edited due to a mistype that was pointed out by Karol. Thanks Karol.
Last edited by pauline123 (2010-12-06 23:24:18)
Offline
If I downloaded the package to ~/Downloads, when using pacman -U I would need to type pacman -U ~/Downloads/ndiswrapper.tar.gz
No!
.tar.gz is the source, pkg.tar.gz or pkg.tar.xz is the binary package. Pacman can handle only packages, not archives with the source files / PKGBUILDs.
Offline
Karol is right. I was not thinking when I typed the location, sorry.
Offline
Pages: 1