You are not logged in.
Pages: 1
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
Does it happen with any mirror? Are you able to successfully download files manually using curl or wget?
Offline
I haven't tried that. How do I do that?
Offline
Could this be netsweeper blocking a required port?
Offline
Do what: change mirrors or download manually?
For the former just edit your mirrorlist and change the mirror that appears first. For the latter:
Offline
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
So, wait, I have to do that for all 129 packages?!
Offline
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
Right, downloading manually worked fine. Thanks for the help too.
Offline
So did you try changing pacman's mirrors and see if still gives the same messages?
Offline
Yeah, same stuff...
Offline
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
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
I am the only one in the class that cares about Linux : P
No one else has tried installing it.
Offline
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
I will check.
Offline
Pages: 1