[Bug 1645253] Re: Download script fails

Leow Kah Man 1645253 at bugs.launchpad.net
Tue Jan 2 13:47:50 UTC 2018


*** This bug is a duplicate of bug 1607535 ***
    https://bugs.launchpad.net/bugs/1607535

I have a workaround to propose, could not post on askubuntu because I had no reputation score.
Before I get flamed, just to reiterate the word **workaround**.

Firstly, the .deb installer on Ubuntu is just a live installer that
pulls EXE files from sourceforge.net, we know the files are at
https://sourceforge.net/projects/corefonts/files/the%20fonts/final/.

What you need to do is to download all of them, put it into a <whatever>/corefonts/ folder.
Host a simple web server on <whatever>, the simplest is starting up a NodeJS web server.
I had an active Apache instance that I could use, so I did not need Node.

Next, we need to add a temporary host entry into /etc/hosts file:
<ip address of your server> downloads.sourceforge.net

Then, we need to temporarily allow APT to accept an invalid SSL cert,
which I followed from https://unix.stackexchange.com/questions/317695
/is-it-possible-to-have-apt-accept-an-invalid-certificate

Cleanup the previously failed installation just to be sure
sudo apt-get purge ttf-mscorefonts-installer

And then reinstall:
sudo apt-get install ttf-mscorefonts-installer

Once done, naturally undo the temporary steps, and you are good to go.

IMHO, this way is better than other suggestions because it properly
marks the package as installed neither needing to "apt mark hold" nor
using debian repository .deb installer.

Hope this helps.

-- 
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/1645253

Title:
  Download script fails

Status in msttcorefonts package in Ubuntu:
  Fix Released

Bug description:
  Hello,

  Trying to figure out a font issue, I removed ttf-mscorefonts-installer and reinstalled it, but fonts download script fails for at least 10 days. The terminal window always closes after a few seconds , without completing.
  Here is a screenshot I made right before it closes. There is errors.
  https://framapic.org/86c1SgxnpcIV/p3P5wuhMVJV6.png

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ttf-mscorefonts-installer 3.4+nmu1ubuntu2
  Uname: Linux 4.6.4-040604-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Nov 28 10:02:54 2016
  InstallationDate: Installed on 2016-04-23 (218 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=fr_FR
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: msttcorefonts
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1645253/+subscriptions



More information about the foundations-bugs mailing list