ttf-mscorefonts-installer fails because Redirection from https to http is forbidden

Bug #1713615 reported by Graham Inggs on 2017-08-29
170
This bug affects 38 people
Affects Status Importance Assigned to Milestone
msttcorefonts (Ubuntu)
High
Unassigned
ubuntu-restricted-extras (Ubuntu)
Undecided
Unassigned

Bug Description

This started soon after upgrading to Artful.
The logs below show the failure is not always in the same file.

Preparing to unpack .../ttf-mscorefonts-installer_3.6ubuntu1_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.6ubuntu1) over (3.6ubuntu1) ...
Processing triggers for update-notifier-common (3.184) ...

ttf-mscorefonts-installer: processing...

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
Fetched 198 kB in 10s (19.6 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Get:1 http://downloads.sourceforge.net/corefonts/arial32.exe [554 kB]
Fetched 554 kB in 8s (66.4 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
Get:1 http://downloads.sourceforge.net/corefonts/arialb32.exe [168 kB]
Fetched 168 kB in 5s (31.0 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
Get:1 http://downloads.sourceforge.net/corefonts/comic32.exe [246 kB]
Fetched 246 kB in 6s (40.1 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
Get:1 http://downloads.sourceforge.net/corefonts/courie32.exe [646 kB]
Fetched 646 kB in 12s (51.9 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
Get:1 http://downloads.sourceforge.net/corefonts/georgi32.exe [392 kB]
Fetched 392 kB in 9s (40.5 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
Err:1 http://downloads.sourceforge.net/corefonts/impact32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net' is forbidden [IP: 200.236.31.2 443]
E: Failed to fetch https://ufpr.dl.sourceforge.net/project/corefonts/the fonts/final/impact32.exe Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net' is forbidden [IP: 200.236.31.2 443]
E: Download Failed

...

Preparing to unpack .../ttf-mscorefonts-installer_3.6ubuntu1_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.6ubuntu1) over (3.6ubuntu1) ...
Processing triggers for update-notifier-common (3.184) ...

ttf-mscorefonts-installer: processing...

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
Fetched 198 kB in 5s (36.6 kB/s)

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net' is forbidden [IP: 200.236.31.2 443]
E: Failed to fetch https://ufpr.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net' is forbidden [IP: 200.236.31.2 443]
E: Download Failed

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ttf-mscorefonts-installer 3.6ubuntu1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.6-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Tue Aug 29 07:11:50 2017
InstallationDate: Installed on 2010-04-28 (2679 days ago)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
SourcePackage: msttcorefonts
UpgradeStatus: Upgraded to artful on 2017-08-28 (0 days ago)

Graham Inggs (ginggs) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in msttcorefonts (Ubuntu):
status: New → Confirmed

This is a bug in Debian too, I think it should be fixed there

Changed in msttcorefonts (Ubuntu):
importance: Undecided → High
Norbert (asterix52) wrote :

The last working version was this:

http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/

I think it fails with this change:

msttcorefonts (3.6ubuntu1) artful; urgency=medium

  * Merge from Debian Sid. Remaining changes:

-> - Ubuntu preinst and postrm scripts have deltas.

    - Source the debconf confmodule before doing anything else in the preinst.
    - Move #DEBHELPER# substitution before preinst code that might exit.
    - Migrate to use an update-notifier hook, so that package data can be
      handled asynchronously and not cause install failures on network
      problems.
    - Add missing pre-depends for use of debconf in preinst.
    - Convert to dh(1).
    - Skip race between update-notifier and update-ms-fonts trying to delete
      the same files from the same locations.

 -- Simon Quigley <email address hidden> Wed, 26 Jul 2017 22:02:46 -0500

Graham Inggs (ginggs) wrote :

It worked fine for me on a different internet connection.

Dan MacDonald (allcoms) wrote :

I hit this bug today under Ubuntu MATE 17.10 x64.

The workaround for me was:

wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb

Norbert (asterix52) wrote :

Hello Dan,

additional you can set the older version to hold:

sudo apt-mark hold ttf-mscorefonts-installer

That prevents further updates.

Gannet (ken20001) wrote :

package from debian repo 3.6_all works fine, but this, 3.6ubuntu2, is crap and it is not working.

Markus Frosch (mf1.) wrote :

Issue still exists. Tried also with 3.6ubuntu2

Nenad (uxbal) wrote :

Seems to work on 18.04 for the past couple of days.

Jiri Grönroos (jiri-gronroos) wrote :

Still broken on up-to-date (2nd of April 2018) 18.04 installation:

ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=vorboss.dl.sourceforge.net' is forbidden [IP: 5.10.152.194 443]
E: Failed to fetch https://vorboss.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=vorboss.dl.sourceforge.net' is forbidden [IP: 5.10.152.194 443]

Package: ttf-mscorefonts-installer
Architecture: all
Version: 3.6ubuntu2
Multi-Arch: foreign
Priority: optional
Section: multiverse/x11
Source: msttcorefonts
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Thijs Kinkhorst <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 92
Provides: msttcorefonts
Pre-Depends: debconf (>= 0.5) | debconf-2.0
Depends: cabextract, xfonts-utils, update-notifier-common (>= 0.119ubuntu2)
Recommends: fonts-liberation
Filename: pool/multiverse/m/msttcorefonts/ttf-mscorefonts-installer_3.6ubuntu2_all.deb
Size: 27560
MD5sum: 3eb7949f417e98687dfcbeaf3b161485
SHA1: 00e05594c32666953c0a045aee8ac747a1c5f68f
SHA256: 3013e68e8e1900e02e135bffde03e1ff73de09effa748146f421bb7d00255ce2
Description-en: Installer for Microsoft TrueType core fonts
Description-md5: 3cf2bbaf676bcd51633633514c88751a

summary: - Fonts fail to download
+ ttf-mscorefonts-installer fails because Redirection from https to http
+ is forbidden

I'm seeing this issue on the latest up-to-date Ubuntu 18.04 as of May 4th, 2018:

gbutler@gbutler-Oryx-Pro:~/Rust/rfcs/text$ sudo apt install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.6 kB of archives.
After this operation, 94.2 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/multiverse amd64 ttf-mscorefonts-installer all 3.6ubuntu2 [27.6 kB]
Fetched 27.6 kB in 0s (143 kB/s)
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts-installer.
(Reading database ... 286381 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.6ubuntu2_all.deb ...
Unpacking ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for update-notifier-common (3.192) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Get:1 http://downloads.sourceforge.net/corefonts/andale32.exe [198 kB]
Fetched 198 kB in 1s (188 kB/s)
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe
  Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=iweb.dl.sourceforge.net' is forbidden [IP: 192.175.120.182 443]
E: Failed to fetch https://iweb.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe Redirection from https to 'http://downloads.sourceforge.net/mirrorproblem?failedmirror=iweb.dl.sourceforge.net' is forbidden [IP: 192.175.120.182 443]
E: Download Failed
Setting up ttf-mscorefonts-installer (3.6ubuntu2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...

One thing I noticed, is that it isn't consistent on which font it fails. It seems to be related to different mirrors and depending on which mirror is chosen it succeeds for fails. I'm thinking that the built-in list of mirrors in the package has a bunch of obsolete failing mirrors perhaps?

I just tried it again and after several attempts, it eventually worked. I think the issue is with mirrors at SourceForge and it is an intermittent problem.

Can anybody please report the bug in Debian?

Graham Inggs (ginggs) wrote :

I've just tried again now after upgrading to 18.04 and the problem still occurs.

As suggested in LP: #1767748, I tried 3.7 from Debian and it installed and download all the fonts successfully.

Kevin Dalley (nereocystis) wrote :

Copying comment from LP: #1767748, which is a work-around for this bug. Copying from since this is the main bug, and the other is a duplicate of this bug.

Had the same after upgrade from 16.04 to 18.04. According instructions at https://ubuntuforums.org/showthread.php?t=2349320 installed ttf-mscorefonts-installer version 3.7 from https://packages.debian.org/fi/sid/all/ttf-mscorefonts-installer/download and now waiting if it helps.

Eric Carroll (eric-carroll) wrote :

To consolidate the workaround to this ticket:

sudo apt purge ttf-mscorefonts-installer
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb -P ~/Downloads
sudo apt install ~/Downloads/ttf-mscorefonts-installer_3.7_all.deb

This resolved the issue for me.

Owen Savill (osavill) wrote :

Not easy to do if an upgrade fails with 1341 packages left to update! Can't this just be fixed?!

Lastique (andysem) wrote :

Happens when upgrading from Kubuntu 18.04 to 18.10.

This bug is still present. Just upgraded from 18.04 to 18.10. Fixed by the proposed solution above.

Robert (birmingham-spider) wrote :

I started experiencing this bug when I upgraded 16.04 LTS to 18.04 LTS a few days ago, following a month or so of nagging by the software updater.

I also had a problem with this package during the upgrade process. A graphical box was popped up asking me if I agreed with the license terms, but there was no means of accepting or declining, just a button saying (IIRC) "Forward". I have since tried re-installing the package using the command line, which displayed an ncurses dialog box that did have the option to accept or decline.

Chris Rainey (ckrzen) wrote :

#17 works on clean install of 18.10.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-restricted-extras (Ubuntu):
status: New → Confirmed
Krister (thekswenson) wrote :

#17 works. In order to keep the package manager from updating the package to the broken version it helps to run "sudo apt-mark hold ttf-mscorefonts-installer" after.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers