dnf/yum transaction results in "Failed to write files: Invalid argument" error

Solution Verified - Updated -

Issue

A dnf/yum transaction involving grafana (or another package) results in "Failed to write files: Invalid argument" error, like so:

Running transaction
  Preparing        :                                                                                                                                                                          1/1
  Installing       : grafana-pcp-5.1.1-1.el8.x86_64                                                                                                                                           1/2
  Running scriptlet: grafana-9.2.10-7.el8_9.x86_64                                                                                                                                            2/2
Creating group dnsmasq with gid 981.
Creating user dnsmasq (Dnsmasq DHCP and DNS server) with uid 981 and gid 981.
Failed to write files: Invalid argument
error: %prein(grafana-9.2.10-7.el8_9.x86_64) scriptlet failed, exit status 1

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content