The bug of which this one was previously marked a duplicate (I unmarked
it) was fixed months ago, and yet I'm still getting this email from
cron.daily every single day:

>/etc/cron.daily/update-notifier-common:
>ttf-mscorefonts-installer: processing...

The problem at this point seems to have nothing whatsoever to do with
spaces in URLs or anything like that. Rather, the problem is that when
the package ttf-mscorefonts-installer is installed non-interactively,
the license is not accepted, and the downloader for the package silently
fails to download any fonts if the license hasn't been accepted.

Note this stanza at the end of /usr/share/package-data-downloads/ttf-
mscorefonts-installer:

>Script: /usr/lib/msttcorefonts/update-ms-fonts
>Should-Download: msttcorefonts/accepted-mscorefonts-eula

On my system, msttcorefonts/accepted-mscorefonts-eula is false, because
the package was installed non-interactively.

The code which silently refuses to download fonts if that setting is
false is in /usr/lib/update-notifier/package-data-downloader:

>                if 'Should-Download' in para:
>                    db = debconf.DebconfCommunicator('update-notifier')
>                    try:
>                        should = db.get(para['Should-Download'])
>                        if should == "false":
>                            # Do nothing with this file.                       
>  
>                            break
>                    except:
>                        pass
>                    finally:
>                        db.shutdown()

Furthermore, maybe I'm missing something, but I can't find any supported
way of accepting this license once the package has been installed,
because the code that prompts the user to accept the license is in
/var/lib/dpkg/info/ttf-mscorefonts-installer.preinst, and as far as I
can tell, dpkg-reconfigure doesn't rerun preinst files.

** This bug is no longer a duplicate of bug 1651923
   apt https method decodes redirect locations and sends them to the 
destination undecoded.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1655431

Title:
  apt-helper / update-notifier / ttf-mscorefonts-installer download
  failure (regression)

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to