You are not logged in.

#1 2004-04-06 17:01:06

naperdave
Member
Registered: 2004-04-06
Posts: 11

pacman -Sy problem

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 roll

Offline

#2 2004-04-06 17:06:03

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: pacman -Sy problem

Try this.

Sync package databases

#pacman -Sy

Then install samba

#pacman -S samba

And then other packages you want

#pacman -S xfree86

Offline

#3 2004-04-06 17:25:11

naperdave
Member
Registered: 2004-04-06
Posts: 11

Re: pacman -Sy problem

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

#4 2004-04-06 18:00:22

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: pacman -Sy problem

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

#5 2004-04-06 18:31:34

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: pacman -Sy problem

Comment our the "[extra]" block in /etc/pacman.conf, as well as all the "Server =" lines underneath it.

Offline

#6 2004-04-06 18:36:54

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: pacman -Sy problem

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

#7 2004-04-10 19:23:36

naperdave
Member
Registered: 2004-04-06
Posts: 11

Re: pacman -Sy problem

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

Board footer

Powered by FluxBB