Issue 127774 - Updating 4.1.5 to 4.2.0 fails with error
Summary: Updating 4.1.5 to 4.2.0 fails with error
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 4.2.0-dev
Hardware: All Linux, all
: P3 Normal (vote)
Target Milestone: 4.2.0
Assignee: AOO issues mailing list
QA Contact:
Keywords: regression
: 127645 128062 (view as issue list)
Depends on:
Reported: 2018-05-07 21:07 UTC by Pedro
Modified: 2019-03-18 18:46 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.6
Developer Difficulty: Medium
pedlino: 4.2.0_release_blocker?


Note You need to log in before you can comment on or make changes to this issue.
Description Pedro 2018-05-07 21:07:30 UTC
Bug happens with the very recent version 
AOO420m1(Build:9800) - Rev. 1830998
2018-05-05_20:25:59 - Rev. 1831002

The last version that updates correctly from 4.1.5 to 4.2.0 is r1816311 from Jim's archive

All newer versions return

dpkg: error processing archive openoffice-core01_4.2.0-1_amd64.deb (--install):
trying to overwrite '/opt/openoffice4/program/', which is also in package openoffice-gnome-integration 4.1.5-1

Errors were encountered while processing:

I'm using the following commands

sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb

If I run sudo dpkg -i openoffice-core01*.deb again, it works. But this is a workaround.
Comment 1 Matthias Seidel 2018-09-15 10:46:36 UTC
Confirmed by several user reports.
Comment 2 damjan 2018-09-22 08:28:42 UTC
In the latest trunk:

$ grep gconfbe1 scp2 -R
scp2/source/gnome/file_gnome.scp:    Name = STRING(CONCAT2(,UNXSUFFIX));

and that main/scp2/source/gnome/file_gnome.scp has:

File gid_File_Lib_Gconfbe
    Styles = (PACKED);
    Dir = SCP2_OOO_BIN_DIR;

That file is identical in branches/AOO410, branches/AOO415, and branches/AOO416.

Where does that DEB come from?
Comment 3 damjan 2018-09-22 09:26:07 UTC
Apparently in main/setup_native/source/packinfo/packinfo_office.txt:

module = "gid_Module_Optional_Gnome"
packagename = "%BASISPACKAGEPREFIX-gnome-integration"
linuxreplaces = "ooobasis3.0-gnome-integration,ooobasis3.1-gnome-integration,ooobasis3.2-gnome-integration,ooobasis3.3-gnome-integration,ooobasis3.4-gnome-integration"
freebsdrequires = "%BASISPACKAGEPREFIX-core01"
requires = "%BASISPACKAGEPREFIX-core01"
findrequires = ""
copyright = "2012-2018 by The Apache Software Foundation"
solariscopyright = "solariscopyrightfile"
vendor = "Apache Software Foundation"
description = "Gnome integration module for %APACHEPROJECTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%OOOPACKAGEVERSION"

but the only changes to that file between branches/AOO4xx and trunk are to copyright years.
Comment 4 Pedro 2018-09-23 14:46:28 UTC
(In reply to damjan from comment #2)

> That file is identical in branches/AOO410, branches/AOO415, and
> branches/AOO416.

That is expected. The bug is in the trunk (4.2.0) not in branch 4.1.x
> Where does that DEB come from?

From the Buildbot. Example AOO420m1(Build:9800) - Rev. 1841506
Comment 5 Pedro 2019-01-25 11:15:34 UTC
Bug still occurs with build 4.2.0-dev-r1851640
Propose as Release Blocker
Comment 6 Mechtilde 2019-03-13 19:43:09 UTC
(In reply to damjan from comment #3 and#2)

I saw that message today (2019-03-13).

This means the file changes from the deb package openoffice-gnome-integration 4.1.6-1 to openoffice-core01_4.2.0-1

This is an issue of packaging.

If you can tell me the location where I can find the definition which files go into which packages I will have a look.

Kind regards

Comment 7 Mechtilde 2019-03-13 19:45:51 UTC
*** Issue 128062 has been marked as a duplicate of this issue. ***
Comment 8 Mechtilde 2019-03-18 18:46:04 UTC
*** Issue 127645 has been marked as a duplicate of this issue. ***