You are not logged in.

#1 2009-09-23 22:21:08

undergroundx
Member
Registered: 2009-09-23
Posts: 22

sync db not sure what is wrong here?

Hello im just starting out wth Arch and finally got the repos and such working but im trying to get some packages installed to i can upgrade the system and get everything setup but when i try to install anythin

pacman -S <package here>

i get no found in sync db.

I was trying to install alsa-utils

pacman -S alsa-utils
then i get

error: config file /etc/pacman.d/mirrorlist could not be read
error: config file /etc/pacman.d/mirrorlist could not be read
error: config file /etc/pacman.d/mirrorlist could not be read
error: config file /etc/pacman.d/mirrorlist could not be read
alsa-utils package not found, searching for group...
error: 'alsa-utils': not found in sync db

Here is a link to my /etc/pacman.conf and pacman.d/mirrorlist

Not sure what else i did wrong but i was pretty sure i had everything setup.

/etc/pacman.conf
http://pastebin.ca/1577140

/etc/pacman.d/mirrorlist
http://pastebin.ca/1577143

BTW i know that i do not need the other mirrors not associated with the United States.

Thanks for the help. smile

Offline

#2 2009-09-23 22:45:57

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

Re: sync db not sure what is wrong here?

Your /etc/pacman.conf should have entries that point to your /etc/pacman.d/mirrorlist, like:

Include = /etc/pacman.d/mirrorlist

...and in your mirrorlist, you might want to point at a single server (and comment the others out).

Your current setup appears to be creating conflicts.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2009-09-23 23:13:59

undergroundx
Member
Registered: 2009-09-23
Posts: 22

Re: sync db not sure what is wrong here?

i changed all of the mirrors to point to the one mirror that i have all my repo"s setup to fetch the packages but i still get sync db not found.

Im not really sure why since it says all my packages are updated and so is the system.

i looked through the wiki aswell as the beginners guide  and have found alot of the same thing such as adding mirrors etc.

If you need me to post any output of riles that would be at all helpful let me know..

Thanks for the help and reply.
Much appreciated.

Offline

#4 2009-09-23 23:21:59

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

Re: sync db not sure what is wrong here?

Just so I am clear smile - your mirrorlist now only has one uncommented server and your /etc/pacman.conf points to the mirrorlist for all 3 repos (core, extra & community)?

And you can

pacman -Sy

?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2009-09-23 23:49:51

undergroundx
Member
Registered: 2009-09-23
Posts: 22

Re: sync db not sure what is wrong here?

Yes that is correct...

and when i ran pacman -Sy its synchronized all the repos just fine but its still says before it synchronizes anything it shows me 4 lines that say error config file /etc/pacman.d/mirrorlist could not be read error. Kinda strange and im kinda lost with that.

Even after updating the repos"s i still get errors not found in sync db.

Offline

#6 2009-09-24 00:16:19

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: sync db not sure what is wrong here?

If I were you - I would use one (or maybe two) mirrors at most - not the whole score of them; you just _may_ find that the one that is picked is a 'wrong' one (with 'wrong' I mean it may be down, may not be sync'ed for a long time, etc etc)

Also - if you get error messages about mirrorlist - I would go back to the pacman-version and then update (ie select one or two mirrors) that - even though there is nothing wrong visually, there may be odd characters in there that throws pacman off)

Last edited by perbh (2009-09-24 00:18:17)

Offline

#7 2009-09-24 00:33:23

undergroundx
Member
Registered: 2009-09-23
Posts: 22

Re: sync db not sure what is wrong here?

yeah that sounds like a good idea, i actually just did that after reading this post. And it updated the repo"s yet again but still unable to install anything.

Offline

#8 2009-09-24 11:23:08

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: sync db not sure what is wrong here?

Are you sure that mirrorlist has it's filename spelt correctly? I get the same error on my system if I move the file out of the way. I doubt it could be a permission problem since pacman is running with root privledges..

Offline

#9 2009-09-24 15:46:28

undergroundx
Member
Registered: 2009-09-23
Posts: 22

Re: sync db not sure what is wrong here?

yeah i double checked everything and cant find anything that seems to be wrong.  What does your config look like? Maybe there is something i have to change accordingly or use something different. smile

Offline

Board footer

Powered by FluxBB