You are not logged in.

#1 2013-01-28 15:48:42

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Strange issue when downloading files

So, on my home computer, I was able to set up arch with relative ease. However, installing it on a computer in my school in a computer engineering class gives me tons of errors like this:
error: archlinux-keyring-20130127-1-any.pkg.tar.xz appears to be truncated: 31219/0 bytes
error: failed retrieving file 'archlinux-keyring-20130127-1-any.pkg.tar.xz' from mirror.de.leaseweb.net : HTTP server doesn't seem to support byte ranges. Cannot resume.

What is wrong? More importantly, how can I fix this?

Thanks for your help!

Offline

#2 2013-01-28 16:00:27

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Strange issue when downloading files

Does it happen with any mirror? Are you able to successfully download files manually using curl or wget?

Offline

#3 2013-01-28 16:12:41

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

I haven't tried that. How do I do that?

Offline

#4 2013-01-28 16:13:52

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

Could this be netsweeper blocking a required port?

Offline

#5 2013-01-28 16:15:58

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Strange issue when downloading files

Do what: change mirrors or download manually?

For the former just edit your mirrorlist and change the mirror that appears first. For the latter:

http://www.thegeekstuff.com/2012/07/wget-curl/

Offline

#6 2013-01-28 16:24:33

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

Also, all the files, when they are being installed say that they are an unknown trust. When I try resetting the keys by running rm -rf /etc/pacman.d/gnupg and then doing: pacman-key --init. It says I cannot remove the gnupg file.

Offline

#7 2013-01-28 16:29:20

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

So, wait, I have to do that for all 129 packages?!

Offline

#8 2013-01-28 18:39:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Strange issue when downloading files

I just made the suggestion of using wget/curl to test your connection and if you can download a package without problem. I'm not expecting you to download all your packages manually.

As for your keys, remember that /etc/pacman.d/gnupg/ is a directory not a single file.

Offline

#9 2013-01-28 21:24:54

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

Right, downloading manually worked fine. Thanks for the help too.

Offline

#10 2013-01-28 21:29:16

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Strange issue when downloading files

So did you try changing pacman's mirrors and see if still gives the same messages?

Offline

#11 2013-01-28 21:45:41

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

Yeah, same stuff...

Offline

#12 2013-01-28 21:47:18

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

It seems to be trying different mirrors when it installs because I get messages that it failed from mirror.us.leaseweb.net, mirror.ln.leaseweb.net, and mirror.de.leaseweb.net. Could my school's internet filter be causing this?

Offline

#13 2013-01-29 23:26:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: Strange issue when downloading files

If you are installing it as part of a class, do other people have the same problem?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2013-02-07 14:38:38

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

I am the only one in the class that cares about Linux : P
No one else has tried installing it.

Offline

#15 2013-02-07 15:51:42

aesiris
Member
Registered: 2012-02-25
Posts: 97

Re: Strange issue when downloading files

In the OP you had this error: file appears to be truncated.

I suspect that pacman was hitting the login page for the university connection.

Does "file /var/cache/pacman/pkg/archlinux-keyring-20130127-1-any.pkg.tar.xz" returs "XZ compressed data" or some form of HTML?

Offline

#16 2013-02-12 01:54:34

treeman1111
Member
Registered: 2013-01-28
Posts: 109

Re: Strange issue when downloading files

I will check.

Offline

Board footer

Powered by FluxBB