rpm complains about insufficient disk space
This document (7024136) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop
Situation
After that the rpm is stored in e.g.
/var/cache/zypp/packages/SMT-http_lab-solar_system_com:SLES12-SP4-Updates/noarch
Trying to install from there with rpm -Uv
rpm -Uv kernel-source-4.12.14-95.32.1.noarch.rpm
Preparing packages...
installing package kernel-source-4.12.14-95.32.1.noarch needs 377MB on the /usr/src filesystem
Which is confusing since there is more space available like:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-src 3.9G 3.2G 426M 89% /usr/src
Resolution
honey123:~ # df -h /usr/src
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-src 3.9G 2.7G 959M 75% /usr/src
rpm -Uv kernel-source-4.12.14-95.32.1.noarch.rpm
Preparing packages...
kernel-source-4.12.14-95.32.1.noarch
After installation:
honey123:~ # df -h /usr/src
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-src 3.9G 3.5G 196M 95% /usr/src
Difference 959-196=763Mb
What the message actually means is: 377Mb more....426Mb+377Mb=803Mb
763Mb plus a little overhead as the package needs to be extracted and uncompressed during installation.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7024136
- Creation Date: 24-Sep-2019
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com