Bug 1949570 - /usr/share/info/annobin.info.gz file conflicts
Summary: /usr/share/info/annobin.info.gz file conflicts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: annobin
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-14 14:49 UTC by Martin Cermak
Modified: 2021-04-19 12:56 UTC (History)
4 users (show)

Fixed In Version: annobin-9.66-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-16 13:46:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Cermak 2021-04-14 14:49:03 UTC
I've hit this upgrade time issue:

Error: Transaction test error:
  file /usr/share/info/annobin.info.gz from install of annobin-9.65-2.fc35.x86_64 conflicts with file from package annobin-docs-9.66-1.fc35.noarch


Since annobin-docs.noarch seems to be new in annobin-9.66-1.fc35: 

https://koji.fedoraproject.org/koji/buildinfo?buildID=1732837
https://koji.fedoraproject.org/koji/buildinfo?buildID=1734614

I think the new version should Obsolete the older versions to avoid this kind of conflict.

Comment 1 Petr Pisar 2021-04-16 10:38:36 UTC
annobin-9.66-2.fc35 does not fixes it:

# dnf --allowerasing upgrade --best  --enablerepo=f35-build 
Last metadata expiration check: 0:22:21 ago on Fri 16 Apr 2021 12:15:29 PM CEST.
Error: 
 Problem: problem with installed package redhat-rpm-config-183-1.fc35.noarch
  - cannot install the best update candidate for package redhat-rpm-config-183-1.fc35.noarch
  - package redhat-rpm-config-183-1.fc35.noarch requires (annobin if (gcc or clang)), but none of the providers can be installed
  - cannot install the best update candidate for package annobin-9.65-2.fc35.x86_64
  - package annobin-docs-9.66-2.fc35.noarch obsoletes annobin < 9.66-2.fc35 provided by annobin-9.65-2.fc35.x86_64
  - problem with installed package gcc-11.0.1-0.4.fc35.x86_64
  - cannot install the best update candidate for package gcc-11.0.1-0.4.fc35.x86_64

Comment 2 Petr Pisar 2021-04-16 11:04:38 UTC
I will fix it properly. The Obsoletes are wrong, they cause uninstalling packages. Moreover the docs package must be required by all the other ones because it packages a license.

Comment 3 Petr Pisar 2021-04-16 11:41:10 UTC
Fixed in dist-git. Somebody needs to untag the broken annobin.
Also please look at related rpm-redhat-config bug #1950310.

Comment 4 Petr Pisar 2021-04-16 11:44:47 UTC
A request for untagging the old annobin <https://pagure.io/releng/issue/10090>.

Comment 5 Martin Cermak 2021-04-16 13:46:09 UTC
Thank you, Petr

Comment 6 Fedora Update System 2021-04-19 12:56:56 UTC
FEDORA-2021-0a76ee686a has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.