Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-36178

Disable downloading file lists by default

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • rhel-10.0.beta
    • dnf
    • None
    • rhel-sst-cs-software-management
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      Feature, enhancement: DNF, by default, does not download file lists when caching repository metadata.
      Reason: Downloading repository metadata took long because the file lists are typically large. Contrary there were very few packages which required the file lists for a correct dependency resolution. This enhancement was implemented to speed up caching the metadata on user's systems and to have DNF tool ready for package management tasks sooner.
      Result: DNF does not download the file lists by default. Refreshing the repository metadata is significantly faster now. A downside is that package dependencies on files out of /etc, /usr/bin, and /usr/sbin directories won't be resolved unless the file lists are downloaded. Users who prefer compatibility over speed can re-enable downloading file lists by adding "filelists" value to "optional_metadata_types" option in /etc/dnf/dnf.conf configuration file. Red Hat Enterprise Linux 10 repositories were optimized not to need the file lists. Third-party repositories might be the case when enabling downloading the file lists is required.
      Show
      Feature, enhancement: DNF, by default, does not download file lists when caching repository metadata. Reason: Downloading repository metadata took long because the file lists are typically large. Contrary there were very few packages which required the file lists for a correct dependency resolution. This enhancement was implemented to speed up caching the metadata on user's systems and to have DNF tool ready for package management tasks sooner. Result: DNF does not download the file lists by default. Refreshing the repository metadata is significantly faster now. A downside is that package dependencies on files out of /etc, /usr/bin, and /usr/sbin directories won't be resolved unless the file lists are downloaded. Users who prefer compatibility over speed can re-enable downloading file lists by adding "filelists" value to "optional_metadata_types" option in /etc/dnf/dnf.conf configuration file. Red Hat Enterprise Linux 10 repositories were optimized not to need the file lists. Third-party repositories might be the case when enabling downloading the file lists is required.
    • Proposed
    • None

      dnf is not supposed to download filelists by default. This optimization broke insights-client (RHEL-28748). This feature was temporarily disabled (RHEL-28665) as a quick stopgap.

      insights-client was fixed in insights-client-3.2.2-4.el10 build as is now in build root and nightly compose.

      I propose disabling downloading filelists again.

              packaging-team-maint packaging-team-maint
              rhn-support-ppisar Petr Pisar
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: