Strange Issues installing a package
Chris Lynch
chrislynch at fdc.ie
Tue Jan 18 17:14:53 UTC 2011
Hello everyone - this is a log email because I wasn't sure if adding
attachments was allowed, so I have copied/pasted outputs.
The issue:
I am installing a package called srvadmin-storageservices - it comes
from a Dell repository and I use it for monitoring my Hardware RAID
controller. The server I am installing it onto is configured as a NIS
master server. When I issue the following command to install the package
it fails, with the output below
*sudo aptitude install srvadmin-storageservices*
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following NEW packages will be installed:
libopenipmi0{a} libsmbios2{a} libxslt1.1{a} openipmi{a}
python-libsmbios{a} smbios-utils{a} snmpd{a} srvadmin-deng{a}
srvadmin-hapi{a} srvadmin-isvc{a} srvadmin-omacore{a}
srvadmin-omcommon{a} srvadmin-omilcore{a} srvadmin-smcommon{a}
srvadmin-storage{a} srvadmin-storageservices srvadmin-storelib{a}
srvadmin-storelib-sysfs{a} srvadmin-sysfsutils{a} srvadmin-xmlsup{a}
0 packages upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9,167kB of archives. After unpacking 41.6MB will be used.
WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
srvadmin-storageservices srvadmin-smcommon
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Writing extended
state information...
Preconfiguring packages ...
Selecting previously deselected package libsmbios2.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 103634 files and directories currently installed.)
Unpacking libsmbios2 (from
.../libsmbios2_2.2.13-0ubuntu4.1_amd64.deb) ...
Selecting previously deselected package python-libsmbios.
Unpacking python-libsmbios (from
.../python-libsmbios_2.2.13-0ubuntu4.1_all.deb) ...
Selecting previously deselected package smbios-utils.
Unpacking smbios-utils (from
.../smbios-utils_2.2.13-0ubuntu4.1_amd64.deb) ...
Selecting previously deselected package srvadmin-omilcore.
Unpacking srvadmin-omilcore (from
.../srvadmin-omilcore_6.4.0-1_all.deb) ...
Selecting previously deselected package snmpd.
Unpacking snmpd (from
.../snmpd_5.4.2.1~dfsg0ubuntu1-0ubuntu2.1_amd64.deb) ...
Selecting previously deselected package srvadmin-deng.
Unpacking srvadmin-deng (from .../srvadmin-deng_6.4.0-1_amd64.deb) ...
Selecting previously deselected package libopenipmi0.
Unpacking libopenipmi0 (from
.../libopenipmi0_2.0.16-1ubuntu1_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1ubuntu1_amd64.deb) ...
Selecting previously deselected package srvadmin-hapi.
Unpacking srvadmin-hapi (from .../srvadmin-hapi_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-isvc.
Unpacking srvadmin-isvc (from .../srvadmin-isvc_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-omcommon.
Unpacking srvadmin-omcommon (from
.../srvadmin-omcommon_6.4.0-1_amd64.deb) ...
Selecting previously deselected package libxslt1.1.
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-1ubuntu1_amd64.deb) ...
Selecting previously deselected package srvadmin-xmlsup.
Unpacking srvadmin-xmlsup (from
.../srvadmin-xmlsup_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-omacore.
Unpacking srvadmin-omacore (from
.../srvadmin-omacore_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-storelib-sysfs.
Unpacking srvadmin-storelib-sysfs (from
.../srvadmin-storelib-sysfs_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-storelib.
Unpacking srvadmin-storelib (from
.../srvadmin-storelib_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-sysfsutils.
Unpacking srvadmin-sysfsutils (from
.../srvadmin-sysfsutils_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-smcommon.
Unpacking srvadmin-smcommon (from
.../srvadmin-smcommon_6.4.0-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libsmbios2 (2.2.13-0ubuntu4.1) ...
Setting up python-libsmbios (2.2.13-0ubuntu4.1) ...
Setting up smbios-utils (2.2.13-0ubuntu4.1) ...
Setting up srvadmin-omilcore (6.4.0-1) ...
**********************************************************
After the install process completes, you may need
to log out and then log in again to reset the PATH
variable to access the Dell OpenManage CLI utilities
**********************************************************
Setting up snmpd (5.4.2.1~dfsg0ubuntu1-0ubuntu2.1) ...
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating group.byname...
Updating group.bygid...
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating passwd.byname...
Updating passwd.byuid...
Updating netid.byname...
Updating shadow.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
dpkg: error processing snmpd (--configure):
subprocess installed post-installation script returned error exit
status 128
dpkg: dependency problems prevent configuration of srvadmin-deng:
srvadmin-deng depends on snmpd; however:
Package snmpd is not configured yet.
dpkg: error processing srvadmin-deng (--configure):
dependency problems - leaving unconfigured
Setting up libopenipmi0 (2.0.16-1ubuntu1) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
Setting up openipmi (2.0.16-1ubuntu1) ...
Setting up srvadmin-hapi (6.4.0-1) ...
dpkg: dependency problems prevent configuration of srvadmin-isvc:
srvadmin-isvc depends on srvadmin-deng; however:
Package srvadmin-deng is not configured yet.
dpkg: error processing srvadmin-isvc (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a
followup error from a previous failure.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
snmpd
srvadmin-deng
srvadmin-isvc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up srvadmin-omcommon (6.4.0-1) ...
Setting up libxslt1.1 (1.1.26-1ubuntu1) ...
Setting up srvadmin-smcommon (6.4.0-1) ...
Setting up srvadmin-sysfsutils (6.4.0-1) ...
Setting up srvadmin-storelib-sysfs (6.4.0-1) ...
Setting up srvadmin-xmlsup (6.4.0-1) ...
Setting up snmpd (5.4.2.1~dfsg0ubuntu1-0ubuntu2.1) ...
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
Updating group.bygid...
Updating netid.byname...
Updating shadow.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating group.byname...
Updating group.bygid...
Updating netid.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: `ypservers' is up to date.
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make[1]: Entering directory `/var/yp/KeYVowD4i6X.our.org'
Updating passwd.byname...
Updating passwd.byuid...
Updating netid.byname...
Updating shadow.byname...
make[1]: Leaving directory `/var/yp/KeYVowD4i6X.our.org'
make: Leaving directory `/var/yp'
dpkg: error processing snmpd (--configure):
subprocess installed post-installation script returned error exit
status 128
dpkg: dependency problems prevent configuration of srvadmin-deng:
srvadmin-deng depends on snmpd; however:
Package snmpd is not configured yet.
dpkg: error processing srvadmin-deng (--configure):
dependency problems - leaving unconfigured
Setting up srvadmin-storelib (6.4.0-1) ...
dpkg: dependency problems prevent configuration of srvadmin-isvc:
srvadmin-isvc depends on srvadmin-deng; however:
Package srvadmin-deng is not configured yet.
dpkg: error processing srvadmin-isvc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of srvadmin-omacore:
srvadmin-omacore depends on srvadmin-deng; however:
Package srvadmin-deng is not configured yet.
srvadmin-omacore depends on srvadmin-isvc; however:
Package srvadmin-isvc is not configured yet.
dpkg: error processing srvadmin-omacore (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
snmpd
srvadmin-deng
srvadmin-isvc
srvadmin-omacore
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
It looks like snmpd is trying to update my NIS maps - but NIS is
configured to only build maps with UID and GID that are greater then
1004. SO a system user should not get added to the maps. So snmpd fails
and so do all the other items that depend on it. I repair the above
issues with
*sudo aptitude purge srvadmin-storageservices
sudo aptitude purge snmpd
sudo aptitude build-dep*
I then stop NIS and re-issue the command and it works and installs just
fine with no problems.
*sudo aptitude install srvadmin-storageservices
*
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following NEW packages will be installed:
libopenipmi0{a} libsmbios2{a} libxslt1.1{a} openipmi{a}
python-libsmbios{a} smbios-utils{a} snmpd{a} srvadmin-deng{a}
srvadmin-hapi{a} srvadmin-isvc{a} srvadmin-omacore{a}
srvadmin-omcommon{a} srvadmin-omilcore{a} srvadmin-smcommon{a}
srvadmin-storage{a} srvadmin-storageservices srvadmin-storelib{a}
srvadmin-storelib-sysfs{a} srvadmin-sysfsutils{a} srvadmin-xmlsup{a}
0 packages upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9,167kB of archives. After unpacking 41.6MB will be used.
WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
srvadmin-storageservices srvadmin-smcommon
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Writing extended
state information...
Preconfiguring packages ...
Selecting previously deselected package libsmbios2.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 103634 files and directories currently installed.)
Unpacking libsmbios2 (from
.../libsmbios2_2.2.13-0ubuntu4.1_amd64.deb) ...
Selecting previously deselected package python-libsmbios.
Unpacking python-libsmbios (from
.../python-libsmbios_2.2.13-0ubuntu4.1_all.deb) ...
Selecting previously deselected package smbios-utils.
Unpacking smbios-utils (from
.../smbios-utils_2.2.13-0ubuntu4.1_amd64.deb) ...
Selecting previously deselected package srvadmin-omilcore.
Unpacking srvadmin-omilcore (from
.../srvadmin-omilcore_6.4.0-1_all.deb) ...
Selecting previously deselected package snmpd.
Unpacking snmpd (from
.../snmpd_5.4.2.1~dfsg0ubuntu1-0ubuntu2.1_amd64.deb) ...
Selecting previously deselected package srvadmin-deng.
Unpacking srvadmin-deng (from .../srvadmin-deng_6.4.0-1_amd64.deb) ...
Selecting previously deselected package libopenipmi0.
Unpacking libopenipmi0 (from
.../libopenipmi0_2.0.16-1ubuntu1_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1ubuntu1_amd64.deb) ...
Selecting previously deselected package srvadmin-hapi.
Unpacking srvadmin-hapi (from .../srvadmin-hapi_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-isvc.
Unpacking srvadmin-isvc (from .../srvadmin-isvc_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-omcommon.
Unpacking srvadmin-omcommon (from
.../srvadmin-omcommon_6.4.0-1_amd64.deb) ...
Selecting previously deselected package libxslt1.1.
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-1ubuntu1_amd64.deb) ...
Selecting previously deselected package srvadmin-xmlsup.
Unpacking srvadmin-xmlsup (from
.../srvadmin-xmlsup_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-omacore.
Unpacking srvadmin-omacore (from
.../srvadmin-omacore_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-storelib-sysfs.
Unpacking srvadmin-storelib-sysfs (from
.../srvadmin-storelib-sysfs_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-storelib.
Unpacking srvadmin-storelib (from
.../srvadmin-storelib_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-sysfsutils.
Unpacking srvadmin-sysfsutils (from
.../srvadmin-sysfsutils_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-smcommon.
Unpacking srvadmin-smcommon (from
.../srvadmin-smcommon_6.4.0-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libsmbios2 (2.2.13-0ubuntu4.1) ...
Setting up python-libsmbios (2.2.13-0ubuntu4.1) ...
Setting up smbios-utils (2.2.13-0ubuntu4.1) ...
Setting up srvadmin-omilcore (6.4.0-1) ...
**********************************************************
After the install process completes, you may need
to log out and then log in again to reset the PATH
variable to access the Dell OpenManage CLI utilities
**********************************************************
Setting up snmpd (5.4.2.1~dfsg0ubuntu1-0ubuntu2.1) ...
update-rc.d: warning: snmpd stop runlevel arguments (1) do not match
LSB Default-Stop values (0 1 6)
* Starting network management services: [80G
Setting up libopenipmi0 (2.0.16-1ubuntu1) ...
Setting up openipmi (2.0.16-1ubuntu1) ...
Setting up srvadmin-hapi (6.4.0-1) ...
Processing triggers for python-central ...
Setting up srvadmin-deng (6.4.0-1) ...
12 files processed
7 files processed
NOTE: snmpd must be restarted to activate changes to
/etc/snmp/snmpd.conf
Data Engine SNMP enabled
update-rc.d: warning: dataeng start runlevel arguments (2 3 4 5) do
not match LSB Default-Start values (3 4 5)
update-rc.d: warning: dataeng stop runlevel arguments (0 1 6) do not
match LSB Default-Stop values (1 2)
System start/stop links for /etc/init.d/dataeng already exist.
Setting up srvadmin-isvc (6.4.0-1) ...
30 files processed
4 files processed
22 files processed
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously deselected package srvadmin-storage.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 106089 files and directories currently installed.)
Unpacking srvadmin-storage (from
.../srvadmin-storage_6.4.0-1_amd64.deb) ...
Selecting previously deselected package srvadmin-storageservices.
Unpacking srvadmin-storageservices (from
.../srvadmin-storageservices_6.4.0-1_amd64.deb) ...
Setting up srvadmin-omcommon (6.4.0-1) ...
Setting up libxslt1.1 (1.1.26-1ubuntu1) ...
Setting up srvadmin-xmlsup (6.4.0-1) ...
Setting up srvadmin-omacore (6.4.0-1) ...
Setting up srvadmin-storelib-sysfs (6.4.0-1) ...
Setting up srvadmin-storelib (6.4.0-1) ...
Setting up srvadmin-sysfsutils (6.4.0-1) ...
Setting up srvadmin-smcommon (6.4.0-1) ...
Setting up srvadmin-storage (6.4.0-1) ...
Setting up srvadmin-storageservices (6.4.0-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
SO the install works when NIS is stopped. Is this a bug in snmpd,
aptitude. I've not seens aptitude install going into my NIS maps before.
I am running Ubuntu 10.4.1LTS linux kernel 2.6.32-27-server
--
Regards
Chris Lynch
IT Consultant
FDC House
Wellington Road
Cork
Ireland
Mob: +353 86 6074236
Tel: +353 21 4509022
Fax: +353 21 4509272
Web: FDC IT Solutions <http://www.fdc.ie/ITSolutions/it_solutions.aspx>
Web: FDC Group Ltd <http://www.fdc.ie/>
Linkedin: Chris Lynch <http://www.linkedin.com/in/chrislynchfdcitsolutions>
Email: chrislynch at fdc.ie <mailto:chrislynch at fdc.ie>
_
_FDC Accountants & Tax Consultants Limited, a private company limited by
shares,
registered in Ireland No.132121 with a registered office at FDC House,
Wellington Road, Cork, Ireland.
V.A.T Registered No: IE 0010284W.
Directors: Jack Murphy, Jimmy O'Brien, Pat Williams, Pat Lane, Vincent
Hayes, Dan O'Donovan, Edward O'Flynn, Peter Breen
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.
If you have received this e-mail in error please notify the system manager.
Please note that any views or opinions presented in this e-mail are
solely those of the author and do not necessarily represent those of FDC.
Finally, the recipient should check this e-mail & any attachments for
the presence of viruses.
FDC accepts no liability for any damage caused by any virus transmitted
by this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20110118/ad0319bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: header.gif
Type: image/gif
Size: 3169 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20110118/ad0319bf/attachment.gif>
More information about the ubuntu-server
mailing list