eucalyptus-common purge removes files from eucalyptus-java-common

Bug #503063 reported by dotCOMmie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Undecided
chris grzegorczyk
eucalyptus (Ubuntu)
Fix Released
Low
Dustin Kirkland 
Lucid
Fix Released
Low
Dustin Kirkland 

Bug Description

After running
aptitude install eucalyptus-common eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc eucalyptus-nc
aptitude purge eucalyptus-common eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc eucalyptus-nc
aptitude install eucalyptus-common eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc eucalyptus-nc

Package eucalyptus cloud controller will break -- wont start properly because of many missing files under /etc (/etc/eucalyptus/cloud.d/scripts* and more..). These "config" files belong to package eucalyptus-java-common which gets uninstalled but not purged with above commands. Reinstalling purged packages re-installs eucalyptus-java-common but these files do not get reinstalled, resulting in broken installation.

It seems one of the packages above deletes these even though they belong to a different package.

A nasty work around is to use aptitudes "--purge-unused," that is:
aptitude --purge-unused purge eucalyptus-common eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc eucalyptus-nc

Using debian testing with repo "deb http://repo.eucalyptus.com/debian squeeze contrib" also came across bug #461202 on ubuntus launchpad (https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/461202), seems related.

Revision history for this message
Thierry Carrez (ttx) wrote :

eucalyptus-common postrm does "rm -rf /etc/eucalyptus" on purge
So yes, that can affect files from eucalyptus-java-common.

summary: - Purge + reinstall breaks package on debian.
+ eucalyptus-common purge removes files from eucalyptus-java-common
Changed in eucalyptus (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

The purge command needs to be more explicit, since multiple packages are using /etc/eucalyptus.

Changed in eucalyptus (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
milestone: none → lucid-alpha-3
Changed in eucalyptus (Ubuntu Lucid):
status: Triaged → In Progress
Changed in eucalyptus (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2~bzr1166-0ubuntu3

---------------
eucalyptus (1.6.2~bzr1166-0ubuntu3) lucid; urgency=low

  * debian/eucalyptus-nc.upstart: handle libvirt restarts, LP: #512887
  * eucalyptus-cc.eucalyptus-cc-publication.upstart,
    eucalyptus-cloud.eucalyptus-cloud-publication.upstart,
    eucalyptus-cloud.upstart, eucalyptus-common.eucalyptus.upstart,
    eucalyptus-nc.eucalyptus-nc-publication.upstart,
    eucalyptus-nc.upstart,
    eucalyptus-sc.eucalyptus-sc-publication.upstart,
    eucalyptus-sc.upstart,
    eucalyptus-walrus.eucalyptus-walrus-publication.upstart,
    eucalyptus-walrus.upstart, uec-component-listener.upstart: add a few
    inline comments, including a comment at the top of every upstart script
    that seems to be required to get get vim syntax highlighting to work
  * eucalyptus-cc.postrm, eucalyptus-cloud.postrm,
    eucalyptus-common.postrm, eucalyptus-sc.postrm,
    eucalyptus-walrus.postrm, uec-component-listener.postrm: fix package
    purging with per-package file purging lists, LP: #503063
  * eucalyptus-cc.eucalyptus-cc-publication.upstart,
    eucalyptus-sc.eucalyptus-sc-publication.upstart,
    eucalyptus-walrus.eucalyptus-walrus-publication.upstart: stop publication
    jobs if the relevant service stops running
 -- Dustin Kirkland <email address hidden> Wed, 03 Feb 2010 19:01:47 -0800

Changed in eucalyptus (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
chris grzegorczyk (chris-grze) wrote :

This problem should be resolved in the current version. Please re-open if this is not the case.

Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
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.