Unattended upgrade fails with "Error in function"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is the cron email I received today:
From: root <email address hidden>
To: <email address hidden>
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-
Package installation log:
Error in function:
Unattended-
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,
Packages that will be upgraded: ca-certificates libidn11 libnss3 libnss3-nssdb
Writing dpkg log to '/var/log/
Installing the upgrades failed!
error message: 'installArchives() failed'
dpkg returned a error! See '/var/log/
Packages that are auto removed: ''
Packages auto-removed
The named log file, var/log/
Error in function:
That's it.
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.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unattended-upgrades 0.82.1ubuntu2.5
Uname: Linux 2.6.32-042stab124.2 x86_64
ApportVersion: 2.14.1-0ubuntu3.25
Architecture: amd64
Date: Wed Oct 4 18:54:54 2017
PackageArchitec
ProcEnviron:
LC_CTYPE=
TERM=xterm-
PATH=(custom, no user)
LANG=lt_LT.UTF-8
SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)
This happened again this morning, on a different VPS, while trying to upgrade curl libcurl3 libcurl3-gnutls linux-libc-dev.
My guess that this had something to do with ca-certificates upgade printing non-ASCII strings to the output was proven wrong.