package tftpd-hpa 5.2+20150808-1ubuntu4 failed to install/upgrade: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tftp-hpa (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
sudo apt install tftpd-hpa
Reading package lists... Done
Building dependency tree
Reading state information... Done
tftpd-hpa is already the newest version (5.2+20150808-
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up tftpd-hpa (5.2+20150808-
tftpd user (tftp) already exists, doing nothing.
tftpd-hpa directory (/tftpboot) already exists, doing nothing.
Job for tftpd-hpa.service failed because the control process exited with error code.
See "systemctl status tftpd-hpa.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tftpd-hpa, action "start" failed.
● tftpd-hpa.service - LSB: HPA's tftp server
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since Fri 2020-06-19 12:29:20 EEST; 4ms ago
Docs: man:systemd-
Process: 12463 ExecStart=
Jun 19 12:29:20 atudor-
Jun 19 12:29:20 atudor-
Jun 19 12:29:20 atudor-
71/OSERR
Jun 19 12:29:20 atudor-
Jun 19 12:29:20 atudor-
dpkg: error processing package tftpd-hpa (--configure):
installed tftpd-hpa package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: tftpd-hpa 5.2+20150808-
ProcVersionSign
Uname: Linux 5.4.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
AptOrdering:
tftpd:amd64: Remove
tftpd-hpa:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Fri Jun 19 11:45:49 2020
ErrorMessage: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-06-05 (13 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
It looks like this problem is happening because of some problem during the installation of tftpd and/or tftpd-hpa. I can see in your DpkgHistoryLog.txt file that you installed tftpd-hpa, then installed tftpd (which conflicts with tftpd-hpa), then reinstalled tftpd-hpa (which conflicts with tftpd). There is likely some leftover files from one of these packages with is interfering with the other, and that is causing the tftpd-hpa installation to fail.
My advice is for you to "apt purge tftpd-hpa tftpd", and then remove any configuration file(s) that belong to these packages and may be left installed. Then, if you try to "apt install tftpd-hpa", things should work normally.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://