[SRU] package nis 3.17-32ubuntu1.2 failed to install/upgrade: invoke-rc.d: unknown initscript, /etc/init.d/nis not found.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nis (Ubuntu) |
Fix Released
|
Medium
|
James Page | ||
Oneiric |
Invalid
|
Medium
|
Steve Langasek | ||
Precise |
Fix Released
|
Medium
|
James Page | ||
Quantal |
Fix Released
|
Medium
|
James Page |
Bug Description
[Impact]
Users running the version of nis currently in oneiric-proposed will experience an upgrade failure to 12.04. This version (3.17-32ubuntu1.2) already converts systems to upstart; the package in 12.04 checks for < 3.17-32ubuntu2 resulting in an error when trying to stop the nis service (which no longer exists).
I considered checking for 3.17-32ubuntu1.1 in the precise SRU; however if this gets bumped out of -proposed then upgrades will start to break again; moving the calls to invoke-rc.d and update-rc.d inside the block which checks for the existence of the init.d script should resolve this in a slightly more resilient fashion,
[Test Case]
Enable oneiric-proposed
sudo apt-get update
sudo apt-get install nis
sudo apt-get install update-manager-core (if not already installed)
sudo do-release-upgrade
...
nis pre-installation script will fail with error code 100.
[Regression Potential]
Minimal; this is purely a maintainer script change to make the upgrade process from oneiric-proposed work.
[Original Bug Report]
During upgrade from 11.10 to 12.04 the nis package failed to install
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: nis 3.17-32ubuntu1.2
ProcVersionSign
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Tue May 1 12:56:35 2012
ErrorMessage: ErrorMessage: subprocess new pre-installation script returned error exit status 100
SourcePackage: nis
Title: package nis 3.17-32ubuntu1.2 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 100
UpgradeStatus: Upgraded to precise on 2012-05-01 (0 days ago)
Changed in nis (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- package nis 3.17-32ubuntu1.2 failed to install/upgrade: ErrorMessage: - subprocess new pre-installation script returned error exit status 100 + package nis 3.17-32ubuntu1.2 failed to install/upgrade: invoke-rc.d: + unknown initscript, /etc/init.d/nis not found. |
Changed in nis (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
Changed in nis (Ubuntu Quantal): | |
assignee: | nobody → James Page (james-page) |
Changed in nis (Ubuntu Precise): | |
assignee: | nobody → James Page (james-page) |
Changed in nis (Ubuntu Quantal): | |
status: | Triaged → In Progress |
Changed in nis (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
tags: | added: removal-candidate |
(Reading database ... 646980 files and directories currently installed.) 3.17-32ubuntu4_ i386.deb) ... apt/archives/ nis_3.17- 32ubuntu4_ i386.deb (--unpack):
Preparing to replace nis 3.17-32ubuntu1.2 (using .../nis_
invoke-rc.d: unknown initscript, /etc/init.d/nis not found.
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 100