Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22211 - [libreoffice] conflicts between extensions

Attached to Project: Arch Linux
Opened by Luca Bennati (lucak3) - Saturday, 25 December 2010, 16:06 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 31 December 2010, 08:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The same files existing in many libreoffice extensions prevent them to be installed because of obvious conflicts.

Additional info:

* package version(s)
libreoffice 3.3.0.2-1, libreoffice-it 3.3.0.1-1, libreoffice-extension-* 3.3.0.2-1

* config and/or log files etc.

$ LANG=C sudo pacman -Syu libreoffice-{dictionaries,extension-{ct2n,diagram,nlpsolver,pdfimport,wiki-publisher}}
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
arch-games is up to date
:: Starting full system upgrade...
warning: libvdpau: ignoring package upgrade (0.4.1-1 => 0.4-1)
resolving dependencies...
looking for inter-conflicts...

Targets (6): libreoffice-dictionaries-3.3.0.2-1 libreoffice-extension-ct2n-3.3.0.2-1 libreoffice-extension-diagram-3.3.0.2-1 libreoffice-extension-nlpsolver-3.3.0.2-1
libreoffice-extension-pdfimport-3.3.0.2-1 libreoffice-extension-wiki-publisher-3.3.0.2-1

Total Download Size: 0.00 MB
Total Installed Size: 159.28 MB

Proceed with installation? [Y/n]
checking package integrity...
(6/6) checking for file conflicts [---------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-diagram'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-diagram'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-nlpsolver'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-nlpsolver'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/Addons.xcu exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-ct2n' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-nlpsolver'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-nlpsolver'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-diagram' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-nlpsolver' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-nlpsolver' and 'libreoffice-extension-pdfimport'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-nlpsolver' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-nlpsolver' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/META-INF/manifest.xml exists in both 'libreoffice-extension-pdfimport' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/description.xml exists in both 'libreoffice-extension-pdfimport' and 'libreoffice-extension-wiki-publisher'
/usr/lib/ooo-3.3/share/extensions/libreoffice/help/component.txt exists in both 'libreoffice-extension-pdfimport' and 'libreoffice-extension-wiki-publisher'
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 31 December 2010, 08:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 3.3.0.2-2; we don't ship the dicts anymore. we use now system dicts. fixed the extensions paths.
Comment by Balló György (City-busz) - Saturday, 25 December 2010, 17:54 GMT
Because all extensions installed to libreoffice subfolder. In splitted PKGBUILDs, the $pkgname variable is an array, so $pkgname always means libreoffice (aka ${pkgname[0]}. The ${pkgname} variable should be replaced by the name of package in splitted packages:

unzip ${srcdir}/${pkgbase}-build-${_LOver}/build/libreoffice-${pkgver}/solver/${_OFFICEUPD}/unxlng*/bin/presentation-minimizer.oxt -d ${pkgdir}/usr/lib/ooo-3.3/share/extensions/[PACKAGE_NAME_HERE]
Comment by what now? (whoops) - Saturday, 25 December 2010, 21:52 GMT
Same with libreoffice-dictionaries and any of the libreoffice-[lang] packages (tested 'fr' & 'de')
$ LC_ALL=C sudo pacman -S libreoffice-dictionaries
resolving dependencies...
looking for inter-conflicts...

Targets (1): libreoffice-dictionaries-3.3.0.2-1

Total Download Size: 0.00 MB
Total Installed Size: 156.00 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [############################] 100%
error: failed to commit transaction (conflicting files)
libreoffice-dictionaries: /usr/lib/ooo-3.3/share/extensions/dict-de-DE/COPYING exists in filesystem
libreoffice-dictionaries: /usr/lib/ooo-3.3/share/extensions/dict-de-DE/COPYING_OASIS exists in filesystem
[and more]
Comment by Balló György (City-busz) - Sunday, 26 December 2010, 07:45 GMT
It seems that LibreOffice developers are included spell check dictionaries into language packs in RC2. So libreoffice-dictionaries package no longer required, and the --with-dict=ALL configure flag can be replaced by --with-dict="" in libreoffice PKGBUILD.

UPDATE: however there are still conflicts e.g. between libreoffice-en-GB and libreoffice-en-ZA, which contain the same dict-en extension. And it seems that dict-de-AT and dict-de-CH are not packaged in any language packs, so It's maybe better to remove spelling dictionaries from language packs.

I attached a simple patch for libreoffice-i18n PKGBUILD, which removes dictionaries from language packs.
Comment by Andreas Radke (AndyRTR) - Wednesday, 29 December 2010, 08:23 GMT
I'm going to fix the extension path names.

I'm still unsure if we should keep one big dictionary extension and remove them from the langpacks or if we should better leave them in the langpacks and don't build them anymore from the main pkg. In the long view we should add generic myspell dicts usable for OOo/LibO and the Mozilla projects like Rene from Debian does.

Loading...