fails to upgrade if database files have been removed (package eucalyptus-java-common 2.0.1 bzr1256-0ubuntu4.2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1)

Bug #888561 reported by Petr Kubánek
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Appeared on its own when I touch monitor/display configuration.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: eucalyptus-java-common 2.0.1+bzr1256-0ubuntu4.2
ProcVersionSignature: Ubuntu 2.6.38-12.51-server 2.6.38.8
Uname: Linux 2.6.38-12-server x86_64
Architecture: amd64
Date: Mon Nov 7 16:20:00 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: eucalyptus
Title: package eucalyptus-java-common 2.0.1+bzr1256-0ubuntu4.2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-11-07 (2 days ago)
eucalyptus.local.conf:
 # network configuration from the input configuration file
 VNET_MODE="MANAGED-NOVLAN"

Revision history for this message
Petr Kubánek (petr-kubanek) wrote :
Revision history for this message
Dave Walker (davewalker) wrote :

Setting up eucalyptus-java-common (2.0.1+bzr1256-0ubuntu4.2) ...
stop: Unknown instance:
eucalyptus stop/waiting
# UPGRADE INFORMATION
#================================================================================
# Old Version: 1.6.2
# New Version: 2.0.2
# Upgrade keys: false using:
# Upgrade configuration: false using:
# Upgrade database: true using: upgrade_db
# Same version: false using:
# Start upgrading: db
Cannot locate previous database files in /var/backups/eucalyptus/UPGRADE_IN_PROGRESS.eucalyptus-java-common//var/lib/eucalyptus/db! Skipping DB upgrade.
dpkg: error processing eucalyptus-java-common (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Looks legitimate, if the db doesn't exist, then we shouldn't bother trying to run an upgrade on it. The code in the latest packages does not do anything to mitigate that possibility, so I'm marking this as Triaged, Medium, since it will only affect users that have removed their eucalyptus database files.

Changed in eucalyptus (Ubuntu):
status: New → Triaged
summary: - package eucalyptus-java-common 2.0.1 bzr1256-0ubuntu4.2 failed to
+ fails to upgrade if database files have been removed (package
+ eucalyptus-java-common 2.0.1 bzr1256-0ubuntu4.2 failed to
install/upgrade: ErrorMessage: subprocess installed post-installation
- script returned error exit status 1
+ script returned error exit status 1)
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.