[Bug 1371783] Re: [server] package ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to install/upgrade
Andrew Elia
1371783 at bugs.launchpad.net
Sun Nov 20 15:59:15 UTC 2016
I've pulled the package apart because I wasn't having much luck with any
of the workarounds here. The issue seems to stem from the fact that
Sourceforge redirects to another URL to force the use of a mirror.
Because it appears that libcurl isn't maintaining cookies between
requests, the download of each font is subject to a potential change of
mirror. This seems to confuse the process and ends up with a combination
of spurious errors such as HTTP range checks, HTTPS not being compiled
in, and hash mismatches. From what I can see, if a cookie could be
maintained between requests, this would potentially solve the issue.
Potentially.
The solution which ultimately worked for me was to pull the following
file out of the deb archive...
/usr/share/package-data-downloads/ttf-mscorefonts-installer
...and bypass the Sourceforge address completely. For example, change
the andale32.exe URL to the following:
http://ftp.mirrorservice.org/sites/downloads.sourceforge.net/c/co/corefonts/the
fonts/final/andale32.exe
Once the deb was rebuilt, the installation worked consistently every
time. Clearly, this is a bodge which works for me in my location but it
does appear to prove where the issue is.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to msttcorefonts in Ubuntu.
https://bugs.launchpad.net/bugs/1371783
Title:
[server] package ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to
install/upgrade
Status in msttcorefonts package in Ubuntu:
Confirmed
Bug description:
I've been trying to upgrade/update 'ttf-mscorefonts-installer' for the
past week, but the install/upgrade fails with a 'andale32.exe Hash
Sum mismatch" error:
<SNIP>
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe
Fetched 552 B in 11s (47 B/s)
E: Failed to fetch
http://downloads.sourceforge.net/corefonts/andale32.exe Hash Sum
mismatch
E: Download Failed
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
<SNIP>
'lsb_release -rd':
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10
apt-cache policy ttf-mscorefonts-installer
ttf-mscorefonts-installer:
Installed: 3.4+nmu1ubuntu2
Candidate: 3.4+nmu1ubuntu2
Version table:
*** 3.4+nmu1ubuntu2 0
500 http://mirror.hmc.edu/ubuntu/ utopic/multiverse i386 Packages
100 /var/lib/dpkg/status
I expect it to complete the install/upgrade, but it constantly chokes
on 'andale32.exe', and generates a notification after each boot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/+subscriptions
More information about the foundations-bugs
mailing list