Bug 2312891 - liberation-fonts doesn't gets auto-replaced with liberation-fonts-all on F40 -> F41 upgrade (rpm-ostree rebase)
Summary: liberation-fonts doesn't gets auto-replaced with liberation-fonts-all on F40 ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: liberation-fonts
Version: 41
Hardware: All
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-09-17 18:11 UTC by Mateus Rodrigues Costa
Modified: 2024-09-26 03:06 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-26 03:04:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mateus Rodrigues Costa 2024-09-17 18:11:31 UTC
When upgrading from Fedora Silverbue 40 to Fedora Silverblue 41, liberation-fonts wasn't properly replaced with liberation-fonts-all, causing dependency issues

I managed to fix it manually but ideally it should have been replaced automatically.

The dependency error message (which I didn't copy as I had borken terminal due to a separate GTK issue) basically seemed to be from liberation-fonts rewuiring specific versions of the sans, serif and mono fonts, preventing their upgrades.

Reproducible: Always

Steps to Reproduce:
1. Upgrade from F40 to F41 Beta with liberation-fonts installed
2. Check for dependency slving issues
3.
Actual Results:  
Dependency issues on Fedorea Silveblue 41

Expected Results:  
No issues

Interestingly the problem only appeared on my first transaction after the F41 rebase

Comment 1 Parag Nemade 2024-09-18 06:47:45 UTC
I don't think there is any issue with liberation fonts upgrade. At least default installation working fine. 
Here is complete log I am pasting for your reference.

1) Install Fedora 40 Silverblue and check which liberation packages are default installed
test@fedora:~$ rpm-ostree status 
State: idle
Deployments:
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240917.0 (2024-09-17T00:51:13Z)
                   Commit: fefc4b917590012af3ce9d1ad8a75a6f659b6e22edc6f923c5bfc617e2aafb1d
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
  
  fedora:fedora/40/x86_64/silverblue
                  Version: 40.1.14 (2024-04-14T18:18:37Z)
                   Commit: bd7f37d916d0cfb7d4bda5176c96fc8161e4c55a0de82f6504e40f111f713722
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
test@fedora:~$ rpm -qa |grep liberation
liberation-fonts-common-2.1.5-9.fc40.noarch 
liberation-mono-fonts-2.1.5-9.fc40.noarch
liberation-sans-fonts-2.1.5-9.fc40.noarch
liberation-serif-fonts-2.1.5-9.fc40.noarch

2) now upgrade this system to Fedora 41. The upgrade output is very long so pasting required sections here
test@fedora:~$ rpm-ostree rebase fedora:fedora/41/x86_64/silverblue
⠤ Receiving objects; 99% (16492/16504) 313.2 kB/s 359.3 MB                                                                                                    1919 metadata, 14636 content objects fetched; 355207 KiB transferred in 1149 seconds; 620.9 MB content written
Receiving objects; 99% (16492/16504) 313.2 kB/s 359.3 MB... done
Staging deployment... done
Upgraded:
....
....
liberation-mono-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
liberation-sans-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
liberation-serif-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
....
....
Downgraded:
.....
.....
Removed:
.....
.....
liberation-fonts-common-1:2.1.5-9.fc40.noarch
.....
.....
Changes queued for next boot. Run "systemctl reboot" to start a reboot

There is no issue with upgrade.

Note liberation-fonts is not default installed in Fedora 40 Silverblue installation.

Comment 2 Parag Nemade 2024-09-18 07:06:26 UTC
I did one more experiment on same machine. I did not reboot upgraded packages instead rollback to F40 and then layered liberation-fonts package as
test@fedora:~$ rpm-ostree status 
State: idle
Deployments:
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240917.0 (2024-09-17T00:51:13Z)
               BaseCommit: fefc4b917590012af3ce9d1ad8a75a6f659b6e22edc6f923c5bfc617e2aafb1d
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
          LayeredPackages: liberation-fonts

  fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240917.0 (2024-09-17T00:51:13Z)
                   Commit: fefc4b917590012af3ce9d1ad8a75a6f659b6e22edc6f923c5bfc617e2aafb1d
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC

test@fedora:~$ rpm -qa | grep liberation
liberation-fonts-common-2.1.5-9.fc40.noarch
liberation-mono-fonts-2.1.5-9.fc40.noarch
liberation-sans-fonts-2.1.5-9.fc40.noarch
liberation-serif-fonts-2.1.5-9.fc40.noarch
liberation-fonts-2.1.5-9.fc40.noarch

test@fedora:~$ rpm-ostree rebase fedora:fedora/41/x86_64/silverblue
⠂ Receiving metadata objects: 1/(estimating) 65 bytes/s 196 bytes...                                                                                          2 metadata, 0 content objects fetched; 788 B transferred in 5 seconds; 0 bytes content written
Receiving metadata objects: 1/(estimating) 65 bytes/s 196 bytes... done
Checking out tree 8cc8df7... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-11T19:22:31Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'fedora' (cached); generated: 2024-09-17T08:34:09Z solvables: 77263
rpm-md repo 'updates-archive' (cached); generated: 2024-08-16T12:55:57Z solvables: 0
Resolving dependencies... done
Will download: 1 package (8.3 kB)
Downloading from 'fedora'... done
Importing packages... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 2.7 GB (pkgcache branches: 0)
Upgraded:
....
....
liberation-mono-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
liberation-sans-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
liberation-serif-fonts 1:2.1.5-9.fc40 -> 1:2.1.5-12.fc41
....
....
Downgraded:
.....
.....
Removed:
.....
.....
liberation-fonts-1:2.1.5-9.fc40.noarch
liberation-fonts-common-1:2.1.5-9.fc40.noarch
.....
.....
Added:
.....
.....
liberation-fonts-all-1:2.1.5-12.fc41.noarch
....
....
Changes queued for next boot. Run "systemctl reboot" to start a reboot


So I conclude there is no issue in upgrade for liberation fonts packages.

Comment 3 Mateus Rodrigues Costa 2024-09-25 17:28:35 UTC
Weird, IIRC when I upgraded the commit from the day 17 wans't available yet.

Anyway, this is the error message I got at the time:

```
set 17 11:51:58 centauro rpm-ostree[14680]: Loaded sysroot
set 17 11:51:58 centauro rpm-ostree[14680]: Locked sysroot
set 17 11:51:58 centauro rpm-ostree[14680]: Initiated txn UpdateDeployment for client(id:cli dbus:1.509 unit:session-6.scope uid:1000): /org/projectatomic/rpmostree1/fedora
set 17 11:51:58 centauro rpm-ostree[14680]: Process [pid: 14670 uid: 1000 unit: session-6.scope] connected to transaction progress
set 17 11:51:59 centauro rpm-ostree[14680]: Librepo version: 1.18.1 with CURL_GLOBAL_ACK_EINTR support (libcurl/8.9.1 OpenSSL/3.2.2 zlib/1.3.1.zlib-ng libidn2/2.3.7 nghttp2/1.62.1)
set 17 11:52:04 centauro rpm-ostree[14680]: Preparing pkg txn; enabled repos: [] solvables: 0
set 17 11:52:05 centauro rpm-ostree[14680]: Txn UpdateDeployment on /org/projectatomic/rpmostree1/fedora failed: Não foi possível resolver as dependências da transação; 1 problema detectado:
                                             Problema: solicitações conflitantes
                                              - nothing provides liberation-mono-fonts = 1:2.1.5-9.fc40 needed by liberation-fonts-1:2.1.5-9.fc40.noarch from @commandline
                                              - nothing provides liberation-sans-fonts = 1:2.1.5-9.fc40 needed by liberation-fonts-1:2.1.5-9.fc40.noarch from @commandline
                                              - nothing provides liberation-serif-fonts = 1:2.1.5-9.fc40 needed by liberation-fonts-1:2.1.5-9.fc40.noarch from @commandline

```

Guess it got fixed somehow later.

Comment 4 Parag Nemade 2024-09-26 03:06:14 UTC
No changes happened to liberation-fonts packaging since 19th June 2024. You must have been using stale mirror.


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