broffice.org package has a conflict with openoffice.org-common package

Bug #155125 reported by David Cohen
40
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
High
Unassigned
Gutsy
Fix Released
Undecided
Unassigned
Hardy
Fix Released
High
Unassigned

Bug Description

Binary package hint: broffice.org

It's not possible to install broffice.org package due to a conflict with openoffice.org-common package: both have the file '/usr/lib/openoffice/program/intro.bmp'.

TEST CASE:

Install the package if it fails to install complaining about a intro.bmp file conflict it is broken, if it installs successfully it is corrected.

Revision history for this message
Chris Cheney (ccheney) wrote :

Unpacking broffice.org (from .../broffice.org_1%3a2.3.0-1ubuntu5_all.deb) ...
Adding `diversion of /usr/lib/openoffice/program/bootstraprc to /usr/lib/openoffice/program/bootstraprc.ooo by broffice.org'
Adding `diversion of /usr/lib/openoffice/program/versionrc to /usr/lib/openoffice/program/versionrc.ooo by broffice.org'
Adding `diversion of /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu to /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-calc.desktop to /usr/share/applications/ooo-calc.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-writer.desktop to /usr/share/applications/ooo-writer.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-draw.desktop to /usr/share/applications/ooo-draw.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-base.desktop to /usr/share/applications/ooo-base.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-impress.desktop to /usr/share/applications/ooo-impress.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-math.desktop to /usr/share/applications/ooo-math.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-extension.desktop to /usr/share/applications/ooo-extension.desktop.ooo by broffice.org'
Adding `diversion of /usr/share/applications/ooo-template.desktop to /usr/share/applications/ooo-template.desktop.ooo by broffice.org'
Adding `diversion of /usr/lib/openoffice/program/openintro_ubuntu.bmp to /usr/lib/openoffice/program/openintro_ubuntu.bmp.ooo by broffice.org'
Adding `diversion of /usr/lib/openoffice/program/openabout_ubuntu.bmp to /usr/lib/openoffice/program/openabout_ubuntu.bmp.ooo by broffice.org'
Adding `diversion of /usr/lib/openoffice/program/resource/ooo680en-US.res to /usr/lib/openoffice/program/resource/ooo680en-US.res.ooo by broffice.org'
dpkg: error processing /var/cache/apt/archives/broffice.org_1%3a2.3.0-1ubuntu5_all.deb (--unpack):
 trying to overwrite `/usr/lib/openoffice/program/intro.bmp', which is also in package openoffice.org-common

Changed in openoffice.org:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
David Cohen (dacohen) wrote :

After this problem on broffice.org package installation, I lost the openoffice's menu entries and if I try to run the openoffice from a terminal, I get the following message: "** ERROR **: unable to open /usr/lib/openoffice/program/bootstraprc"

Revision history for this message
Aristides Caldeira (aristides.caldeira) wrote :

Same here, no menu and the same error message.

By creating a symlink to bootstraprc.ooo as bootstraprc, I can start the applications again, but the menu still doesn't show up.

Revision history for this message
FAB10 (fabio-marke5) wrote :

Last Sunday I had the same problem as reported by David, and I could fix it by running the command bellow:

$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/broffice.org_1%3a2.3.0-1ubuntu5_all.deb

I am not an expert, sorry, so I am not sure about what else this command can imply on the rest of the system, but since then I am working and using Ubuntu Gusty and the BrOffice package without problems.

Hope I could help.
:o)

Revision history for this message
Ivan Quirino (ivanquirino1928) wrote : Re: [Bug 155125] Re: broffice.org package has a conflict with openoffice.org-common package

obrigado cara, mas aqui eu desisntalei todo o openoofice para instalar o
broffice

2007/10/23, FAB10 <email address hidden>:
>
> Last Sunday I had the same problem as reported by David, and I could fix
> it by running the command bellow:
>
> $ sudo dpkg -i --force-overwrite
> /var/cache/apt/archives/broffice.org_1%3a2.3.0-1ubuntu5_all.deb
>
> I am not an expert, sorry, so I am not sure about what else this command
> can imply on the rest of the system, but since then I am working and
> using Ubuntu Gusty and the BrOffice package without problems.
>
> Hope I could help.
> :o)
>
> --
> broffice.org package has a conflict with openoffice.org-common package
> https://bugs.launchpad.net/bugs/155125
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
danieldcl (danieldcl) wrote :

Same error here too.
I have tried purge all openoffice packages and have installed then again. It didn't work.
After doing FAB10's suggestion, it worked.

Revision history for this message
paozinho (paonoforno) wrote :
Revision history for this message
Ivan Quirino (ivanquirino1928) wrote :

I removed everything and installed a package from the website...

2007/10/25, paozinho <email address hidden>:
>
> Here the same...I also reported the bug
> https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/155877
>
> --
> broffice.org package has a conflict with openoffice.org-common package
> https://bugs.launchpad.net/bugs/155125
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Clóvis Fabrício (nosklo) wrote : Workaround

I forced it to overwrite openoffice.org-common's intro.bmp and that seems to work fine:

sudo dpkg --force-overwrite -i /var/cache/apt/archives/broffice.org_1%3a2.3.0-1ubuntu5.1_all.deb

That way I got back my father's links to broffice and the ability to double-click any of his odt files :)

Revision history for this message
Clóvis Fabrício (nosklo) wrote : Patch

Heres a patch to the file broffice.org.preinst which is causing the issue.

Chris Cheney (ccheney)
Changed in openoffice.org:
milestone: none → gutsy-updates
Revision history for this message
Augusto Santos (mkhaos7) wrote :

Same here.
But maybe the problem is a bit more complicated than just replacing an existent file.
I'd like to know why after purginh broffice.org and trying to reinstall openoffice.org-common, the "** ERROR **: unable to open /usr/lib/openoffice/program/bootstraprc", isn't resolved.
I wonder if after i uninstall broffice.org sutff will work.
Can't try it right now really... have work to do :)

Revision history for this message
Clóvis Fabrício (nosklo) wrote :

Antonio, after trying to install the defective package your system will be in some unstable state, and just reinstalling openoffice.org-common won't solve it.

In my tests I found out that you must force-overwrite of broffice to return the system to some good state before doing something else.

Revision history for this message
Mircea Deaconu (mirceade) wrote :

Hello! First of all let me say I am truly regretting doing this. This is a spam message sent to all critical bug message lists. It's purpose: making this (https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695) bug critical too. This is a long standing bug and has a very serious impact on laptop type of hardware. It's priority is set to "wishlist" and I just cannot take this anymore. I DO NOT CARE if my account gets suspended. I am doing what's right for all my friends using Ubuntu on their laptops.

Chris Cheney (ccheney)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test:

openoffice.org (1:2.3.0-1ubuntu5.2) gutsy-proposed; urgency=low

  * debian/rules: Rename intro.bmp to openintro_ubuntu.bmp.
    Closes LP: #155125
  * debian/rules move libdba680lx.so from openoffice.org-base to
    openoffice.org-core.
    Closes LP: #24975, #52847, #117648, #134276, #156852, #157512
  * ooo-build/patches/src680/pyuno-rpath-ooodir.diff:
    Closes LP: #132583
  * ooo-build/patches/src680/ooo82608.vcl.gtkbadfree.diff:
    Closes LP: #131526
  * ubuntu/openintro_ubuntu.bmp:
    Update splash screen to right bitmap depth. Closes LP: #157176

 -- Chris Cheney <email address hidden> Sat, 24 Nov 2007 20:07:29 -0600

Changed in openoffice.org:
status: New → Fix Committed
Revision history for this message
berne (thiago-berne) wrote :

FAB10 solution worked fine for me. Everything is working again.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Verification done:

Test with openoffice.org 1:2.3.0-1ubuntu5, the broffice.org fail to install because of the conflict with the '/usr/lib/openoffice/program/intro.bmp' file.
Test with openoffice.org 1:2.3.0-1ubuntu5.3, I'm able to install the broffice.org package without any problem, the bug is fixed. thanks!.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to gutsy-updates.

Changed in openoffice.org:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Chris, please upload the fixes of these SRUs to Hardy ASAP.

Changed in openoffice.org:
assignee: nobody → ccheney
importance: Critical → High
milestone: gutsy-updates → hardy-alpha-2
status: Confirmed → In Progress
Steve Langasek (vorlon)
Changed in openoffice.org:
milestone: hardy-alpha-2 → none
Chris Cheney (ccheney)
Changed in openoffice.org:
assignee: ccheney → nobody
status: In Progress → 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.