Why reposync fails with the error "Download failed: Curl error (23): Failed writing received data to disk/application"
Issue
-
The Reposync command
reposync -p /<path> --download-metadata --repo=rhel-8-for-x86_64-baseos-rpms
fails with errorcli.run() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run return self.command.run() File "/usr/lib/python3.6/site-packages/dnf-plugins/reposync.py", line 135, in run self.download_metadata(repo) File "/usr/lib/python3.6/site-packages/dnf-plugins/reposync.py", line 226, in download_metadata repo._repo.downloadMetadata(repo_target) File "/usr/lib64/python3.6/site-packages/libdnf/repo.py", line 403, in downloadMetadata return _repo.Repo_downloadMetadata(self, destdir) RuntimeError: Yum repo downloading error: Downloading error(s): repodata/3250e61a9e1be4e5c30ec5f7bfdcccb19d9b4690b3d2d11a461f6eae41bea5a9-primary.xml.gz - Download failed: Curl error (23): Failed writing received data to disk/application for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/3250e61a9e1be4e5c30ec5f7bfdcccb19d9b4690b3d2d11a461f6eae41bea5a9-primary.xml.gz [Failed writing body (915 != 16384)];
Environment
- Red Hat Enterprise Linux 9.
- Red Hat Enterprise Linux 8.
- Red Hat Enterprise Linux 7.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.