On Thu, Feb 06, 2025 at 07:50:24AM -0500, Neal Gompa wrote: > On Thu, Feb 6, 2025 at 7:18 AM Zbigniew Jędrzejewski-Szmek > <zbyszek@xxxxxxxxx> wrote: > > > > Hi, > > > > I was looking at early system installation, and we have filesystem, > > basesystem, and setup, all competing for the title of the early > > filesystem setup… It seems that basesystem is the easiest to > > eliminate: it has no files and no scriptlets. > > > > https://src.fedoraproject.org/rpms/filesystem/pull-request/20 adds > > Provides+Obsolets: basesystem to filesystem. If that is merged, we can > > retire basesystem. > > > > The change is simple, but maybe there's some tricky dependency somewhere, > > so I'm putting fedora-devel in CC. > > > > As far as I know, the only reason basesystem still exists is to deal > with alphabetical sequencing for the transaction. Interesting. So you're saying that 'basesystem' sorts relatively early, so rpm ends up putting it early in the installation order? I think we're already expressing the ordering dependencies properly, because w/o separate basesystem, I get the same installation order: $ sudo dnf install --installroot=/var/tmp/inst6 --use-host-config --repo=rawhide --setopt=install_weak_deps=0 alternatives -y [ 1/19] Verify package files 100% | 515.0 B/s | 17.0 B | 00m00s [ 2/19] Prepare transaction 100% | 1.2 KiB/s | 17.0 B | 00m00s [ 3/19] Installing fedora-release-identity-basic-0:42-0.16.noarch 100% | 476.6 KiB/s | 976.0 B | 00m00s [ 4/19] Installing fedora-repos-rawhide-0:42-0.4.noarch 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 5/19] Installing fedora-gpg-keys-0:42-0.4.noarch 100% | 21.3 MiB/s | 174.8 KiB | 00m00s [ 6/19] Installing fedora-repos-0:42-0.4.noarch 100% | 2.8 MiB/s | 5.7 KiB | 00m00s [ 7/19] Installing fedora-release-common-0:42-0.16.noarch 100% | 11.8 MiB/s | 24.1 KiB | 00m00s [ 8/19] Installing fedora-release-0:42-0.16.noarch 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 9/19] Installing setup-0:2.15.0-10.fc42.noarch 100% | 50.7 MiB/s | 726.5 KiB | 00m00s [10/19] Installing filesystem-0:3.18-36.fc42.x86_64 100% | 2.6 MiB/s | 212.4 KiB | 00m00s [11/19] Installing basesystem-0:11-22.fc42.noarch 100% | 121.1 KiB/s | 124.0 B | 00m00s [12/19] Installing ncurses-base-0:6.5-5.20250125.fc42.noarch 100% | 49.1 MiB/s | 352.2 KiB | 00m00s [13/19] Installing libgcc-0:15.0.1-0.6.fc42.x86_64 100% | 131.0 MiB/s | 268.3 KiB | 00m00s [14/19] Installing glibc-common-0:2.40.9000-35.fc42.x86_64 100% | 68.0 MiB/s | 1.0 MiB | 00m00s [15/19] Installing bash-0:5.2.37-1.fc42.x86_64 100% | 255.3 MiB/s | 8.2 MiB | 00m00s [16/19] Installing ncurses-libs-0:6.5-5.20250125.fc42.x86_64 100% | 186.1 MiB/s | 952.8 KiB | 00m00s [17/19] Installing glibc-minimal-langpack-0:2.40.9000-35.fc42.x86_64 100% | 60.5 KiB/s | 124.0 B | 00m00s [18/19] Installing glibc-0:2.40.9000-35.fc42.x86_64 100% | 53.7 MiB/s | 6.7 MiB | 00m00s [19/19] Installing alternatives-0:1.31-3.fc42.x86_64 100% | 297.0 KiB/s | 67.7 KiB | 00m00s $ sudo dnf install --installroot=/var/tmp/inst6 --use-host-config --repo=rawhide --setopt=install_weak_deps=0 alternatives -y \ ~/fedora/filesystem/x86_64/filesystem-3.18-38.fc43.x86_64.rpm [ 1/18] Verify package files 100% | 551.0 B/s | 16.0 B | 00m00s [ 2/18] Prepare transaction 100% | 1.1 KiB/s | 16.0 B | 00m00s [ 3/18] Installing fedora-release-identity-basic-0:42-0.16.noarch 100% | 953.1 KiB/s | 976.0 B | 00m00s [ 4/18] Installing fedora-repos-rawhide-0:42-0.4.noarch 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 5/18] Installing fedora-gpg-keys-0:42-0.4.noarch 100% | 19.0 MiB/s | 174.8 KiB | 00m00s [ 6/18] Installing fedora-repos-0:42-0.4.noarch 100% | 5.6 MiB/s | 5.7 KiB | 00m00s [ 7/18] Installing fedora-release-common-0:42-0.16.noarch 100% | 11.8 MiB/s | 24.1 KiB | 00m00s [ 8/18] Installing fedora-release-0:42-0.16.noarch 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 9/18] Installing setup-0:2.15.0-10.fc42.noarch 100% | 54.6 MiB/s | 726.5 KiB | 00m00s [10/18] Installing filesystem-0:3.18-38.fc43.x86_64 100% | 2.6 MiB/s | 212.4 KiB | 00m00s [11/18] Installing ncurses-base-0:6.5-5.20250125.fc42.noarch 100% | 49.1 MiB/s | 352.2 KiB | 00m00s [12/18] Installing libgcc-0:15.0.1-0.6.fc42.x86_64 100% | 131.0 MiB/s | 268.3 KiB | 00m00s [13/18] Installing ncurses-libs-0:6.5-5.20250125.fc42.x86_64 100% | 186.1 MiB/s | 952.8 KiB | 00m00s [14/18] Installing glibc-0:2.40.9000-35.fc42.x86_64 100% | 56.4 MiB/s | 6.7 MiB | 00m00s [15/18] Installing bash-0:5.2.37-1.fc42.x86_64 100% | 272.3 MiB/s | 8.2 MiB | 00m00s [16/18] Installing glibc-common-0:2.40.9000-35.fc42.x86_64 100% | 72.9 MiB/s | 1.0 MiB | 00m00s [17/18] Installing glibc-minimal-langpack-0:2.40.9000-35.fc42.x86_64 100% | 121.1 KiB/s | 124.0 B | 00m00s [18/18] Installing alternatives-0:1.31-3.fc42.x86_64 100% | 345.5 KiB/s | 67.7 KiB | 00m00s Warning: skipped OpenPGP checks for 1 package from repository: @commandline The installation order would be something to keep an eye on. Zbyszek -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue