You are not logged in.

#1 2009-08-12 13:47:20

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

[Solved] Pacman -S issue

Hey guys,

i recently changed from ubuntu over fedora and sabayon to arch...

I've installed arch successfully and managed to get the ethernet working (company proxy server). If I type "pacman -Syu", pacman runs the update for core, extra and community.

But if I type someting like "pacman -S gnome" or "pacman -S xorg" - the following error will be displayed: "xxxx not found in sync db"

I guess there is something wrong in my mirrorlist, but I uncommented several servers und none worked for me...

I hope you can help me - thanks in advance!!!

Btw:

- Arch 2009.08
- Pacman 3.3.0

Last edited by tipclapper (2009-08-12 15:05:01)

Offline

#2 2009-08-12 13:52:45

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [Solved] Pacman -S issue

You could try to run sudo pacman -Syy prior to running sudo pacman -S <package>: this forces a refresh of the database.

Offline

#3 2009-08-12 13:57:23

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

Re: [Solved] Pacman -S issue

Thanks for you reply.

When I run "pacman -Syy", pacman updates the database. But "pacman -S xxx" still won't work... Same error: "xxx not found in sync db"

Offline

#4 2009-08-12 13:58:43

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [Solved] Pacman -S issue

tipclapper wrote:

Thanks for you reply.

When I run "pacman -Syy", pacman updates the database. But "pacman -S xxx" still won't work... Same error: "xxx not found in sync db"

Can you find the package you want to install with the pacman -Ss <package> command?

Last edited by whordijk (2009-08-12 13:59:10)

Offline

#5 2009-08-12 14:01:13

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

Re: [Solved] Pacman -S issue

whordijk wrote:

Can you find the package you want to install with the pacman -Ss <package> command?

If I run "pacman -Ss xorg" nothing will be shown... just a new terminal line...

Last edited by tipclapper (2009-08-12 14:02:45)

Offline

#6 2009-08-12 14:03:12

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [Solved] Pacman -S issue

tipclapper wrote:

If I run "pacman -Ss xorg" nothing will be shown... just a new terminal line...

Ok. What does your /etc/pacman.config file look like?

Offline

#7 2009-08-12 14:07:34

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

Re: [Solved] Pacman -S issue

whordijk wrote:
tipclapper wrote:

If I run "pacman -Ss xorg" nothing will be shown... just a new terminal line...

Ok. What does your /etc/pacman.config file look like?

Well, I cannot copy it, but I didn't changed anything...

I just write down the lines, which are uncommented:

[options]

...

HoldPkg = pacman glibc
SyncFirst = pacman

...

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Last edited by tipclapper (2009-08-12 14:09:28)

Offline

#8 2009-08-12 14:10:51

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [Solved] Pacman -S issue

tipclapper wrote:
whordijk wrote:
tipclapper wrote:

If I run "pacman -Ss xorg" nothing will be shown... just a new terminal line...

Ok. What does your /etc/pacman.config file look like?

Well, I cannot copy it, but it didn't changed anything...

I just write down the lines, which are uncommented:

[options]

...

HoldPkg = pacman glibc
SyncFirst = pacman

...

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Ok, and you mirrorlist was in order, right? Hm. I'm afraid I don't have a clue at the moment tongue For a more quick response, you can also check out the Arch Linux irc channel (archlinux@freenode): I think you'll find it to be quite active and helpful smile

Offline

#9 2009-08-12 14:22:57

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

Re: [Solved] Pacman -S issue

whordijk wrote:
tipclapper wrote:
whordijk wrote:

Ok. What does your /etc/pacman.config file look like?

Well, I cannot copy it, but it didn't changed anything...

I just write down the lines, which are uncommented:

[options]

...

HoldPkg = pacman glibc
SyncFirst = pacman

...

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

Ok, and you mirrorlist was in order, right? Hm. I'm afraid I don't have a clue at the moment tongue For a more quick response, you can also check out the Arch Linux irc channel (archlinux@freenode): I think you'll find it to be quite active and helpful smile

Well my mirrorlist was just like it was created by arch. Then I uncommented some of the servers and none worked... However, thanks for your support anyway... I will check the IRC channel in the evening (I'm on my work pc right now and the proxy doesn't love IRC ;-) )

Edit: But if somebody know a solution, I'm waiting :-)

Last edited by tipclapper (2009-08-12 14:47:34)

Offline

#10 2009-08-12 15:01:04

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: [Solved] Pacman -S issue

It might be worth running the rankmirrors script to find your best mirrors. Maybe the ones you selected are down or something.

Save the mirrorlist file first so you have a backup, then in mirrorlist uncomment all the servers near you. You can narrow down the results by using the -n flag, e.g.:

# rankmirrors -n 10 mirrorlist > mirrorlist.ranked

then just replace mirrorlist with the .ranked file.

Offline

#11 2009-08-12 15:04:25

tipclapper
Member
From: Germany
Registered: 2009-08-12
Posts: 16

Re: [Solved] Pacman -S issue

userlander wrote:

It might be worth running the rankmirrors script to find your best mirrors. Maybe the ones you selected are down or something.

Save the mirrorlist file first so you have a backup, then in mirrorlist uncomment all the servers near you. You can narrow down the results by using the -n flag, e.g.:

# rankmirrors -n 10 mirrorlist > mirrorlist.ranked

then just replace mirrorlist with the .ranked file.

Thanks for your reply, but I get this stuff working... There was something wrong in my rc.conf... after my changes in rc.conf "ping www.google.com" runs great, but the pacman errors discribed above occurred...

Now I changed my rc.conf (dhcp stuff and gateway stuff) and pacman installs xorg at the moment :-)

However, thank you very much for your fast support!!

Offline

Board footer

Powered by FluxBB