package sks 1.1.1+dpkgv3-7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1020034 reported by Stefano Rivera
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sks (Debian)
Fix Released
Unknown
sks (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

= SRU Report =
== Impact ==
Anyone upgrading sks will run into a postinst failure. This has been the case for a few releases, but this isn't a very widely deployed application, and probably only deployed on LTSs.

The package version to BDB version mapping was specific to Debian. It differs in Ubuntu.

Also worth noting that I've requested backporting 1.1.3. LP: #1020098

== Test Case ==
* apt-get install sks
* Install a dump (see README.Debian, one .pgp file is fine)
* apt-get install --reinstall sks (an upgrade to the same version)

== Regression Potential ==
* Not significant.

= Original Report =
The list of BDB_VERSIONs in postinst isn't correct for Ubuntu. This won't be a problem in the far future, as this information now comes from a file generated at build time.

But it is an issue for upgrades at the moment.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: sks 1.1.1+dpkgv3-7
Uname: Linux 2.6.32-5-amd64 x86_64
NonfreeKernelModules: aufs kvm_intel kvm tun acpi_cpufreq cpufreq_stats cpufreq_conservative cpufreq_powersave cpufreq_userspace binfmt_misc xt_NOTRACK ip6t_REJECT ipt_REJECT xt_multiport xt_recent nf_conntrack_ipv6 ip6table_raw ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_raw iptable_filter ip_tables xt_limit x_tables loop snd_pcm snd_timer nouveau snd soundcore ttm snd_page_alloc drm_kms_helper drm pcspkr i2c_algo_bit i2c_i801 i2c_core evdev wmi button ext4 mbcache jbd2 crc16 dm_mod aacraid 3w_9xxx 3w_xxxx raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 md_mod sata_nv sata_sil sata_via sd_mod crc_t10dif ahci uhci_hcd libata ehci_hcd scsi_mod r8169 mii usbcore nls_base thermal processor thermal_sys
ApportVersion: 2.0.1-0ubuntu8
AptOrdering:
 xdg-utils: Install
 sks: Configure
 xdg-utils: Configure
Architecture: amd64
Date: Mon Jul 2 10:37:52 2012
Df:

ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: sks
Title: package sks 1.1.1+dpkgv3-7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Stefano Rivera (stefanor) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sks - 1.1.3-1ubuntu1

---------------
sks (1.1.3-1ubuntu1) quantal; urgency=low

  * Provide OLD_BDB versions for Ubuntu (LP: #1020034)
  * Create /var/lib/sks/berkeley_db.active even when we aren't upgrading BDB
    versions.
  * Include pagesize and ptree_pagesize in sksconf, so that importing a dump
    won't hang (LP: #1019756)
 -- Stefano Rivera <email address hidden> Mon, 02 Jul 2012 12:50:53 +0200

Changed in sks (Ubuntu):
status: New → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :
Changed in sks (Ubuntu Precise):
status: New → Fix Committed
importance: Undecided → Medium
Changed in sks (Ubuntu):
importance: Undecided → Medium
Changed in sks (Debian):
status: Unknown → New
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Stefano, or anyone else affected,

Accepted sks into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/sks/1.1.1+dpkgv3-7ubuntu0.1 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 change the bug tag from verification-needed to verification-done. If it does not, 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!

tags: added: verification-needed
Revision history for this message
Stefano Rivera (stefanor) wrote :

/usr/lib/sks/berkeley_db.txt is empty, it wasn't in my local build.

This warrants further investigation. Please reject this for now.

tags: added: verification-failed
removed: verification-needed
Revision history for this message
Stefano Rivera (stefanor) wrote :

Filed LP: #1021650 for that issue.

Revision history for this message
Stefano Rivera (stefanor) wrote :

New Debdiff attached

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Stefano, or anyone else affected,

Accepted sks into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/sks/1.1.1+dpkgv3-7ubuntu0.2 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 change the bug tag from verification-needed to verification-done. If it does not, 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!

tags: removed: verification-failed
tags: added: verification-needed
Revision history for this message
Stefano Rivera (stefanor) wrote :

Upgrades successfully to 1.1.1+dpkgv3-7ubuntu0.2, which re-installs cleanly.

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

This bug was fixed in the package sks - 1.1.1+dpkgv3-7ubuntu0.2

---------------
sks (1.1.1+dpkgv3-7ubuntu0.2) precise-proposed; urgency=low

  * Look for ^.i not ^ii in libdbX.Y-dev packages for BDB_VERSION. And assert
    that we have a value (LP: #1021650)

sks (1.1.1+dpkgv3-7ubuntu0.1) precise-proposed; urgency=low

  * Provide OLD_BDB versions for Ubuntu, so that Berkeley DB upgrades will
    be performed on the right upgrades (LP: #1020034)
  * Create /var/lib/sks/berkeley_db.active even when we aren't upgrading BDB
    versions, so that we'll rely less on heuristics in the future.
 -- Stefano Rivera <email address hidden> Fri, 06 Jul 2012 22:43:42 +0200

Changed in sks (Ubuntu Precise):
status: Fix Committed → Fix Released
Changed in sks (Debian):
status: New → Fix Released
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.