Bug 2292942 - google-chrome wont install on Fedora after liberation-fonts was replaced with liberation-mono-fonts, liberation-sans-fonts and liberation-serif-fonts
Summary: google-chrome wont install on Fedora after liberation-fonts was replaced with...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: liberation-fonts
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-18 17:39 UTC by Mikhail
Modified: 2024-07-16 03:34 UTC (History)
9 users (show)

Fixed In Version: liberation-fonts-2.1.5-11.fc41
Clone Of:
Environment:
Last Closed: 2024-07-16 03:33:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1224 0 None None None 2024-06-19 08:03:31 UTC

Description Mikhail 2024-06-18 17:39:23 UTC
root@primary-ws ~# dnf upgrade --refresh --exclude="gtk4" --best --allowerasing
Updating and loading repositories:
 Fedora - Rawhide - Debug                                                                                                                                                                             100% |  14.7 KiB/s |   9.1 KiB |  00m01s
 RPM Fusion for Fedora Rawhide - Free                                                                                                                                                                 100% |  35.3 KiB/s |   8.3 KiB |  00m00s
 Fedora rawhide openh264 (From Cisco) - x86_64                                                                                                                                                        100% |   1.9 KiB/s | 989.0   B |  00m01s
 local repo                                                                                                                                                                                           100% |   0.0   B/s |   1.5 KiB |  00m00s
 Sublime Text - x86_64 - Dev                                                                                                                                                                          100% |   5.1 KiB/s |   2.9 KiB |  00m01s
 pgadmin4                                                                                                                                                                                             100% |   4.8 KiB/s |   3.8 KiB |  00m01s
 Fedora - Rawhide - Developmental packages for the next Fedora release                                                                                                                                100% |  15.1 KiB/s |  13.0 KiB |  00m01s
 RPM Fusion for Fedora Rawhide - Nonfree                                                                                                                                                              100% |  33.5 KiB/s |   8.6 KiB |  00m00s
 google-chrome-unstable                                                                                                                                                                               100% |  10.3 KiB/s |   1.3 KiB |  00m00s
Repositories loaded.
Package                                                                           Arch              Version                                                                           Repository                                          Size
Removing dependent packages:
 google-chrome-unstable                                                           x86_64            128.0.6535.2-1                                                                    google-chrome-unstable                         336.4 MiB
 liberation-fonts                                                                 noarch            1:2.1.5-9.fc40                                                                    rawhide                                          0.0   B
Upgrading:
 liberation-mono-fonts                                                            noarch            1:2.1.5-10.fc41                                                                   rawhide                                          1.2 MiB
   replacing liberation-mono-fonts                                                noarch            1:2.1.5-9.fc40                                                                    anaconda                                         1.1 MiB
   replacing liberation-fonts-common                                              noarch            1:2.1.5-9.fc40                                                                    anaconda                                        12.2 KiB
 liberation-sans-fonts                                                            noarch            1:2.1.5-10.fc41                                                                   rawhide                                          1.6 MiB
   replacing liberation-sans-fonts                                                noarch            1:2.1.5-9.fc40                                                                    anaconda                                         1.6 MiB
   replacing liberation-fonts-common                                              noarch            1:2.1.5-9.fc40                                                                    anaconda                                        12.2 KiB
 liberation-serif-fonts                                                           noarch            1:2.1.5-10.fc41                                                                   rawhide                                          1.5 MiB
   replacing liberation-serif-fonts                                               noarch            1:2.1.5-9.fc40                                                                    anaconda                                         1.5 MiB
   replacing liberation-fonts-common                                              noarch            1:2.1.5-9.fc40                                                                    anaconda                                        12.2 KiB

Transaction Summary:
 Upgrading:         3 packages
 Replacing:         4 packages
 Removing:          2 packages

Total size of inbound packages is 2 MiB. Need to download 2 MiB.
After this operation 336 MiB will be freed (install 4 MiB, remove 341 MiB).
Is this ok [y/N]: Y
[1/3] liberation-sans-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                                    100% | 926.7 KiB/s | 611.7 KiB |  00m01s
[2/3] liberation-mono-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                                    100% | 754.7 KiB/s | 507.1 KiB |  00m01s
[3/3] liberation-serif-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                                   100% | 898.3 KiB/s | 610.8 KiB |  00m01s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[3/3] Total                                                                                                                                                                                           100% |   1.3 MiB/s |   1.7 MiB |  00m01s
Running transaction
[ 1/11] Verify package files                                                                                                                                                                          100% | 272.0   B/s |   3.0   B |  00m00s
[ 2/11] Prepare transaction                                                                                                                                                                           100% |  27.0   B/s |   9.0   B |  00m00s
[ 3/11] Upgrading liberation-serif-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                       100% |  49.2 MiB/s |   1.5 MiB |  00m00s
[ 4/11] Upgrading liberation-sans-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                        100% |  80.2 MiB/s |   1.6 MiB |  00m00s
[ 5/11] Upgrading liberation-mono-fonts-1:2.1.5-10.fc41.noarch                                                                                                                                        100% |   2.2 MiB/s |   1.2 MiB |  00m01s
>>> Running pre-uninstall scriptlet: google-chrome-unstable-0:128.0.6535.2-1.x86_64
>>> Stop pre-uninstall scriptlet: google-chrome-unstable-0:128.0.6535.2-1.x86_64
[ 6/11] Erasing google-chrome-unstable-0:128.0.6535.2-1.x86_64                                                                                                                                        100% |   1.3 KiB/s | 106.0   B |  00m00s
>>> Running post-uninstall scriptlet: google-chrome-unstable-0:128.0.6535.2-1.x86_64
>>> Stop post-uninstall scriptlet: google-chrome-unstable-0:128.0.6535.2-1.x86_64
[ 7/11] Erasing liberation-fonts-1:2.1.5-9.fc40.noarch                                                                                                                                                100% |  24.4 KiB/s | 100.0   B |  00m00s
[ 8/11] Erasing liberation-mono-fonts-1:2.1.5-9.fc40.noarch                                                                                                                                           100% |   1.5 KiB/s |  12.0   B |  00m00s
[ 9/11] Erasing liberation-sans-fonts-1:2.1.5-9.fc40.noarch                                                                                                                                           100% |   1.7 KiB/s |  12.0   B |  00m00s
[10/11] Erasing liberation-serif-fonts-1:2.1.5-9.fc40.noarch                                                                                                                                          100% |   2.3 KiB/s |  12.0   B |  00m00s
[11/11] Erasing liberation-fonts-common-1:2.1.5-9.fc40.noarch                                                                                                                                         100% |   8.0   B/s |   8.0   B |  00m01s
>>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64
>>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64
>>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.i686
>>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.i686
>>> Running trigger-post-uninstall scriptlet: desktop-file-utils-0:0.26-12.fc40.x86_64
>>> Stop trigger-post-uninstall scriptlet: desktop-file-utils-0:0.26-12.fc40.x86_64
>>> Running trigger-post-uninstall scriptlet: man-db-0:2.12.1-1.fc41.x86_64
>>> Stop trigger-post-uninstall scriptlet: man-db-0:2.12.1-1.fc41.x86_64
root@primary-ws ~# dnf install /home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm
Updating and loading repositories:
 Fedora - Rawhide - Debug                                                                                                                                                                             100% |   8.1 MiB/s |  25.7 MiB |  00m03s
 RPM Fusion for Fedora Rawhide - Nonfree                                                                                                                                                              100% | 308.4 KiB/s | 321.3 KiB |  00m01s
 google-chrome-unstable                                                                                                                                                                               100% |  26.9 KiB/s |   6.8 KiB |  00m00s
 Fedora - Rawhide - Developmental packages for the next Fedora release                                                                                                                                100% |  14.0 MiB/s |  58.2 MiB |  00m04s
 pgadmin4                                                                                                                                                                                             100% |  67.6 KiB/s | 231.5 KiB |  00m03s
 RPM Fusion for Fedora Rawhide - Free                                                                                                                                                                 100% | 919.1 KiB/s | 827.2 KiB |  00m01s
 local repo                                                                                                                                                                                           100% | 135.0 MiB/s |   1.3 MiB |  00m00s
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides liberation-fonts needed by google-chrome-unstable-128.0.6535.2-1.x86_64 from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages
root@primary-ws ~ [1]# dnf install /home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm --best --allowerasing
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides liberation-fonts needed by google-chrome-unstable-128.0.6535.2-1.x86_64 from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages
root@primary-ws ~ [1]# 



Reproducible: Always

Comment 1 Parag Nemade 2024-06-19 02:20:09 UTC
Where can we find upstream for google-chrome-unstable package? We need to report them to use new liberation font package name and path.

Comment 2 Mikhail 2024-06-19 05:24:09 UTC
(In reply to Parag Nemade from comment #1)
> Where can we find upstream for google-chrome-unstable package?
https://www.google.com/chrome/dev/?platform=linux&extra=devchannel

> We need to report them to use new liberation font package name and path.
https://issues.chromium.org/issues/348031031

Comment 3 Parag Nemade 2024-06-19 08:00:56 UTC
I realized that when liberation-fonts package updated to follow new packaging guidelines then as per update, there is no liberation-fonts binary rpm generated now. The issue we found is in %fontmetapkg macro which does not provided a way to add Obsoletes:/Provides: tags.

I am getting help from Akira Tagoh to fix fonts-rpm-macros package to provide that functionality. Once we see that is implemented, we will fix this package.

Meanwhile, broken packages using 
BuildRequires: liberation-fonts
should move to use
BuildRequires: liberation-fonts-all
in their SPEC files.

Comment 4 Parag Nemade 2024-06-19 08:02:18 UTC
(In reply to Mikhail from comment #2)
> (In reply to Parag Nemade from comment #1)
> > Where can we find upstream for google-chrome-unstable package?
> https://www.google.com/chrome/dev/?platform=linux&extra=devchannel
> 
> > We need to report them to use new liberation font package name and path.
> https://issues.chromium.org/issues/348031031

Thank you for reporting this upstream. They can switch to use new package name "liberation-fonts-all" or wait for this package to be fixed which will again start providing "liberation-fonts" package name.

Comment 5 Jens Petersen 2024-06-25 05:20:26 UTC
Could you please test again: this should be fixed in liberation-fonts-2.1.5-11.fc41

Comment 6 Jens Petersen 2024-06-25 05:25:07 UTC
Seems to work fine for me anyway

Comment 7 Parag Nemade 2024-07-13 11:54:43 UTC
This is working fine now. See
[test@rawhide ~]$ sudo dnf install Downloads/google-chrome-unstable_current_x86_64.rpm
Updating and loading repositories:
Repositories loaded.
Package                 Arch   Version                  Repository          Size
Installing:
 google-chrome-unstable x86_64 128.0.6585.0-1           @commandline   341.7 MiB
Installing dependencies:
 liberation-fonts-all   noarch 1:2.1.5-11.fc41          rawhide          0.0   B
 liberation-mono-fonts  noarch 1:2.1.5-11.fc41          rawhide          1.2 MiB
 liberation-sans-fonts  noarch 1:2.1.5-11.fc41          rawhide          1.6 MiB
 liberation-serif-fonts noarch 1:2.1.5-11.fc41          rawhide          1.5 MiB

Transaction Summary:
 Installing:        5 packages

Total size of inbound packages is 110 MiB. Need to download 2 MiB.
After this operation 346 MiB will be used (install 346 MiB, remove 0 B).
Is this ok [y/N]: y
[1/4] liberation-fonts-all-1:2.1.5-11.f 100% |   9.9 KiB/s |   7.9 KiB |  00m01s
[2/4] liberation-sans-fonts-1:2.1.5-11. 100% | 221.9 KiB/s | 611.7 KiB |  00m03s
[3/4] liberation-serif-fonts-1:2.1.5-11 100% | 308.9 KiB/s | 610.9 KiB |  00m02s
[4/4] liberation-mono-fonts-1:2.1.5-11. 100% | 158.3 KiB/s | 507.2 KiB |  00m03s
--------------------------------------------------------------------------------
[4/4] Total                             100% | 542.0 KiB/s |   1.7 MiB |  00m03s
Running transaction
[1/7] Verify package files              100% |   8.0   B/s |   5.0   B |  00m01s
[2/7] Prepare transaction               100% |  14.0   B/s |   5.0   B |  00m00s
[3/7] Installing liberation-fonts-all-1 100% |   6.7 KiB/s | 124.0   B |  00m00s
>>> Running pre-install scriptlet: google-chrome-unstable-0:128.0.6585.0-1.x86_6
>>> Stop pre-install scriptlet: google-chrome-unstable-0:128.0.6585.0-1.x86_64
[4/7] Installing google-chrome-unstable 100% |  41.3 MiB/s | 341.7 MiB |  00m08s
>>> Running post-install scriptlet: google-chrome-unstable-0:128.0.6585.0-1.x86_
>>> Stop post-install scriptlet: google-chrome-unstable-0:128.0.6585.0-1.x86_64
[5/7] Installing liberation-serif-fonts 100% |  20.5 MiB/s |   1.5 MiB |  00m00s
[6/7] Installing liberation-sans-fonts- 100% |  10.5 MiB/s |   1.6 MiB |  00m00s
[7/7] Installing liberation-mono-fonts- 100% |   1.2 MiB/s |   1.2 MiB |  00m01s
>>> Running trigger-install scriptlet: desktop-file-utils-0:0.26-12.fc40.x86_64
>>> Stop trigger-install scriptlet: desktop-file-utils-0:0.26-12.fc40.x86_64
>>> Running trigger-install scriptlet: man-db-0:2.12.1-1.fc41.x86_64
>>> Stop trigger-install scriptlet: man-db-0:2.12.1-1.fc41.x86_64
>>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64
>>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64
Warning: skipped PGP checks for 1 package from repository: @commandline
Complete!
[test@rawhide ~]$


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