package ntp 1:4.2.8p15+dfsg-1ubuntu2 failed to install/upgrade: installed ntp package post-installation script subprocess returned error exit status 1. That was during upgrade from Ubuntu 20.04 LTS to Ubuntu 22.4 LTS

Bug #2056576 reported by Paulo Renan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntp (Ubuntu)
New
Undecided
Unassigned

Bug Description

That was during upgrade from Ubuntu 20.04 LTS to Ubuntu 22.4 LTS

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: ntp 1:4.2.8p15+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-173.191-generic 5.4.265
Uname: Linux 5.4.0-173-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: aws
CloudName: aws
CloudPlatform: ec2
CloudRegion: eu-west-1
CloudSubPlatform: metadata (http://169.254.169.254)
Date: Fri Mar 8 15:47:51 2024
Ec2AMI: ami-08d173829f9c8b08b
Ec2AMIManifest: (unknown)
Ec2Architecture: x86_64
Ec2AvailabilityZone: eu-west-1c
Ec2Imageid: ami-08d173829f9c8b08b
Ec2InstanceType: t2.large
Ec2Instancetype: t2.large
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
Ec2Region: eu-west-1
ErrorMessage: installed ntp package post-installation script subprocess returned error exit status 1
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-173-generic root=UUID=877c5daf-9427-49e3-8656-437c3f30fc84 ro console=tty1 console=ttyS0
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt 2.4.11
SourcePackage: ntp
Title: package ntp 1:4.2.8p15+dfsg-1ubuntu2 failed to install/upgrade: installed ntp package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2024-03-08 (0 days ago)

Revision history for this message
Paulo Renan (paulo-squint) wrote :
Revision history for this message
Paulo Renan (paulo-squint) wrote :

After the error reported, the upgrade process gave the following output

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Setting up ntp (1:4.2.8p15+dfsg-1ubuntu2) ...
ntp-systemd-netif.service is a disabled or a static unit not running, not starting it.
insserv: warning: current stop runlevel(s) (1) of script `ntp' overrides LSB defaults (empty).
Job for ntp.service failed because the control process exited with error code.
See "systemctl status ntp.service" and "journalctl -xeu ntp.service" for details.
invoke-rc.d: initscript ntp, action "start" failed.
× ntp.service - Network Time Service
     Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-03-08 15:57:10 UTC; 6ms ago
       Docs: man:ntpd(8)
    Process: 98959 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper (code=exited, status=1/FAILURE)

Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: proto: precision = 0.625 usec (-21)
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: basedate set to 2022-02-04
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: gps base set to 2022-02-06 (week 2196)
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): good hash signature
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): loaded, expire=2024-12-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98984]: unable to bind to wildcard address :: - another process may be running - EXITING
Mar 08 15:57:10 ip-172-31-35-186 ntpd[98959]: daemon child exited with code 1
Mar 08 15:57:10 ip-172-31-35-186 systemd[1]: ntp.service: Control process exited, code=exited, status=1/FAILURE
Mar 08 15:57:10 ip-172-31-35-186 systemd[1]: ntp.service: Failed with result 'exit-code'.
Mar 08 15:57:10 ip-172-31-35-186 systemd[1]: Failed to start Network Time Service.
invoke-rc.d: release upgrade in progress, error is not fatal

Upgrade complete

The upgrade has completed but there were errors during the upgrade
process.

tags: removed: need-duplicate-check
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.