You are not logged in.

#1 2009-01-23 18:20:26

vdias
Member
From: Villaverde del Rio
Registered: 2009-01-22
Posts: 34
Website

Local Pacman...

Since i cannot use my vodafone usb modem on my new arch install... i asked a friend to download all pacman packages from a arch mirror...

How can i use them on my machine... i copied all files to "/var/cache/pacman/pkg" but it seems not to work...

How can i update pacman database to use this local files???

Offline

#2 2009-01-23 18:34:47

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Local Pacman...

What you need to do is create a local repo, eg;

mkdir /home/vdias/local_repo
cp /var/cache/pacman/pkg/*.pkg.tar.gz /home/vdas/local_repo
cd /home/vdias/local_repo
repo-add /home/vdias/local_repo.db.tar.gz *.pkg.tar.gz

then add

[local_repo]
file:///home/vdias/local_repo

to /etc/pacman.conf above the entry for [core] and then run pacman -Syy to refresh the pacman database.  If you don't have a net connection you may want to comment out the entries for [core], [extra] and [community] for now.  Just remember to run a 'pacman -Sy' if you add them back in later.

After this you should be able to install any of the packages your friend downloaded using normal 'pacman -S some_package' commands

(Wiki page)

Offline

#3 2009-01-23 19:06:47

vdias
Member
From: Villaverde del Rio
Registered: 2009-01-22
Posts: 34
Website

Re: Local Pacman...

It worked... Thankz a lot!

Offline

#4 2009-01-23 19:25:18

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: Local Pacman...

One thing I forgot to add, if you get your network up and running you probably want to remove the entry for the local repo in /etc/pacman.conf and run pacman -Syy

Offline

#5 2009-01-25 21:51:59

vdias
Member
From: Villaverde del Rio
Registered: 2009-01-22
Posts: 34
Website

Re: Local Pacman...

It created the local_repo without problems... and installed some pkg without problem... but now i wanted to install gnome and it gives me dependency errors...

Seems that pacman cannot find the dependency pkg... but they are there for sure...

Any other solution?

Offline

#6 2009-01-25 22:06:38

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

Re: Local Pacman...

vdias wrote:

Since i cannot use my vodafone usb modem on my new arch install

Have you tried to fix that? AFAIK others are using Arch with similar devices.

Offline

#7 2009-01-26 13:42:47

vdias
Member
From: Villaverde del Rio
Registered: 2009-01-22
Posts: 34
Website

Re: Local Pacman...

tomk wrote:
vdias wrote:

Since i cannot use my vodafone usb modem on my new arch install

Have you tried to fix that? AFAIK others are using Arch with similar devices.

Yeap... I tried everything... and no solution... wvdial cannot find carrier...

GGGRRRR!!!

Offline

#8 2009-01-26 14:03:06

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Local Pacman...

Time to by a real modem... snickers big_smile

Anyways, you can use pacman -U /path/to/some/really/super/cool/program.pkg.tar.gz to install specific packages.


Website - Blog - arch-home
Arch User since March 2005

Offline

#9 2009-01-26 14:09:26

vdias
Member
From: Villaverde del Rio
Registered: 2009-01-22
Posts: 34
Website

Re: Local Pacman...

Pyther i started to do that... but is a pain in the ass... find the real name of all packages... and after install... boring... but doing it...

Anyone can recommend a cheap router that works with the fuc#$&$ usb vodafone modem?

Offline

Board footer

Powered by FluxBB