package tftpd-hpa 5.2+20150808-1ubuntu3 failed to install/upgrade: installed tftpd-hpa package post-installation script subprocess returned error exit status 1

Bug #1809957 reported by despres laurent
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tftp-hpa (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Voici, le retour avec les erreurs.

● tftpd-hpa.service - LSB: HPA's tftp server
   Loaded: loaded (/etc/init.d/tftpd-hpa; generated)
   Active: failed (Result: exit-code) since Fri 2018-12-28 11:16:29 +04; 23ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3720 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=71)

déc. 28 11:16:29 levieux systemd[1]: Starting LSB: HPA's tftp server...
déc. 28 11:16:29 levieux tftpd-hpa[3720]: * Starting HPA's tftpd in.tftpd
déc. 28 11:16:29 levieux systemd[1]: tftpd-hpa.service: Control process exited, code=exited status=71
déc. 28 11:16:29 levieux systemd[1]: tftpd-hpa.service: Failed with result 'exit-code'.
déc. 28 11:16:29 levieux systemd[1]: Failed to start LSB: HPA's tftp server.
dpkg: erreur de traitement du paquet tftpd-hpa (--configure) :
 installed tftpd-hpa package post-installation script subprocess returned error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: tftpd-hpa 5.2+20150808-1ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic i686
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: i386
Date: Fri Dec 28 11:16:29 2018
ErrorMessage: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-11-27 (31 days ago)
InstallationMedia: Lubuntu 18.04.1 LTS "Bionic Beaver" - Release i386 (20180725)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-1ubuntu3 failed to install/upgrade: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
despres laurent (lotik) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tftp-hpa (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

From your log:

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.d/tftpd-hpa; generated)
   Active: failed (Result: exit-code) since Fri 2018-12-28 11:16:29 +04; 23ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3720 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=71)

That doesn't tell much but that the job failed.
As already shown in that prompt you'd need to check why the service failed.
In most cases that is a configuration issue on the system, that once fixed allows proper installs/upgrades again.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

On upgrading a service this service has to be restarted to pick up the fixes.
Rather rarely a real issue occurs that the newer version does e.g. fail with the formerly working configuration.
But most of the time what happens is, that a service was installed, but stays unconfigured or experimented with but left in a broken state.

Now on any update of the related packages that service has to be restarted, but since its config is incomplete/faulty it fails to restart.
Therefore the update of that package has to consider itself incomplete.

Depending on your particular case there are two solutions:
- either remove the offending package if you don't want to continue using it.
- Or if you do want to keep it please fix the configuration so that re-starting the service will work.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, 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.

Changed in tftp-hpa (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tftp-hpa (Ubuntu) because there has been no activity for 60 days.]

Changed in tftp-hpa (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.