lsvpd update returns error [15.10]

Bug #1485446 reported by bugproxy
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsvpd (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Vivid
Fix Released
Undecided
Unassigned

Bug Description

[SRU Justification]
Package fails to install/upgrade on certain environments where it previously could be installed.

[Test Case]
On an Ubuntu instance running on KVM on POWER:
1. install lsvpd
2. observe that the package fails to install with a postinst error
3. update apt sources to point at -proposed
4. install the new package
5. observe that the package installs successfully

[Regression potential]
None apparent; the update fixes the return code of tools which were previously installable on KVM guests even if they are not useful there.

[Original bug description]
== Comment: #0 - Kamalesh Babulal <email address hidden> - 2015-08-13 09:16:50 ==
---Problem Description---

This issue was triggered while upgrading packages to trusty-proposed and this will be seen in 15.10 updates also.

While upgrading, it halts with:
Setting up lsvpd (1.7.5-0ubuntu2~14.04) ...
vpdupdate is not supported on the PowerKVM pSeries Guest
dpkg: error processing package lsvpd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ppc64-diag:
 ppc64-diag depends on lsvpd; however:
  Package lsvpd is not configured yet.

dpkg: error processing package ppc64-diag (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lsvpd
 ppc64-diag
E: Sub-process /usr/bin/dpkg returned an error code (1)

Userspace tool common name: lsvpd

The userspace tool has the following bit modes: ppc64le

Userspace rpm: lsvpd 1.7.5-0ubuntu2

Userspace tool obtained from project website: wily proposed

== Comment: #1 - Kamalesh Babulal <email address hidden> - 2015-08-13 09:19:43 ==
lsvpd: Fix return code issue

Below error was encountered while upgrading Ubuntu:

Setting up lsvpd (1.7.5-0ubuntu2~14.04) ...
vpdupdate is not supported on the PowerKVM pSeries Guest
dpkg: error processing package lsvpd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ppc64-diag:
 ppc64-diag depends on lsvpd; however:
  Package lsvpd is not configured yet.

dpkg: error processing package ppc64-diag (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lsvpd
 ppc64-diag
E: Sub-process /usr/bin/dpkg returned an error code (1)

This patch fixes above configuration/unpacking issue by returning
exit status (1) only when error is encountered while unpacking.
This will allow Ubuntu to continue unpacking/configuring other
packages instead of halting the whole upgrading process.

Kindly note: The patch applies clean over lsvpd 1.7.5-0ubuntu2

Revision history for this message
bugproxy (bugproxy) wrote : Fix lsvpd return code issue

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-128998 severity-critical targetmilestone-inin---
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1485446/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
tags: added: vivid wily
affects: ubuntu → lsvpd (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

has this patch been accepted upstream?

Changed in lsvpd (Ubuntu):
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-08-27 17:37 EDT-------
(In reply to comment #9)
> has this patch been accepted upstream?

Yes...

commit 840b52c9275d4ebde096c396fee7dd7e68d27b69
Author: Kamalesh Babulal <email address hidden>
Date: Sun Aug 9 11:42:15 2015 +0530

lsvpd: Fix return code issue
Below error was encountered while upgrading Ubuntu:

-Vasant

Steve Langasek (vorlon)
Changed in lsvpd (Ubuntu Trusty):
status: New → In Progress
Changed in lsvpd (Ubuntu Vivid):
status: New → In Progress
Changed in lsvpd (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lsvpd - 1.7.5-0ubuntu3

---------------
lsvpd (1.7.5-0ubuntu3) wily; urgency=medium

  * debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
    issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
    LP: #1485446.

 -- Steve Langasek <email address hidden> Thu, 27 Aug 2015 16:11:43 -0700

Changed in lsvpd (Ubuntu):
status: Fix Committed → Fix Released
Steve Langasek (vorlon)
description: updated
Revision history for this message
Chris J Arges (arges) wrote :

Steve,
Can you re-upload without the conflict cruft (changelog.orig/rej)? Thanks

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted lsvpd into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lsvpd/1.7.5-0ubuntu3~14.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in lsvpd (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in lsvpd (Ubuntu Vivid):
status: In Progress → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello bugproxy, or anyone else affected,

Accepted lsvpd into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lsvpd/1.7.5-0ubuntu3~15.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-09-03 07:50 EDT-------
Verified on 15.10 (wily) lsvpd-1.7.5-0ubuntu3

---
lsvpd (1.7.5-0ubuntu3) wily; urgency=medium

* debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
LP: #1485446.

-- Steve Langasek <email address hidden> Thu, 27 Aug 2015 16:11:43 -0700

lsvpd (1.7.5-0ubuntu2) wily; urgency=medium

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Comment #9 doesn't demonstrate the bug fix being tested in Vivid or Trusty.

tags: added: verification-needed
removed: verification-done
Revision history for this message
Breno Leitão (breno-leitao) wrote :

Brian, I understand that the patches are "Fixed Released" only for wily, righ? Not available in Vivid and Trusty yet. Is it correct?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-09-11 14:48 EDT-------
*** Bug 128961 has been marked as a duplicate of this bug. ***

Revision history for this message
Steve Langasek (vorlon) wrote :

Breno, the package has been uploaded and is awaiting verification in trusty-proposed and vivid-proposed.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-09-14 05:45 EDT-------
Verified on Trusty and Vivd:

lsvpd (1.7.5-0ubuntu3~14.04) trusty; urgency=medium

* debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
LP: #1485446.

-- Steve Langasek <email address hidden> Thu, 27 Aug 2015 17:31:36 -0700

lsvpd (1.7.5-0ubuntu3~15.04) vivid; urgency=medium

* debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
LP: #1485446.

-- Steve Langasek <email address hidden> Thu, 27 Aug 2015 16:50:14 -0700

tags: added: verification-done
removed: verification-needed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-09-15 08:25 EDT-------
*** Bug 128993 has been marked as a duplicate of this bug. ***

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lsvpd - 1.7.5-0ubuntu3~14.04

---------------
lsvpd (1.7.5-0ubuntu3~14.04) trusty; urgency=medium

  * debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
    issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
    LP: #1485446.

 -- Steve Langasek <email address hidden> Thu, 27 Aug 2015 17:31:36 -0700

Changed in lsvpd (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for lsvpd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lsvpd - 1.7.5-0ubuntu3~15.04

---------------
lsvpd (1.7.5-0ubuntu3~15.04) vivid; urgency=medium

  * debian/patches/Fix-lsvpd-return-code.patch: lsvpd: Fix return code
    issue. Thanks to Kamalesh Babulal <email address hidden>. Closes
    LP: #1485446.

 -- Steve Langasek <email address hidden> Thu, 27 Aug 2015 16:50:14 -0700

Changed in lsvpd (Ubuntu Vivid):
status: Fix Committed → Fix Released
bugproxy (bugproxy)
tags: added: targetmilestone-inin1510
removed: targetmilestone-inin---
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.