On 06.10.24 13:39, Michael Schwendt wrote:
On Sun, 6 Oct 2024 12:55:08 +0200, Joachim Backes wrote:
Having a problem when upgrading an installed F41:
...
sudo dnf upgrade
Breaks with:
transaction failed: Rpm transaction failed.
- file /usr/lib64/libtesseract.so.5.4.1 from install of
tesseract-libs-5.4.1-4.fc41.x86_64 conflicts with file from package
tesseract-5.4.1-2.fc41.x86_64
Anybody could solve this problem??
You ought to see release 4 for tesseract not only release 4 for tesseract-libs.
Which packages of tesseract* are installed prior to this upgrade attempt?
rpm -qa tesseract\*
?
rpm -qa tesseract*
tesseract-tessdata-doc-4.1.0-8.fc41.noarch
tesseract-langpack-deu-4.1.0-8.fc41.noarch
tesseract-langpack-eng-4.1.0-8.fc41.noarch
tesseract-5.4.1-2.fc41.x86_64
Kind regards
Joachim Backes
Also, there's some odd activity in the tesseract.spec file related to
a package split:
https://src.fedoraproject.org/rpms/tesseract/c/85fd62953a661694f5ce9300066114b4a38cc9f0?branch=rawhide
92 %package libs
93 Summary: Shared libraries for %{name}
94 + Conflicts: %{name} < 5.4.1-4
Why?! The package builds both "tesseract" and "tesseract-libs", and
since the tesseract executables depend on the shared libs implicitly,
an upgrade would pull in this new -libs subpackage _and_ upgrade
the main tesseract package at the same time.
No need to explicit "Conflits"!
--
Fedora release 41 (Forty One)
6.11.2-300.fc41.x86_64
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
https://www-user.rhrk.uni-kl.de/~backes/
--
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue