You are not logged in.

#1 2009-01-19 05:25:40

BHReach
Member
Registered: 2008-12-28
Posts: 21

Problem Installing Packages [Solved]

I am installing Arch on a computer without Internet access. I installed the base system OK.

I downloaded the extra packages on another computer and burned them (A-L and M-Z) to 2 DVD's.

I mounted the 1st DVD (A-L) on /media/dvd.

I put Server=/media/DVD in /etc/pacman.conf.

cd /media/DVD
pacman -S alsa-utils

error: not found in sync db

pacman -U alsa-utils
loading package data...

error: cannot open package file

alsa-utils package is on the DVD.

What am I doing wrong?

Last edited by BHReach (2009-01-20 08:45:55)

Offline

#2 2009-01-19 05:42:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,503
Website

Re: Problem Installing Packages [Solved]

BHReach wrote:

I put Server=/media/DVD in /etc/pacman.conf.

Remove that.


Create a folder somewhere (say /home/repo), copy all the packages into it and run

repo-add local.db.tar.gz *.pkg.tar.gz

Then in your pacman.conf add:

[local]
Server = file:///home/repo

I would comment out [core], [extra] etc as you are not going to be able to access them.

Then "pacman -Sy" and install away with "pacman -S als-utils"

Offline

#3 2009-01-19 06:34:29

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Problem Installing Packages [Solved]

And for using pacman -U, you need the full file name, so it would be like:
pacman -U alsa-utils-[version number].pkg.tar.gz

Offline

#4 2009-01-20 08:45:16

BHReach
Member
Registered: 2008-12-28
Posts: 21

Re: Problem Installing Packages [Solved]

Thanks, that worked.

Bill

Offline

Board footer

Powered by FluxBB