You are not logged in.

#26 2011-05-31 10:14:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to install packages from local folder

Not bumping means learning to use the 'Edit' button...

edit.png


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#27 2011-05-31 21:43:46

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

Re: How to install packages from local folder

Back in post #15, I asked you to post some output and your conf file, using forum code tags. Your list of actions above is not much use without that exact output - selective quoting/paraphrasing is just not good enough.

Also, nobody else has mentioned this, so I will: Arch is not the right choice for people with restricted internet access. Yes, you can get it to work, but there are more suitable options in your situation.

Offline

#28 2011-05-31 23:11:09

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,227
Website

Re: How to install packages from local folder

ccpplinux wrote:

4. Then I copied the file extra-os.db to the folder /var/lib/pacman/sync/

Do not do that. That path is for pacman to manage; You should not touch it unless you *really* know what you are doing, in which case you wouldn't be asking for help here.

ccpplinux wrote:

8. The same error message in case of command pacman -Syu wvdial

Try `pacman -Syyu` then `pacman -S wvdial`

EDIT: Spelling.

Last edited by fukawi2 (2011-05-31 23:12:18)

Offline

#29 2011-06-01 02:21:11

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: How to install packages from local folder

If all you want is to install wvdial just point CacheDir to /mnt/external_hd/Arch_Linux/Extra-OS in your pacman.conf. You can change it back once you are done. Or just copy all the relevant packages to /var/cache/pacman/pkg. Pacman will assume that you have already downloaded all the relevant packages. This is assuming that you have synced properly.

Also vfat is not the best filesystem for the packages as some of the files have characters that vfat does not recognise in their file names, specifically the colon. You may have problems if you -Syyu as some core files have the colon in their version number. wvstreams is ok, I checked.

Offline

#30 2011-06-01 08:32:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install packages from local folder

stryder wrote:

If all you want is to install wvdial

I hope OP wants something more than just wvdial :-)

Offline

#31 2011-06-01 10:40:47

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: How to install packages from local folder

karol wrote:

I hope OP wants something more than just wvdial :-)

... meaning, and not how to set up a local repository, since he can install almost anything else in the way I described.

Offline

#32 2011-06-06 13:46:13

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: How to install packages from local folder

What's wrong with pacman -U /mnt/external_hd/Arch_Linux/Extra-OS-2/wvdial-1.61-3-x86_64.pkg.tar.xz?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#33 2011-06-06 13:47:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install packages from local folder

fsckd wrote:

What's wrong with pacman -U /mnt/external_hd/Arch_Linux/Extra-OS-2/wvdial-1.61-3-x86_64.pkg.tar.xz?

OP says it doesn't pull the deps.

Offline

#34 2011-06-06 22:56:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,227
Website

Re: How to install packages from local folder

fsckd wrote:

What's wrong with pacman -U /mnt/external_hd/Arch_Linux/Extra-OS-2/wvdial-1.61-3-x86_64.pkg.tar.xz?

I don't believe pacman will look for deps in the same dir, only in the configured repos in from pacman.conf so none of the deps will be installed from /mnt/external_hd......

Offline

#35 2011-06-07 00:39:34

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How to install packages from local folder

pacman --cachedir /foo/cache -U .....

Offline

Board footer

Powered by FluxBB