[Bug 1658707] Re: ttf-mscorefonts-installer drop-priv warnings and download errors during install

Nathanaël Naeri (Naël) 1658707 at bugs.launchpad.net
Mon Mar 13 13:28:19 UTC 2017


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

@Patrick: I was asking Timofey, who reports being affected by this bug
with apt-transport-https 1.3.4 on Yakkety. That shouldn't be the case,
and any error that makes it look like it is can be solved away by
removing the partially-downloaded fonts in /var/lib/update-notifier
/package-data-downloads/partial/ and reinstalling ttf-mscorefonts-
installer after updating apt-transport-https to 1.3.4 (Yakkety) or
1.2.19 (Xenial). Cf. bug 1607535's description, section [Fix].

** Changed in: msttcorefonts (Ubuntu)
       Status: Incomplete => Fix Released

** This bug has been marked a duplicate of bug 1607535
   ttf-mscorefonts-installer 3.4+nmu1ubuntu2 fails to install core fonts

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

Title:
  ttf-mscorefonts-installer drop-priv warnings and download errors
  during install

Status in msttcorefonts package in Ubuntu:
  Fix Released

Bug description:
  for several days now, updates that involve updating or re-configuring
  ttf-mscorefonts-installer have thrown warnings.  After looking at my
  apt logs, there appears to be a couple issues.

  First is a warning about not being able to drop privileges... which
  admittedly may be a red herring:

  W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-
  data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcqu
  ire::Run (13: Permission denied)

  Next is a failure to download arial32 from sourceforge which results
  in a full error due to a 400 Return Code:

  
  ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
  [Working]
  [Working]
  [Working]
  [Working]
  [Working]
      Err:1 http://downloads.sourceforge.net/corefonts/arial32.exe  400  Bad request
  [Working]
      W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/arial32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
      E: Failed to fetch https://svwh.dl.sourceforge.net/project/corefonts/the fonts/final/arial32.exe  400  Bad request
      E: Download Failed

  This goes on and completes, however, the warnings always trigger
  annoying popups that could be confusing for users who don't understand
  what's going on (or just annoying for those of us who have to close
  the stinking pop-up box ever time updates are applied (which could be
  daily depending on how users have update manager configured).

  To reporoduce this, I simply did a re-install of ttf-mscorefonts-
  installer and was able to easily reproduce the warnings and errors:

  bladernr at galactica:/var/log/apt$ sudo apt-get install --reinstall ttf-mscorefonts-installer
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
  Need to get 29.5 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 ttf-mscorefonts-installer all 3.4+nmu1ubuntu2 [29.5 kB]
  Fetched 29.5 kB in 0s (37.8 kB/s)                
  Preconfiguring packages ...
  (Reading database ... 380577 files and directories currently installed.)
  Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
  mscorefonts-eula license has already been accepted
  Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ...
  Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
  Processing triggers for update-notifier-common (3.168.3) ...
  ttf-mscorefonts-installer: processing...
  ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
  Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
    400  Bad request
  W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  E: Failed to fetch https://svwh.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe  400  Bad request

  E: Download Failed
  Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...

  This appears to be an upstream issue, however, the drop-privileges
  issue is bothersome as well.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ttf-mscorefonts-installer 3.4+nmu1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-51.72-generic 4.4.30
  Uname: Linux 4.4.0-51-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jan 23 10:08:17 2017
  InstallationDate: Installed on 2016-02-11 (346 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
  PackageArchitecture: all
  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/1658707/+subscriptions



More information about the foundations-bugs mailing list