Community Packages

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#71607 - [tesseract-data-osd] conflicting files with tesseract

Attached to Project: Community Packages
Opened by Yonggang Li (gnaggnoyil) - Saturday, 24 July 2021, 18:49 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 01 February 2022, 09:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Felix Yan (felixonmars)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Package tesseract-data-osd requires tesseract as its dependency while it has conflicting files with tesseract.

```
% sudo pacman -Syu tesseract-data-osd
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) tesseract-data-osd-2:4.1.0-1

Total Installed Size: 10.07 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [##################################################] 100%
(1/1) checking package integrity [##################################################] 100%
(1/1) loading package files [##################################################] 100%
(1/1) checking for file conflicts [##################################################] 100%
error: failed to commit transaction (conflicting files)
tesseract-data-osd: /usr/share/tessdata/osd.traineddata exists in filesystem (owned by tesseract)
Errors occurred, no packages were upgraded.
```

Additional info:

* Version of tesseract is 4.1.1-7

Steps to reproduce:

* pacman -Syu tesseract-data-osd
This task depends upon

Closed by  Caleb Maclennan (alerque)
Tuesday, 01 February 2022, 09:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  tesseract 5.0.1-3
Comment by Caleb Maclennan (alerque) - Tuesday, 01 February 2022, 09:07 GMT
I fixed this by removing the OSD files from the tesserect package and making that particular training data a required dependency (and not part of the regular group of other language data packages).

Loading...