[Bug 1656776] Re: should depend on apt-transport-https (was: fails to download andale32.exe, spams my cron every night)

Marius Gedminas marius at gedmin.as
Tue Jan 17 14:50:56 UTC 2017


This is a libvirt virtual machine that I've installed with ubuntu-vm-
builder on a 16.04 LTS host.  The full command, if you're interested,
was


    ubuntu-vm-builder kvm xenial                     \
    --libvirt qemu:///system                         \
    --tmpfs=2048                                     \
    --rootsize 20480                                 \
    --ssh-key=/root/.ssh/authorized_keys             \
    --ssh-user-key=/root/.ssh/authorized_keys        \
    --lock-user                                      \
    --suite xenial                                   \
    --components main,restricted,universe,multiverse \
    --addpkg openssh-server                          \
    --addpkg avahi-daemon                            \
    --addpkg vim                                     \
    --addpkg git                                     \
    --addpkg acpid                                   \
    --addpkg unattended-upgrades                     \
    --addpkg command-not-found                       \
    --addpkg software-properties-common              \
    --addpkg openjdk-8-jre-headless                  \
    --addpkg htop                                    \
    --addpkg strace                                  \
    --addpkg linux-image-generic                     \
    --hostname xenial64                              \
    --domain lan                                     \
    --bridge br0                                     \
    --mem 1024 --cpus 2

etckeeper tells me I've installed ttf-mscorefonts-installer on Aug 18,
2016.  At that time I was getting nightly cron errors that looked like
this:

    /etc/cron.daily/update-notifier-common:
    Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
      403  Forbidden
    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 http://downloads.sourceforge.net/corefonts/andale32.exe  403  Forbidden

    E: Download Failed
    ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe

because my local apt proxy was denying sourceforge downloads.  When I
eventually figured that out and added the right domains to /etc/squid-
deb-proxy/mirror-dstdomain.acl on the proxy host, the cron script
succeeded downloading and extracting the font files.  This was on Aug
23, 2016.

Then I have an unattended-upgrades log from 2016-11-04 that upgraded
update-notifier-common, which also ran the downloads successfully.

And then I have an unattended-upgrades log from 2017-01-06 that upgraded
update-notifier-common again, and this one failed with

    E: The method driver /usr/lib/apt/methods/https could not be found.
    N: Is the package apt-transport-https installed?

and since then every night the cron script with the original message.

(I was mistaken about the dates in my original report -- I thought I
left all of the cron errors in my inbox, but apparently I'd already
saved the errors from Jan 6 through 11 in my mail archive.)


I'm fine with this bug being closed as wontfix, since I used a non-standard Ubuntu installation method.

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

Title:
  should depend on apt-transport-https (was: fails to download
  andale32.exe, spams my cron every night)

Status in msttcorefonts package in Ubuntu:
  New

Bug description:
  Every night since January 12 2017 I'm getting an error like this from
  cron:

      From: Cron Daemon <root at xenial64.lan>
      To: root at xenial64.lan
      Subject: Cron <root at xenial64> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
      Date: Thu, 12 Jan 2017 04:25:33 +0000 (UTC)

      /etc/cron.daily/update-notifier-common:
      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: The method driver /usr/lib/apt/methods/https could not be found.
      E: Download Failed
      ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
      ttf-mscorefonts-installer: processing...

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ttf-mscorefonts-installer 3.4+nmu1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
  Uname: Linux 4.4.0-59-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.4
  Architecture: amd64
  Date: Mon Jan 16 10:01:49 2017
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
         Users in the 'systemd-journal' group can see all messages. Pass -q to
         turn off this notice.
   No journal files were opened due to insufficient permissions.
  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/1656776/+subscriptions



More information about the foundations-bugs mailing list