package freeradius-mysql 2.2.8+dfsg-0.1build2 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeradius (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
正在设置 freeradius-mysql (2.2.8+
freeradius.service is not active, cannot reload.
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: 处理软件包 freeradius-mysql (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
freeradius-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: freeradius-mysql 2.2.8+dfsg-
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Aug 21 20:48:28 2016
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2016-06-07 (80 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: freeradius
Title: package freeradius-mysql 2.2.8+dfsg-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
mtime.conffile.
Changed in freeradius (Ubuntu): | |
status: | New → Incomplete |
Hi,
thanks for reporting the bug and making Ubuntu better.
The logs don't hold much more than "8月 27 09:10:54 hostname systemd[1]: freeradius.service: Failed with result 'exit-code'.", but it seems this is due to a configuration issue in your freeradius-mysql - your existing one isn't running properly according to the logs.
While one could say the upgrade path shouldn't fail on not being able to reload the old instance because it is not started - it very likely would still fail for the same reason the old one failed.
I'd ask you to check your logs and config.
If this is an error with the tool failing despite it should please describe your setup and the related changes you made to the config so that one can try to reproduce.