Wget's screwing me over
It's a horrible thing to say, it's been such a reliable downloader to me for years. Unfortunately, with this latest update, it seems to be screwing me over. Here's an example of its antics during a pacman -Su:
--2014-11-30 22:49:57-- http://delta.archlinux.fr/community/os/i686/community.db.sig
Resolving delta.archlinux.fr (delta.archlinux.fr)... 91.121.141.57
Connecting to delta.archlinux.fr (delta.archlinux.fr)|91.121.141.57|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Type: text/html
Pragma: no-cache
Refresh: 1; URL=http://delta.archlinux.fr/community/os/i686/community.db.sig
Connection: Close
Length: unspecified [text/html]
Saving to: ‘/var/lib/pacman/sync/community.db.sig.part’
/var/lib/pacman/syn [ <=> ] 13 --.-KB/s in 0s
2014-11-30 22:50:38 (485 KB/s) - ‘/var/lib/pacman/sync/community.db.sig.part’ saved [13]
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
error: database 'community' is not valid (invalid or corrupted database (PGP signature))
Inb4: I know why GPG's giving that error, that doesn't need explaining.
For some reason, it'll randomly decide to pretend that the web server doesn't know the content length, and it pretends it got 13 bytes. It's always 13 bytes and it's not the server's fault; it happens across a multitude of servers; from ArchLinux package mirrors to podcasts.
Anyone else getting this from wget of late?
Edited 30 Nov 2014. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 12 · 100% up
- Kind
- Text
- ID
- 2nu2d5
9 comments
Simply put, the mirror is (was?) broken. Arch Linux doesn’t sign the DBs, because currently gpg can’t sign things remotely. It seems to be fixed now though, are you still getting 200s for the sigs?
Getting 200s and empty response bodies for any file was/is intermittent.
Then prod whoever maintains the delta archlinuxfr mirror to fix it.
Deleted before we saved it.
I think the official databases are not signed (and ftp.archlinux.org does indeed not have a signature for
community.db), so I don't really understand why the server is sending a200 OK. Do you use any kind of proxy? Does the same thing happen with other applications as well (curl/your browser/...)?You're right in saying the databases aren't signed. No proxy, doesn't happen with browser, curl seems fine.
Edit: Erhm, wrong comment, sorry bout that.
Deleted before we saved it.