OCI: YUM/DNF Fails with "Curl error (23): Failed writing received data to disk/application for"
Applies to:
Oracle Cloud Infrastructure
Linux x86-64
Symptoms:
While running “yum
” or “dnf
” commands (like the “yum update
” command), the package's download operation is aborted and fails with the below error:
Error: Error downloading packages: <package>: Download failed: Curl error (23): Failed writing received data to disk/application for http://<repository>/<package>.rpm [Failed writing body (1664 != 16384)]
Cause:
The filesystem that supports the “/var/
” folder (usually the root filesystem) does not have enough free space.
The “df -TPh /var/
” and “df -TPi /var/
” commands can be used to confirm this.
Solution
Increase the root filesystem by following OCI: How to Expand the Root Filesystem to Use The Available Space in the Boot Volume
Tagged:
0