** Description changed:

- Got a message from Libreoffice package extractor at resuming my machine
- after a su pension
+ [ Impact ]
  
- "package localsearch-extractor-office (not installed) failed to
- install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-
- gnu/localsearch-3.0/extract-modules/libextract-epub.so', which is also
- in package tracker-extract (3.8.2-4ubuntu2.1)"
+ Upgrades from questing to resolute fail when localsearch-extractor-office
+ is installed in some circumstances: dpkg refuses to unpack with a 
file-overwrite error on libextract-epub.so, leaving the system partially 
upgraded and blocking
+ further package operations.
  
- ProblemType: Package
- DistroRelease: Ubuntu 26.04
- Package: localsearch-extractor-office (not installed)
- Uname: Linux 7.0.0-070000-generic x86_64
- ApportVersion: 2.34.0-0ubuntu2
- Architecture: amd64
- CasperMD5CheckResult: pass
- Date: Mon May 18 16:34:16 2026
- ErrorMessage: trying to overwrite 
'/usr/lib/x86_64-linux-gnu/localsearch-3.0/extract-modules/libextract-epub.so', 
which is also in package tracker-extract (3.8.2-4ubuntu2.1)
- InstallationDate: Installed on 2025-10-14 (217 days ago)
- InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
- Python3Details: /usr/bin/python3.14, Python 3.14.4, python3-minimal, 
3.14.3-0ubuntu2
- PythonDetails: N/A
- RelatedPackageVersions:
-  dpkg 1.23.7ubuntu1
-  apt  3.2.0
- SourcePackage: localsearch
- Title: package localsearch-extractor-office (not installed) failed to 
install/upgrade: trying to overwrite 
'/usr/lib/x86_64-linux-gnu/localsearch-3.0/extract-modules/libextract-epub.so', 
which is also in package tracker-extract (3.8.2-4ubuntu2.1)
- UpgradeStatus: Upgraded to resolute on 2026-05-18 (1 days ago)
+ localsearch 3.11 split files previously shipped by tracker-extract into
+ new extractor subpackages, but the Breaks/Replaces against tracker-extract
+ (<< 3.11~) was only declared on localsearch, not on the subpackages that
+ took ownership of the conflicting paths.
+ 
+ The fix adds Breaks/Replaces: tracker-extract (<< 3.11~) to
+ localsearch-extractor-office (and the other affected extractor subpackages).
+ 
+ [ Test Plan ]
+ 
+   lxc launch ubuntu:25.10 lstest
+   lxc exec lstest -- bash
+   apt update && apt -y full-upgrade
+   apt -y install tracker-extract
+   sed -i 's/questing/resolute/g' /etc/apt/sources.list.d/ubuntu.sources
+   apt update
+   apt-mark hold tracker-extract
+   apt -y install localsearch-extractor-office
+ 
+ Unfixed: fails with "trying to overwrite '.../libextract-epub.so', which
+ is also in package tracker-extract".
+ 
+ With the fix applied: install completes; dpkg -L localsearch-extractor-office
+ | grep epub shows the file is now owned by the new package.
+ 
+ The -ffmpeg and -iso subpackages don't ship conflicting files.
+ 
+ [ Where problems could occur ]
+ 
+ The change is limited to debian/control metadata.
+ 
+ - Wrong version constraint could permit overwrites against a still-current
+   tracker-extract. Mitigated: version matches the actual source split.
+ - Third-party packages restoring tracker-extract's old file shipping would
+   have those files silently taken over. Intended, but could surprise users
+   in unusual configurations.
+ 
+ [ Other Info ]
+ 
+ The original report came from an upgrade interrupted by suspend/resume,
+ but the conflict is latent for any interrupted release upgrade, partial
+ dist-upgrade, or held tracker-extract. Extractor subpackages are Suggests
+ in Ubuntu (Recommends in Debian) for MIR reasons, which limits but does
+ not eliminate exposure.

** Changed in: localsearch (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153123

Title:
  [SRU] localsearch-extractor-office fails to install: file conflict
  with tracker-extract on libextract-epub.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/localsearch/+bug/2153123/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to