package tftpd-hpa 5.2+20150808-1ubuntu1.16.04.1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tftp-hpa (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I fund this error when I start my computer.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tftpd-hpa 5.2+20150808-
ProcVersionSign
Uname: Linux 4.4.0-62-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
AptOrdering:
tftpd-hpa: Install
tftpd-hpa: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Tue May 2 16:11:50 2017
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 127
InstallationDate: Installed on 2017-01-20 (102 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-
UpgradeStatus: No upgrade log present (probably fresh install)
Hello and thank you for filing this bug report.
By default in 16.04, /etc/default/ tftpd-hpa contains:
# /etc/default/ tftpd-hpa
TFTP_USERNAME= "tftp" "/var/lib/ tftpboot" "--secure"
TFTP_DIRECTORY=
TFTP_ADDRESS=":69"
TFTP_OPTIONS=
The output from DpkgTerminalLog.txt says:
/var/lib/ dpkg/info/ tftpd-hpa. config: 4: / etc / default / tftpd-hpa: TFTP_OPTIONS --- secure -l -c -s: not found
It would appear that you have modified your /etc/default/ tftpd-hpa to include illegal syntax? (specifically secure is a flag not a command).