You are not logged in.

#1 2008-03-30 18:10:59

A.I. BOT
Member
Registered: 2007-04-01
Posts: 88

Protocal Error with pacman

I just updated the kernel and various other things like mkinitcpio. Then I tried to install gFTP and got the fallowing error. Do I need to reboot or something o_O?

[tyler@tyler-laptop ~]$ sudo pacman -S gftp
resolving dependencies...
looking for inter-conflicts...

Targets: gftp-2.0.18-2 

Total Download Size:    0.94 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
error: failed retrieving file 'gftp-2.0.18-2.pkg.tar.gz' from ftp.archlinux.org : Protocol error

[tyler@tyler-laptop ~]$ sudo pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : Protocol error

[tyler@tyler-laptop ~]$

Thanks.

Offline

#2 2008-03-30 18:20:37

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: Protocal Error with pacman

iirc it means it couldn't establish a connection
you should ideally be using a mirror, not the main servers

Offline

#3 2008-03-30 19:25:08

aRcHaTe
Member
Registered: 2006-10-24
Posts: 644

Re: Protocal Error with pacman

A.I. BOT wrote:

I just updated the kernel and various other things like mkinitcpio. Then I tried to install gFTP and got the fallowing error. Do I need to reboot or something o_O?

[tyler@tyler-laptop ~]$ sudo pacman -S gftp
resolving dependencies...
looking for inter-conflicts...

Targets: gftp-2.0.18-2 

Total Download Size:    0.94 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
error: failed retrieving file 'gftp-2.0.18-2.pkg.tar.gz' from ftp.archlinux.org : Protocol error

[tyler@tyler-laptop ~]$ sudo pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : Protocol error

[tyler@tyler-laptop ~]$

Thanks.

that happened to me few days ago..fails a few times..


Its a sick world we live in....

Offline

#4 2008-03-30 20:03:10

bender02
Member
From: Germany
Registered: 2007-02-04
Posts: 1,328

Re: Protocal Error with pacman

kumico wrote:

you should ideally be using a mirror, not the main servers

Not just ideally! You should be using a mirror. Have a look at /etc/pacman.conf and /etc/pacman.d/mirrorlist (edit the latter).

Offline

#5 2008-03-30 20:16:36

Spider.007
Member
Registered: 2004-06-20
Posts: 819
Website

Re: Protocal Error with pacman

Why doesn't pacman use the `rankmirrors` command to determine the best mirror to use on installation?

Last edited by Spider.007 (2008-03-30 20:27:38)

Offline

#6 2008-03-30 20:44:07

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 792

Re: Protocal Error with pacman

@A.I. BOT
You may find this page useful:  http://users.archlinux.de/~gerbra/mirrorcheck.html.

@Spider.007
It's my understanding that rankmirrors doesn't tell you how up-to-date a mirror is.

Offline

#7 2008-03-31 11:18:29

Spider.007
Member
Registered: 2004-06-20
Posts: 819
Website

Re: Protocal Error with pacman

tigrmesh wrote:

@Spider.007
It's my understanding that rankmirrors doesn't tell you how up-to-date a mirror is.

When a mirror isn't updated at least once a day, shouldn't it be removed from the mirrorlist?

Offline

#8 2008-03-31 11:52:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Protocal Error with pacman

rankmirrors is provided as an optional utility for users. Not everyone wants or needs to use it.

Mirrors have problems for various reasons - we do drop any that fail consistently over a long period.

And finally, don't use ftp.archlinux.org as your preferred mirror. It is top of the list by default on install, simply because we do not know where you all live. smile

Offline

#9 2008-04-01 07:47:10

Spider.007
Member
Registered: 2004-06-20
Posts: 819
Website

Re: Protocal Error with pacman

tomk wrote:

rankmirrors is provided as an optional utility for users. Not everyone wants or needs to use it.

Mirrors have problems for various reasons - we do drop any that fail consistently over a long period.

And finally, don't use ftp.archlinux.org as your preferred mirror. It is top of the list by default on install, simply because we do not know where you all live. smile

How can you post 'don't use ftp.archlinux.org' and 'Not everyone wants or needs to use [rankmirrors].' in the same post? wink If we don't want people to use ftp.archlinux.org; shouldn't the rankmirrors script be pushed as the best solution? For example; run it when pacman is upgraded or installed to generate a /etc/pacman.d/nearest mirrorlist which is configured by default to be used?

Offline

#10 2008-04-01 14:01:52

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,167
Website

Re: Protocal Error with pacman

Spider.007 wrote:
tomk wrote:

rankmirrors is provided as an optional utility for users. Not everyone wants or needs to use it.

Mirrors have problems for various reasons - we do drop any that fail consistently over a long period.

And finally, don't use ftp.archlinux.org as your preferred mirror. It is top of the list by default on install, simply because we do not know where you all live. smile

How can you post 'don't use ftp.archlinux.org' and 'Not everyone wants or needs to use [rankmirrors].' in the same post? wink If we don't want people to use ftp.archlinux.org; shouldn't the rankmirrors script be pushed as the best solution? For example; run it when pacman is upgraded or installed to generate a /etc/pacman.d/nearest mirrorlist which is configured by default to be used?

Perhaps you are misundrstanding.
Rankmirrors merely prints out a list for the user, ordering mirrors by latency. A mirror with low latency, but with poor bandwidth or which is out-of-date serves no good purpose, so in the end it is you, the user, who must make the decision which mirror you are to use.
Arch does not hold your hand.

Offline

#11 2008-04-01 14:19:08

Spider.007
Member
Registered: 2004-06-20
Posts: 819
Website

Re: Protocal Error with pacman

Misfit138 wrote:
Spider.007 wrote:
tomk wrote:

rankmirrors is provided as an optional utility for users. Not everyone wants or needs to use it.

Mirrors have problems for various reasons - we do drop any that fail consistently over a long period.

And finally, don't use ftp.archlinux.org as your preferred mirror. It is top of the list by default on install, simply because we do not know where you all live. smile

How can you post 'don't use ftp.archlinux.org' and 'Not everyone wants or needs to use [rankmirrors].' in the same post? wink If we don't want people to use ftp.archlinux.org; shouldn't the rankmirrors script be pushed as the best solution? For example; run it when pacman is upgraded or installed to generate a /etc/pacman.d/nearest mirrorlist which is configured by default to be used?

Perhaps you are misundrstanding.
Rankmirrors merely prints out a list for the user, ordering mirrors by latency. A mirror with low latency, but with poor bandwidth or which is out-of-date serves no good purpose, so in the end it is you, the user, who must make the decision which mirror you are to use.
Arch does not hold your hand.

The rankmirrors script does actually test for bandwidth by downloading the first 50.000 bytes. And if the server is out of date, I think it shouldn't be high-ranked by the rankmirrors script.

It is fine by me to let the user update his pacman.conf based on the output of `rankmirrors`; but I think there are many examples that users don't actually do this, which overloads ftp.archlinux.org.

Offline

#12 2008-04-01 19:15:05

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 201

Re: Protocal Error with pacman

Spider.007 wrote:

It is fine by me to let the user update his pacman.conf based on the output of `rankmirrors`; but I think there are many examples that users don't actually do this, which overloads ftp.archlinux.org.

I think we will not have this overloading problem in the future. During the language transition of
archlinux.org also the language of the ftp server has changed. Currently it is not reachable by most
clients (pacman, wget, ftp). Onyl the devs have fixed tools which uses already the translated syntax.
See also here:
http://users.archlinux.de/~gerbra/mirrorcheck.html

Offline

#13 2008-04-02 03:34:38

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,167
Website

Re: Protocal Error with pacman

Users are warned that Archlinux.org is throttled on the installation ISOs, in the Official Installation Guide, in the Beginner's Guide and on the forums.

Offline

#14 2008-12-22 15:09:39

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

Re: Protocal Error with pacman

basically when you did the update, pretty sure it installed a new version of pacman. and it had overwritten your old config as it is no longer valid. just setup your config again:

/etc/pacman.conf points to /etc/pacman.d/mirrorlist

comment (or just delete) whichever mirrors you don't want.

Offline

#15 2008-12-22 20:39:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Protocal Error with pacman

fyi farkenell - this thread is nine months old, and the OP did not respond at the time to any subsequent posts.

Offline

#16 2008-12-22 23:35:38

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

Re: Protocal Error with pacman

oops :X I was looking for a similar issue I was having and came across this thread, must of got my windows mixed up and posted in this one....I swear one of the threads I was reading had yesterdays date marked as last reply....

Offline

Board footer

Powered by FluxBB