You are not logged in.

#1 2012-10-02 05:07:54

TKing
Member
Registered: 2012-10-01
Posts: 13

Pacman downloading slowly and signature errors [Solved]

So, I'm trying to do a clean install of Arch Linux. I've chrooted into the system and tried to download wireless_tools, netcfg, and dialog to set up my wireless connection but ran into two issues. First, sometimes I would get a message that says something like:

error: failed retrieving file 'wireless_tools-29-7-x86_64.pkg.tar.xz' from mirror.us.leaseweb.net : Operation too slow. Less than 1024 bytes/sec transferred the last 10 seconds

From what I gathered then it should try the next mirror in my mirrorlist until it finds one with a decent speed. However, then it checks the package integrity and I get more error messages. For each package there's a message like:

error: wireless_tools: signature from "Gaetan Bisson <gaetan.@normalesup.org>" is invalid

and then:

error: failed to commit transaction (invalid or corrupted package (PGP signature))

Any ideas on what's causing this/how to fix it?

Last edited by TKing (2012-10-02 21:45:47)

Offline

#2 2012-10-02 06:41:25

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Pacman downloading slowly and signature errors [Solved]

https://wiki.archlinux.org/index.php/Pa … ion_failed
https://wiki.archlinux.org/index.php/Pa … 9.22_error

Also: https://wiki.archlinux.org/index.php/Be … de#Mirrors

# pacman -Syy

Use this whenever a mirror is changed. This is considered to be good practice and will avoid possible headaches.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-10-02 14:16:56

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

Ok, I cleared my pacman cache, reset all my keys, changed my mirror and ran pacman -Syy and ran into the same errors when trying to sync the databases..

Last edited by TKing (2012-10-02 14:17:30)

Offline

#4 2012-10-02 14:34:26

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Pacman downloading slowly and signature errors [Solved]

Can you ping Google?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-10-02 14:40:30

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

DSpider wrote:

Can you ping Google?

Yeah, pinging Google works fine.

Offline

#6 2012-10-02 15:28:43

headkase
Member
From: Canada
Registered: 2011-12-06
Posts: 1,414
Website

Re: Pacman downloading slowly and signature errors [Solved]

What is the output of the "date" command?


We all make choices, but in the end, our choices make us.

Offline

#7 2012-10-02 15:47:02

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

Tue Oct  2 08:45:40 PDT 2012

Looks like the correct date to me.

Offline

#8 2012-10-02 15:49:24

headkase
Member
From: Canada
Registered: 2011-12-06
Posts: 1,414
Website

Re: Pacman downloading slowly and signature errors [Solved]

Ok, that was a sanity check.  If your system time is "enough" incorrect then pacman signatures will fail.  Checked, carry on! wink


We all make choices, but in the end, our choices make us.

Offline

#9 2012-10-02 15:58:16

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

It's probably worth mentioning that pacstrap worked fine, and since then I've generated an fstab, chrooted into the system, configured the locale, the clock and set the hostname, so I think the issue lies somewhere between running pacstrap and now.

Offline

#10 2012-10-02 16:04:00

headkase
Member
From: Canada
Registered: 2011-12-06
Posts: 1,414
Website

Re: Pacman downloading slowly and signature errors [Solved]

Did you set the hostname in both files:

https://wiki.archlinux.org/index.php/Be … e#Hostname

/etc/hostname

Needs to just contain one line, the hostname.

/etc/hosts

You need to edit two of the lines to the exact same text string you put in /etc/hostname

My /etc/hostname:

Jeremiah

My /etc/hosts:

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	Jeremiah	localhost
::1		Jeremiah	localhost

# End of file

If those three different text entries do not exactly match then you will have network troubles.


We all make choices, but in the end, our choices make us.

Offline

#11 2012-10-02 16:15:43

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

Yes, both files are configured correctly.

Also, I forgot to post this earlier, but there's also an error that says:

GPGME error: No data

Offline

#12 2012-10-02 20:37:17

TKing
Member
Registered: 2012-10-01
Posts: 13

Re: Pacman downloading slowly and signature errors [Solved]

Ah, turns out the problem was my network's content filter. I was able to circumvent it by switching my mirrors to FTP.

Last edited by TKing (2012-10-02 20:37:30)

Offline

#13 2012-10-02 20:44:19

headkase
Member
From: Canada
Registered: 2011-12-06
Posts: 1,414
Website

Re: Pacman downloading slowly and signature errors [Solved]

Please edit your first post and add "[Solved]" somewhere in its title.  That lets helpers know they can skip it and also people searching with, say Google, will see it in their results.


We all make choices, but in the end, our choices make us.

Offline

Board footer

Powered by FluxBB