You are not logged in.
Pages: 1
I would like to install packages such as Xfree86, nfs, samba with dependencies as easily as possible.
As root I have:
created dir /pkgs and copied all tar files from /mnt/cd/arch/pkg to it.
I have set up /etc/pacman.conf with Server = file:///pkgs
and remmed out all other servers.
I also cd /var/lib/pacman/current
tar czf ~/current.db.tar.gz * in /pkgs dir as per "Install downloaded packages
from another computer-how-to", and copied it to /pkgs.
I did updatedb if it matters.
If I do pacman -A samba... It shows loading package data done, and the unsatisfied dependencies.
Fine.
if I do pacman --sync --refresh, nothing shows up so I assumed it worked, but if I do
"pacman -Sy samba"
I always get "current /pkgs 100% local"
"failed to sync extra"
"err: could not open sync database: extra"
"have you used refresh yet?"
pacman.log shows a whole bunch of "synchronizing package lists".
--syn works?
Is nothing refreshing? What is sync database:extra and why can't it open?
How can I properly and quickly install packages with dependencies?
Thanks in advance,
NaperDave
Offline
Try this.
Sync package databases
#pacman -Sy
Then install samba
#pacman -S samba
And then other packages you want
#pacman -S xfree86
Offline
Tried again and still get
"current /pkgs/ 100% local"
"failed to sync extra"
"err: could not open sync database: extra"
"have you used refresh yet?"
What am I doing wrong?
Offline
try
pacman -Syv
Should tell us which server you are trying to connect to.
Have you tried connecting to different servers? To connect to different servers just reorder the list in /etc/pacman.conf or comment out the ones you don't want.
Offline
Comment our the "[extra]" block in /etc/pacman.conf, as well as all the "Server =" lines underneath it.
Offline
Don't uncompress the db.tar.gz file as well. Leave that compressed in the /pkgs directory.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Thanx guys, perhaps although i remmed out all , I did not rem out what was wrapped around or i didn't rem [extra] itself.
Offline
Pages: 1