You are not logged in.

#1 2008-12-21 17:49:31

wckd
Member
From: Norway
Registered: 2008-12-21
Posts: 3
Website

Problems with pacman - protocol error

I just took an -Syu, and this happened:

# pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirror.archlinux.no : Protocol error
error: failed to update core (Protocol error)
error: failed retrieving file 'extra.db.tar.gz' from mirror.archlinux.no : Protocol error
error: failed to update extra (Protocol error)
error: failed retrieving file 'community.db.tar.gz' from mirror.archlinux.no : Protocol error
error: failed to update community (Protocol error)
error: failed to synchronize any databases

uhm, how to fix? smile
I tried to switch to the belnet.be-mirror, but it just says mirror.archlinux.org in the errormessages :\

Edit: Pacman v3.2.1 - libalpm v3.1.0

Last edited by wckd (2008-12-21 17:53:30)

Offline

#2 2008-12-21 19:02:06

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Problems with pacman - protocol error

Is this a fresh install?

Try re-installing pacman (pacman -S pacman) if you still have it in your cache, then change the mirror again (/etc/pacman.d/mirrorlist).

Last edited by Xyne (2008-12-21 19:08:20)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2008-12-21 19:51:58

wckd
Member
From: Norway
Registered: 2008-12-21
Posts: 3
Website

Re: Problems with pacman - protocol error

:: Retrieving packages from core...
error: failed retrieving file 'pacman-3.2.1-1-i686.pkg.tar.gz' from mirror.archlinux.no : Protocol error
warning: failed to retrieve some files from core
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

And yes, this is a fresh install on my HP 6710b
Did a fresh install after I got my new harddrive two days ago.

Last edited by wckd (2008-12-21 20:31:56)

Offline

#4 2008-12-21 21:00:19

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Problems with pacman - protocol error

Here are some questions that might lead to a solution while waiting for a definitive answer from someone who knows what the actual error is:

Can you ping archlinux.org?
If not, can you ping it by IP (66.211.213.17)?
What is your network setup?
How did you configure it?
How did you install Arch (core or ftp cd)?

If you have the core CD, you can mount it and find the package directory, then try to reinstall pacman with

pacman -U pacman-3.2.1-1-i686.pkg.tar.gz

You could also try re-installing libdownload using the same method, then try "pacman -Syyu" (double "y" to force a database refresh).

If you have the ftp CD, you can get the links for the packages with

pacman -Sp pacman libdownload

then try downloading them manually and installing with "pacman -U pkgname-pkgver-i686.pkg.tar.gz"

Knowing more about your network configuration might provide insight to where the problem is.

It's also possible that the install CD is faulty. It might be worth burning a new one and re-installing, but wait for someone else to reply.

Last edited by Xyne (2008-12-21 21:01:19)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2008-12-21 21:53:28

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Problems with pacman - protocol error

I get this error every once and a while too. Usually my network isn't configured.

Offline

#6 2008-12-22 14:57:11

hotzenpl0tz
Member
Registered: 2008-12-10
Posts: 4

Re: Problems with pacman - protocol error

I had this same error since the upgrade to pacman and the split of the mirrorlist package. I had to edit the new mirrorlist and comment out alle of the servers sparing the one I wanted to use. Seems like the official archlinux.org mirror didn't want to work - the german mirror I normaly use works fine though.

Wlan using networkmanager and gnome here, everything else works, it was just pacman and the main mirror it seems that it somehow defaulted to after the update.

Offline

#7 2009-09-12 15:26:21

Alcap
Member
Registered: 2009-09-07
Posts: 7

Re: Problems with pacman - protocol error

I'm having this error too, the above solutions didn't work for me... Can anyone help me?

Offline

#8 2009-09-12 15:51:23

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Problems with pacman - protocol error

Just change the download agent of pacman. Add something like

XferCommand = wget %u

to pacman.conf's options and you're done.

p.s. I prefer to use axel instead wget, but it's up to you.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#9 2009-09-22 22:02:58

Alcap
Member
Registered: 2009-09-07
Posts: 7

Re: Problems with pacman - protocol error

kjon wrote:

Just change the download agent of pacman. Add something like

XferCommand = wget %u

to pacman.conf's options and you're done.

p.s. I prefer to use axel instead wget, but it's up to you.

Are you sure that's the problem? Forgive my skepticism, but if it is I have spent today's afternoon in vain:(

Offline

#10 2009-09-22 22:52:00

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Problems with pacman - protocol error

As far I have noticed, yes. That's the problem.

If it's useful to you, I use to install archlinux without the release cds/images. I prefer to download pacman-static and install from another distro. Most times I tryied to -Syu from my fresh install, pacman spit this infamous 'protocol error' message, so I guess it might be a bug on libfetch or something similar (well, I'm not a developer, I'm speaking from my POV).

If you don't believe me, try changing the download agent of pacman and tell me your result tongue. I hope this fix works for you.

p.s. I guess you realized I'm not an english native speaker (uhh... writer, in this case) tongue


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#11 2009-09-22 23:22:25

silasq
Member
Registered: 2009-02-04
Posts: 3

Re: Problems with pacman - protocol error

Thank you kjon smile

I had the same problem and did what you said and it works fine smile

cheers

Offline

#12 2009-09-23 22:24:43

Alcap
Member
Registered: 2009-09-07
Posts: 7

Re: Problems with pacman - protocol error

kjon wrote:

As far I have noticed, yes. That's the problem.

If it's useful to you, I use to install archlinux without the release cds/images. I prefer to download pacman-static and install from another distro. Most times I tryied to -Syu from my fresh install, pacman spit this infamous 'protocol error' message, so I guess it might be a bug on libfetch or something similar (well, I'm not a developer, I'm speaking from my POV).

If you don't believe me, try changing the download agent of pacman and tell me your result tongue. I hope this fix works for you.

p.s. I guess you realized I'm not an english native speaker (uhh... writer, in this case) tongue

kjon this problem occured when I tried to install chakra, so it's probably it! Thanks a lot, I'm going to try it tonight. If it doesn't work, you'll be forcing me to install arch again...
Btw, your english is not that bad wink

Offline

Board footer

Powered by FluxBB