You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: YUM/DNF Fails with "Curl error (23): Failed writing received data to disk/application for"

edited Jan 24, 2024 4:39PM in Linux

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!