Re: Upgrade error problem in F41

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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\*

?

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"!
-- 
_______________________________________________
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




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux