[karmic UEC] file /usr/share/eucalyptus/antlr.jar belongs to eucalyptus-cloud and eucalyptus-java-common, complicating package upgrade

Bug #429086 reported by Etienne Goyer
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In eucalyptus 1.6~bzr672-0ubuntu2, it appears that the file /usr/share/eucalyptus/antlr.jar belongs to both eucalyptus-cloud and eucalyptus-java-common, complicating package upgrade. Witness:

cloudmaster@uec-frontend:~/deb$ sudo dpkg -i eucalyptus-java-common_1.6~bzr672-0ubuntu2_amd64.deb
(Reading database ... 28259 files and directories currently installed.)
Unpacking eucalyptus-java-common (from eucalyptus-java-common_1.6~bzr672-0ubuntu2_amd64.deb) ...
Setting up eucalyptus-java-common (1.6~bzr672-0ubuntu2) ...
Installing new version of config file /etc/eucalyptus/cloud.d/eucalyptus-web-default.properties ...
Installing new version of config file /etc/eucalyptus/cloud.d/eucalyptus-web.properties ...
cloudmaster@uec-frontend:~/deb$ sudo dpkg -i eucalyptus-sc_1.6~bzr672-0ubuntu2_amd64.deb eucalyptus-cloud_1.6~bzr672-0ubuntu2_amd64.deb eucalyptus-walrus_1.6~bzr672-0ubuntu2_amd64.deb
Selecting previously deselected package eucalyptus-sc.
(Reading database ... 28363 files and directories currently installed.)
Unpacking eucalyptus-sc (from eucalyptus-sc_1.6~bzr672-0ubuntu2_amd64.deb) ...
Selecting previously deselected package eucalyptus-cloud.
Unpacking eucalyptus-cloud (from eucalyptus-cloud_1.6~bzr672-0ubuntu2_amd64.deb) ...
dpkg: error processing eucalyptus-cloud_1.6~bzr672-0ubuntu2_amd64.deb (--install):
 trying to overwrite `/usr/share/eucalyptus/antlr.jar', which is also in package eucalyptus-java-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package eucalyptus-walrus.
Unpacking eucalyptus-walrus (from eucalyptus-walrus_1.6~bzr672-0ubuntu2_amd64.deb) ...
Setting up eucalyptus-sc (1.6~bzr672-0ubuntu2) ...
 * Starting Eucalyptus Storage Controller eucalyptus-sc [ OK ]

Setting up eucalyptus-walrus (1.6~bzr672-0ubuntu2) ...
 * Starting Eucalyptus Walrus eucalyptus-walrus [ OK ]

Errors were encountered while processing:
 eucalyptus-cloud_1.6~bzr672-0ubuntu2_amd64.deb

affects: ubuntu → eucalyptus (Ubuntu)
Revision history for this message
Soren Hansen (soren) wrote :

Good catch, Etienne. I'll fix that straight away.

Revision history for this message
Loïc Minier (lool) wrote :

Not sure it's related but I get a different file:
dpkg: error processing /var/cache/apt/archives/eucalyptus-java-common_1.6~bzr672-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite `/usr/share/eucalyptus/eucalyptus-auth-1.6-devel.jar', which is also in package eucalyptus-cloud

Revision history for this message
Soren Hansen (soren) wrote :

I've added Replaces: eucalyptus-cloud to eucalyptus-java-common, so both should be taken care of.

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

This bug was fixed in the package eucalyptus - 1.6~bzr672-0ubuntu3

---------------
eucalyptus (1.6~bzr672-0ubuntu3) karmic; urgency=low

  [ Colin Watson ]
  * Add euca_conf --discover-nodes option.
  * Register cluster with local cloud in start as well as cleanstart.
  * SECURITY UPDATE: Fix temporary file vulnerability in euca_conf by using
    'sed -i' (LP: #424459).

  [ Soren Hansen ]
  * Only ship antlr.jar in eucalyptus-java-common. (LP: #429086)

 -- Soren Hansen <email address hidden> Mon, 14 Sep 2009 12:59:40 +0200

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