The thing is, whenever I run it interactively over ssh, unattended-
upgrade succeeds. It's only the cron job that fails.
If there's no separate config file, I'll edit /etc/cron.daily/apt
directly. (This server is still on Ubuntu 14.04 LTS).
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Unattended upgrade fails with "Error in function"
Status in unattended-upgrades package in Ubuntu:
This is the cron email I received today:
From: root <r...@iv-4.pov.lt>
Subject: unattended-upgrades result for 'iv-4.pov.lt': 'False'
Date: Wed, 4 Oct 2017 03:40:19 +0300 (EEST)
Unattended upgrade returned: False
Packages that attempted to upgrade:
ca-certificates libidn11 libnss3 libnss3-nssdb
Package installation log:
Error in function:
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=trusty-security',
Packages that will be upgraded: ca-certificates libidn11 libnss3
Writing dpkg log to
Installing the upgrades failed!
error message: 'installArchives() failed'
dpkg returned a error! See
Packages that are auto removed: ''
The named log file, var/log/unattended-upgrades/unattended-upgrades-
dpkg_2017-10-04_03:40:17.411277.log contains only this:
Error in function:
Now given that ca-certificates is involved, I suspect this may be
related to non-ASCII filenames (see bug 1554365), but unlike that bug,
here the upgrade fails instead of succeeding, and the actual error is
not shown anywhere.
DistroRelease: Ubuntu 14.04
Package: unattended-upgrades 0.82.1ubuntu2.5
Uname: Linux 2.6.32-042stab124.2 x86_64
Date: Wed Oct 4 18:54:54 2017
PATH=(custom, no user)
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~touch-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp