You are not logged in.
Pages: 1
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
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
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
Thanks, that worked.
Bill
Offline
Pages: 1