Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2134013

Summary: DNF fails on none English systems
Product: Red Hat Enterprise Linux 9 Reporter: Frank Büttner <bugzilla>
Component: dnfAssignee: Marek Blaha <mblaha>
Status: CLOSED DUPLICATE QA Contact: swm-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: james.antill, mblaha
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-09 07:57:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Büttner 2022-10-12 06:56:51 UTC
Description of problem:
On systems using none English LANG environment, the install/update of pre downloaded packages fails.

Version-Release number of selected component (if applicable):
dnf-4.10.0-5.el9_0.noarch

How reproducible:
Every time

Steps to Reproduce:
1. wait until packages are downloaded (for example via dnf-automatic)
2. try to install the updates via dnf update

Actual results:
The updates fails with:
Die heruntergeladenen Pakete wurden bis zur nächsten erfolgreichen Transaktion im Zwischenspeicher abgelegt.
Sie können zwischengespeicherte Pakete mit dem Befehl »dnf clean packages« entfernen.
Fehler: Fehler beim Herunterladen der Pakete:
  puppet-agent-7.20.0-1.el9.x86_64: Already downloaded

Expected results:
Working updates

Additional info:
Call the same with an English LANG environment will work. 
Sample:
 echo $LANG;dnf update
de_DE.UTF-8
Puppet 7 Repository el 9 - x86_64                                                                                                                                                                             1.1 kB/s | 819  B     00:00    
Abhängigkeiten sind aufgelöst.
==============================================================================================================================================================================================================================================
 Package                                                     Architecture                                          Version                                                        Repository                                             Size
==============================================================================================================================================================================================================================================
Aktualisieren:
 puppet-agent                                                x86_64                                                7.20.0-1.el9                                                   puppet                                                 23 M

Transaktionsübersicht
==============================================================================================================================================================================================================================================
Aktualisieren  1 Paket

Gesamtgröße: 23 M
Ist dies in Ordnung? [j/N]: j
Pakete werden heruntergeladen:
[SKIPPED] puppet-agent-7.20.0-1.el9.x86_64.rpm: Already downloaded                                                                                                                                                                           

Die heruntergeladenen Pakete wurden bis zur nächsten erfolgreichen Transaktion im Zwischenspeicher abgelegt.
Sie können zwischengespeicherte Pakete mit dem Befehl »dnf clean packages« entfernen.
Fehler: Fehler beim Herunterladen der Pakete:
  puppet-agent-7.20.0-1.el9.x86_64: Already downloaded


 LANG=C.UTF-8;echo $LANG;dnf update
C.UTF-8
Last metadata expiration check: 0:00:16 ago on Wed Oct 12 08:54:39 2022.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                     Architecture                                          Version                                                        Repository                                             Size
==============================================================================================================================================================================================================================================
Upgrading:
 puppet-agent                                                x86_64                                                7.20.0-1.el9                                                   puppet                                                 23 M

Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade  1 Package

Total size: 23 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] puppet-agent-7.20.0-1.el9.x86_64.rpm: Already downloaded                                                                                                                                                                           
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Running scriptlet: puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                     1/2 
  Upgrading        : puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                     1/2 
  Running scriptlet: puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                     1/2 
  Running scriptlet: puppet-agent-7.19.0-1.el9.x86_64                                                                                                                                                                                     2/2 
  Cleanup          : puppet-agent-7.19.0-1.el9.x86_64                                                                                                                                                                                     2/2 
  Running scriptlet: puppet-agent-7.19.0-1.el9.x86_64                                                                                                                                                                                     2/2 
Failed to set unit properties on puppet.service: Unit puppet.service is masked.

  Running scriptlet: puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                     2/2 
  Running scriptlet: puppet-agent-7.19.0-1.el9.x86_64                                                                                                                                                                                     2/2 
  Verifying        : puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                     1/2 
  Verifying        : puppet-agent-7.19.0-1.el9.x86_64                                                                                                                                                                                     2/2 

Upgraded:
  puppet-agent-7.20.0-1.el9.x86_64                                                                                                                                                                                                            

Complete!

Comment 2 Marek Blaha 2022-11-09 07:57:37 UTC

*** This bug has been marked as a duplicate of bug 2070967 ***