Bug 1967339

Summary: Obsoletes of annobin is too low-versioned
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: annobinAssignee: Nick Clifton <nickc>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: fweimer, jakub, nickc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: annobin-9.73-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 15:24:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2021-06-02 23:04:28 UTC
annobin-docs in Rawhide has this:

Obsoletes: %{name} < 9.66-1

however, it's not doing the job, because annobin in F34 has reached 9.72-2.fc34 (and even F33 has 9.68-2.fc33), but without doing the package name change. So upgrades from F33 or F34 to Rawhide fail if annobin is installed, with an error like:

file /usr/lib/gcc/x86_64-redhat-linux/11/plugin/annobin.so.0.0.0 from install of annobin-plugin-gcc-9.73-1.fc35.x86_64 conflicts with file from package annobin-9.72-2.fc34.x86_64
file /usr/lib/gcc/x86_64-redhat-linux/11/plugin/annobin.so.0.0.0 from install of annobin-plugin-gcc-9.73-1.fc35.x86_64 conflicts with file from package annobin-9.72-2.fc34.x86_64

you could bump the version manually (and remember to keep bumping it), or you could change it to:

Obsoletes: %{name} < %{version}-%{release}

which I think should do the trick. As long as we don't wind up with a newer annobin in F34 than in Rawhide at any point.

Comment 1 Nick Clifton 2021-06-03 11:26:35 UTC
Ok, I have added the change to annobin-9.73-2.fc35.

Comment 2 Ben Cotton 2021-08-10 13:41:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 3 Ben Cotton 2022-11-29 16:58:23 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-12-13 15:24:31 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.