Bug 2239785 - obsolete/provide of fontawesome-fonts missing in fontawesome4-fonts
Summary: obsolete/provide of fontawesome-fonts missing in fontawesome4-fonts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontawesome4-fonts
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jerry James
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-20 07:39 UTC by Sandro Bonazzola
Modified: 2023-10-03 00:17 UTC (History)
1 user (show)

Fixed In Version: fontawesome4-fonts-4.7.0-19.fc39
Clone Of:
Environment:
Last Closed: 2023-10-03 00:17:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandro Bonazzola 2023-09-20 07:39:52 UTC
Upgrading from Fedora 38 to Fedora 39 beta leaves `fontawesome-fonts-4.7.0-15.fc38.noarch` orphan.

# package-cleanup --orphans --quiet|grep font 
fontawesome-fonts-1:4.7.0-15.fc38.noarch

# rpm -qa |grep fontawesome
fontawesome-fonts-4.7.0-15.fc38.noarch
fontawesome-fonts-web-6.4.2-1.fc39.noarch

dnf --quiet provides /usr/share/fonts/fontawesome/FontAwesome.otf
fontawesome-fonts-1:4.7.0-15.fc38.noarch : Iconic font set
Repo        : @System
Matched from:
Filename    : /usr/share/fonts/fontawesome/FontAwesome.otf

fontawesome4-fonts-1:4.7.0-18.fc39.noarch : Iconic font set
Repo        : fedora
Matched from:
Filename    : /usr/share/fonts/fontawesome/FontAwesome.otf

Looks like there's an obsoletes/provides missing in fontawesome4-fonts

Reproducible: Always

Steps to Reproduce:
1. upgrade from fc38 with fontawesome-fonts to 39 
2. check orphans
3.
Actual Results:  
fontawesome-fonts doesn't upgrade to fontawesome4-fonts

Expected Results:  
fontawesome-fonts upgrades to fontawesome4-fonts

Comment 1 Jerry James 2023-09-20 14:19:01 UTC
The fontawesome4-fonts package provides version 4.x of the FontAwesome fonts.  The fontawesome-fonts package provides version 6.x of the FontAwesome fonts.  The two versions are incompatible.  The lack of obsoletes/provides is intentional.  Neither replaces the other.  They're just different.

Hopefully, at some point we can retire fontawesome4-fonts.  That will require the remaining packages that need it to migrate to version 6.x though.

As for your issue, I don't understand what happened.  The fontawesome-fonts-1:4.7.0-15.fc38.noarch package should have been updated to fontawesome-fonts-1:6.4.2-1.fc39.  If you run "dnf upgrade fontawesome-fonts", do you get an error of some kind?

Comment 2 Sandro Bonazzola 2023-09-20 15:01:46 UTC
```
# dnf upgrade fontawesome-fonts
Last metadata expiration check: 1:59:22 ago on Wed Sep 20 14:57:47 2023.
Dependencies resolved.
Nothing to do.
Complete!

# dnf list --showduplicates fontawesome-fonts
Last metadata expiration check: 2:00:05 ago on Wed Sep 20 14:57:47 2023.
Installed Packages
fontawesome-fonts.noarch                                                               1:4.7.0-15.fc38                                                                @fedora

# dnf list --showduplicates fontawesome\*-fonts
Last metadata expiration check: 2:00:39 ago on Wed Sep 20 14:57:47 2023.
Installed Packages
fontawesome-fonts.noarch                                                                    1:4.7.0-15.fc38                                                           @fedora
Available Packages
fontawesome-6-brands-fonts.noarch                                                           1:6.4.2-1.fc39                                                            fedora 
fontawesome-6-free-fonts.noarch                                                             1:6.4.2-1.fc39                                                            fedora 
fontawesome4-fonts.noarch                                                                   1:4.7.0-18.fc39                                                           fedora 


looks like there's no such fontawesome-fonts-1:6.4.2-1.fc39

I see https://bodhi.fedoraproject.org/updates/FEDORA-2023-4744caf7f2 which has a build fontawesome-fonts-1:6.4.2-1.fc39 https://koji.fedoraproject.org/koji/buildinfo?buildID=2268773

But it builds:

src	
fontawesome-fonts-6.4.2-1.fc39.src.rpm (info) (download)
noarch
fontawesome-6-brands-fonts-6.4.2-1.fc39.noarch.rpm (info) (download)
fontawesome-6-free-fonts-6.4.2-1.fc39.noarch.rpm (info) (download)
fontawesome-fonts-all-6.4.2-1.fc39.noarch.rpm (info) (download)
fontawesome-fonts-web-6.4.2-1.fc39.noarch.rpm (info) (download)

so there is no fontawesome-fonts there.

Comment 3 Jerry James 2023-09-20 15:10:46 UTC
D'oh!  Yes, of course.  I will push a fix for this.  Thank you for the bug report.

Comment 4 Fedora Update System 2023-09-20 16:03:37 UTC
FEDORA-2023-4c5e2b27b2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4c5e2b27b2

Comment 5 Fedora Update System 2023-09-21 01:11:44 UTC
FEDORA-2023-4c5e2b27b2 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4c5e2b27b2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4c5e2b27b2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Sandro Bonazzola 2023-09-21 06:33:17 UTC
Reported issue has been fixed with fontawesome4-fonts-4.7.0-19.fc39

Comment 7 Fedora Update System 2023-10-03 00:17:17 UTC
FEDORA-2023-4c5e2b27b2 has been pushed to the Fedora 39 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.