/etc/cron.monthly/ieee-data fails every month on redirected URLS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ieee-data (Ubuntu) |
Fix Released
|
Low
|
James Page |
Bug Description
the script fails and mails the following:
run-parts: /etc/cron.
the following URLS are giving a 302 redirect:
- http://
- http://
1) # lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
2) # apt-cache policy ieee-data
ieee-data:
Installed: 20150531.1
Candidate: 20150531.1
Version table:
*** 20150531.1 500
500 http://
500 http://
100 /var/lib/
3) it should have grabbed the right urls or it should follow the redirects by using `curl -L`, but in later ubuntu versions this script is completely overhauled, so a backport might be more appropriate.
4) it fails with an exit code 1 and mails once for every server you have.
update:
I just assumed we didn't have wget on the system and it would use curl.
But actually, it uses wget, and it still fails.
Not sure why it fails now, but the point about the updated version doing it totally different still stands.