package am-utils 6.2+rc20110530-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #977962 reported by Angie Wassink
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
am-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

System info:
Release: 12.04(precise) 32-bit
Kernel Linux 3.2.0-22-generic
GNOME 3.4.0
HP-HDX-16-Notebook
Processor: Intel Core 2 Duo CPU P7450 @ 2.13GHz x 2

I just upgraded from the 11.10 release. On it I could not get the am-utils package to update or work properly. I tried upgrading to the 12.04 but it hasn't fixed anything. I've tried installing it from terminal but it always comes up with this error:

sangie@angie-HP-HDX-16-Notebook-PC:~$ sudo apt-get install am-utils
[sudo] password for angie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
am-utils is already the newest version.
The following packages were automatically installed and are no longer required:
  python2.6-minimal python2.6
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up am-utils (6.2+rc20110530-3ubuntu1) ...
/etc/init.d/am-utils: 1: /etc/init.d/am-utils: ypmatch: not found
/etc/init.d/am-utils: cannot find master map
invoke-rc.d: initscript am-utils, action "start" failed.
dpkg: error processing am-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 am-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
angie@angie-HP-HDX-16-Notebook-PC:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  python2.6 python2.6-minimal
0 upgraded, 0 newly installed, 2 to remove and 24 not upgraded.
1 not fully installed or removed.
After this operation, 12.9 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 242923 files and directories currently installed.)
Removing python2.6 ...
Removing python2.6-minimal ...
Unlinking and removing bytecode for runtime python2.6
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up am-utils (6.2+rc20110530-3ubuntu1) ...
/etc/init.d/am-utils: 1: /etc/init.d/am-utils: ypmatch: not found
/etc/init.d/am-utils: cannot find master map
invoke-rc.d: initscript am-utils, action "start" failed.
dpkg: error processing am-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 am-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: am-utils 6.2+rc20110530-3ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Tue Apr 10 07:15:00 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: am-utils
Title: package am-utils 6.2+rc20110530-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-09 (0 days ago)

Revision history for this message
Angie Wassink (wassink-design) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in am-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Cutts (timc) wrote : Re: [Bug 977962] Re: package am-utils 6.2+rc20110530-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (4.6 KiB)

It's not a bug in am-utils. Your am-utils config mentions NIS, which is not the default, and you don't have NIS installed, so it doesn't start correctly. Either install NIS as well, or fix your pre-existing am-utils config.

On 27 Jul 2012, at 15:45, Launchpad Bug Tracker <email address hidden> wrote:

> Status changed to 'Confirmed' because the bug affects multiple users.
>
> ** Changed in: am-utils (Ubuntu)
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to am-
> utils in Ubuntu.
> https://bugs.launchpad.net/bugs/977962
>
> Title:
> package am-utils 6.2+rc20110530-3ubuntu1 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
> Status in “am-utils” package in Ubuntu:
> Confirmed
>
> Bug description:
> System info:
> Release: 12.04(precise) 32-bit
> Kernel Linux 3.2.0-22-generic
> GNOME 3.4.0
> HP-HDX-16-Notebook
> Processor: Intel Core 2 Duo CPU P7450 @ 2.13GHz x 2
>
> I just upgraded from the 11.10 release. On it I could not get the am-
> utils package to update or work properly. I tried upgrading to the
> 12.04 but it hasn't fixed anything. I've tried installing it from
> terminal but it always comes up with this error:
>
>
> sangie@angie-HP-HDX-16-Notebook-PC:~$ sudo apt-get install am-utils
> [sudo] password for angie:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> am-utils is already the newest version.
> The following packages were automatically installed and are no longer required:
> python2.6-minimal python2.6
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Setting up am-utils (6.2+rc20110530-3ubuntu1) ...
> /etc/init.d/am-utils: 1: /etc/init.d/am-utils: ypmatch: not found
> /etc/init.d/am-utils: cannot find master map
> invoke-rc.d: initscript am-utils, action "start" failed.
> dpkg: error processing am-utils (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> am-utils
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> angie@angie-HP-HDX-16-Notebook-PC:~$ sudo apt-get autoremove
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
> python2.6 python2.6-minimal
> 0 upgraded, 0 newly installed, 2 to remove and 24 not upgraded.
> 1 not fully installed or removed.
> After this operation, 12.9 MB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 242923 files and directories currently installed.)
> Removing python2.6 ...
> Removing python2.6-minimal ...
> Unlinking and removing bytecode for runtime python2.6
> Processing triggers for man-db ...
> Processing triggers for desktop-file-utils ...
> Processing triggers for bamfdaemon ...
> Rebuilding /usr/share/applications/bamf.index.....

Read more...

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.