package ntp 1:4.2.4p6+dfsg-1ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Bug #495904 reported by Thomas Nemeth

This bug report was converted into a question: question #104557: package ntp 1:4.2.4p6+dfsg-1ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127.

26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ntp (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: ntp

Here is the english version of the error message :

------8<-------CUT-HERE-----------------------------------------------------------------
ubuntu@ubuntu:~/Desktop$ LC_ALL=C sudo apt-get install ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
ntp is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up ntp (1:4.2.4p6+dfsg-1ubuntu5.1) ...
 * Starting NTP server ntpd /usr/sbin/ntpd: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
                                                                                      [fail]
invoke-rc.d: initscript ntp, action "start" failed.
dpkg: error processing ntp (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 ntp
E: Sub-process /usr/bin/dpkg returned an error code (1)
------8<-------CUT-HERE-----------------------------------------------------------------

It seems that the libm library is not found by the installation process. But...
ubuntu@ubuntu:~/Desktop$ locate libm | grep .so
/lib/libm-2.10.1.so
/lib/libm.so.6

And also:
ubuntu@ubuntu:~/Desktop$ sudo ldconfig -v | grep libm-
 libm.so.6 -> libm-2.10.1.so
 libm.so.6 -> libm-2.10.1.so

There's more to the problem:
ubuntu@ubuntu:~/Desktop$ ldd /usr/sbin/ntpd
 linux-gate.so.1 => (0x00574000)
 libm.so.6 => not found
 libcrypto.so.0.9.8 => not found
 libcap.so.2 => not found
 libc.so.6 => not found

ProblemType: Package
AptOrdering:
 ntp: Install
 ntp: Configure
Architecture: i386
Date: Sat Dec 12 13:26:05 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: ntp 1:4.2.4p6+dfsg-1ubuntu5.1
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: ntp
Title: package ntp 1:4.2.4p6+dfsg-1ubuntu5.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Thomas Nemeth (tnemeth) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

It looks like you have bigger problems here. Are you running this on a usb drive or something? Can you try the following on the command line:

sudo ldconfig -v

Thanks
chuck

Changed in ntp (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Thomas Nemeth (tnemeth) wrote : Re: [Bug 495904] Re: package ntp 1:4.2.4p6+dfsg-1ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

----- "Chuck Short" <email address hidden> wrote :

> It looks like you have bigger problems here. Are you running this on
> a usb drive or something?

    Indeed, it's a usb drive. A Kingston 8GB usb key. I always use it
    to test distros on my computers without burning a CD in order to
    test how well my hardware is supported.

> Can you try the following on the command
> line:
>
> sudo ldconfig -v

    It's in attachment.

> Thanks

    Thanks to you.

Thomas.

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Changed in ntp (Ubuntu):
status: Incomplete → Invalid
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.