package nis 3.17-31ubuntu0.10.04.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #991818 reported by Javier Oliver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nis (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I tried:

sudo apt-get install -f

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libzzip-0-13 nite-dev libxaw7-dev ps-engine libglut3-dev libtheora-dev
  libwxbase2.8-dev libzzip-dev python-sphinx python-paramiko libpcre3-dev
  libsdl-image1.2-dev python-epydoc libyaml-dev python-docutils python-roman
  libsqlite3-dev libxmu-headers libfltk1.1-dev python-lxml
  libgraphicsmagick1-dev python-sip4-dev libhdf5-serial-1.8.4 libapr1-dev
  libpcrecpp0 ttf-lyx libhdf5-serial-dev libexif-dev libfreeimage-dev
  libfltk1.1 python-matplotlib-data liblog4cxx10-dev libxmu-dev libwmf-dev
  python-dateutil libnetpbm10-dev uuid-dev python-pyparsing
  libgraphicsmagick++3 libqhull-dev liblcms1-dev libgraphicsmagick++1-dev
  yaml-cpp0.2.6-dev libusb-1.0-0-dev python-matplotlib
  x11proto-xf86vidmode-dev libfreeimage3 liblog4cxx10 libdb4.8-dev openni-dev
  libxxf86vm-dev libwxgtk2.8-dev python-pygments libgraphicsmagick3
  libaprutil1-dev wx2.8-headers libqhull5 python-jinja2 libidn11-dev
  libcurl4-openssl-dev libv4l-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nis (3.17-31ubuntu0.10.04.3) ...
start: Job is already running: ypbind
invoke-rc.d: initscript ypbind, action "restart" failed.
dpkg: error processing nis (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nis
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also tried:

sudo dpkg --configure -a
Setting up nis (3.17-31ubuntu0.10.04.3) ...
start: Job is already running: ypbind
invoke-rc.d: initscript ypbind, action "restart" failed.
dpkg: error processing nis (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nis

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: nis 3.17-31ubuntu0.10.04.3
ProcVersionSignature: Ubuntu 2.6.32-36.79-generic 2.6.32.46+drm33.20
Uname: Linux 2.6.32-36-generic i686
AptOrdering: nis: Configure
Architecture: i386
Date: Mon Apr 30 11:15:17 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: nis
Title: package nis 3.17-31ubuntu0.10.04.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Javier Oliver (javioliver) wrote :
Revision history for this message
Javier Oliver (javioliver) wrote :

I mean, I tried to install Adobe Flash player, but the installation failed and the installer recommended me to do: sudo apt-get install -f, and sudo dpkg --configure -a, which also failed because of the nis.

I tried to update the nis, but no luck.

Can anybody tell me what can I do? I am not good in linux... sorry.

Revision history for this message
Javier Oliver (javioliver) wrote :

Ok, I solved it!
I did purge nis, and re-install it.

Thanks!!

James Page (james-page)
Changed in nis (Ubuntu):
status: New → 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.