You are not logged in.

#1 2007-06-12 00:42:04

viga
Member
Registered: 2007-06-12
Posts: 112

Do you need internet connection to use pacman? [solved]

Yes you do. 


Sorry for the dum question,

Do I need to have internet connection to use pacman?

Thanks

The reason I ask is because I need madwifi for my wireless and Arch does not allow me to install this file using pacman -A ......

Last edited by viga (2008-10-29 03:30:58)

Offline

#2 2007-06-12 00:47:11

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

Re: Do you need internet connection to use pacman? [solved]

Pacman -A will load any package...     (pkg.tar.gz) that you have in your cache or local repo.

It must be identified as  .pkg .tar.gz with full version info


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 2007-06-12 00:47:53

loserveg
Member
From: Pittsburgh, Pa
Registered: 2006-12-22
Posts: 45

Re: Do you need internet connection to use pacman? [solved]

well, unless you have the full install cd pacman will need to access the internet to pull the file you require.

if you do have the cd, mount the cd, browse for the file you are looking for and run pacman -A and that should give you what you need.

otherwise you will have to find a way to get the file off the internet or other media.

Offline

#4 2007-06-12 00:47:53

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Do you need internet connection to use pacman? [solved]

Use pacman -U. I'm not sure -A is still current.

It's certainly possible to install packages this way without Internet.

Offline

#5 2007-06-12 01:02:38

viga
Member
Registered: 2007-06-12
Posts: 112

Re: Do you need internet connection to use pacman? [solved]

How do I add a package to my cache or local repo?  I have the madwifi tar in my home directory, I tried to installed from there and it did not work.

Thanks

Offline

#6 2007-06-12 02:14:10

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Do you need internet connection to use pacman? [solved]

viga wrote:

How do I add a package to my cache or local repo?  I have the madwifi tar in my home directory, I tried to installed from there and it did not work.

Thanks

Why don't you show us what you typed and what the error was?

Offline

#7 2007-06-12 05:35:59

viga
Member
Registered: 2007-06-12
Posts: 112

Re: Do you need internet connection to use pacman? [solved]

I typed under root pacman -A madwifi.....tar.gz

The error that came back is package name is not valid

Offline

#8 2007-06-12 05:49:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Do you need internet connection to use pacman? [solved]

As already stated, the tarball must be a correctly-built Arch package - e.g. madwifi-0.9.3-5.pkg.tar.gz, which is the current madwifi module package for kernel26. You cannot install an upstream source tarball with pacman - if that is what you have, you need to use makepkg to create the Arch package first.

Offline

#9 2007-06-12 05:56:29

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

Re: Do you need internet connection to use pacman? [solved]

As I indicated the ID for the package in the ...pacman  -A ......command  must include the full version info...

This typically  .....arts-1.5.7-1.pkg.tar.gz  as an example.

AFAIK madwifi is a PKGBUILD and the install is made with ....pacman -A (complete ID for the package as generated from the PKGBUILD).

This will install the pacman package...typically I copy the ID and paste into the command line.


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

#10 2007-06-12 15:23:31

viga
Member
Registered: 2007-06-12
Posts: 112

Re: Do you need internet connection to use pacman? [solved]

Thanks tomk and lilsirecho,

now I need to figure out how to build the package using PKGBUILD.  Any sugestions here?

Thanks again

Offline

#11 2007-06-12 15:41:06

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Do you need internet connection to use pacman? [solved]

A PKGBUILD is build with makepkg, read the man page and if you still have questions about the usage you can ask them here.
The -A switch for pacman is deprecated, as stated in the man page, use -U instead.

Offline

#12 2007-06-12 15:54:27

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Do you need internet connection to use pacman? [solved]

Any particular reason for not using the already built package in extra ?
http://archlinux.org/packages/search/?q=madwifi
You can get it from any mirrors, for example :
ftp://ftp.belnet.be/packages/archlinux/ … pkg.tar.gz

Btw, pacman has a feature which might be useful :

pacman -Sp madwifi                                                                                                                        ~
resolving dependencies... done.
http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-utils-0.9.3.1-1.pkg.tar.gz
http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-0.9.3.1-1.pkg.tar.gz

madwifi depends on madwifi-utils, so you'll want to download this package too.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB