Hello, I’ve encountered a problem when updating kernel-source. It’s the same via Yast and zypper.
Here are details:
zypper up kernel-source
Retrieving repository 'OpenSuse Education' metadata ............................................................................................................................................................................[done]
Building repository 'OpenSuse Education' cache .................................................................................................................................................................................[done]
Retrieving repository 'Packman Multimedia' metadata ............................................................................................................................................................................[done]
Building repository 'Packman Multimedia' cache .................................................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
kernel-source-3.16.7-24.1
1 new package to install.
Overall download size: 0 B. Already cached: 77.1 MiB After the operation, additional 471.3 MiB will be used.
Continue? [y/n/? shows all options] (y): y
In cache kernel-source-3.16.7-24.1.noarch.rpm (1/1), 77.1 MiB (471.3 MiB unpacked)
Checking for file conflicts: ...................................................................................................................................................................................................[done]
(1/1) Installing: kernel-source-3.16.7-24.1 ...................................................................................................................................................................................[error]
Installation of kernel-source-3.16.7-24.1 failed:
Error: Subprocess failed. Error: RPM failed: installing package kernel-source-3.16.7-24.1.noarch needs 298MB on the / filesystem
Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint.
Why do need kernel-source?
You generally use that to either re-build the kernel or parts of the kernel.
Most often, Users only need the kernel headers to modify the kernel or build kernel modules, install using the following
zypper in kernel-devel
After that, whenever your kernel is updated, the headers should also update automatically but sometimes they might get out of sync. Only if that happens then updating the system will re-sync versions
On 2015-08-17 13:26, GazetaCypr wrote:
>
> With
>> df -h /
> there was not enough space.
> As suggested in the posts there was no need to keep kernel-source. I
> removed it.
On 08/17/2015 01:56 AM, GazetaCypr wrote:
>
> Hello, I’ve encountered a problem when updating kernel-source. It’s the
> same via Yast and zypper.
> Here are details:
>
>
> Code:
> --------------------
>
> zypper up kernel-source
> Retrieving repository ‘OpenSuse Education’ metadata …[done]
> Building repository ‘OpenSuse Education’ cache …[done]
> Retrieving repository ‘Packman Multimedia’ metadata …[done]
> Building repository ‘Packman Multimedia’ cache …[done]
> Loading repository data…
> Reading installed packages…
> Resolving package dependencies…
>
> The following NEW package is going to be installed:
> kernel-source-3.16.7-24.1
>
> 1 new package to install.
> Overall download size: 0 B. Already cached: 77.1 MiB After the operation, additional 471.3 MiB will be used.
> Continue? [y/n/? shows all options] (y): y
> In cache kernel-source-3.16.7-24.1.noarch.rpm (1/1), 77.1 MiB (471.3 MiB unpacked)
> Checking for file conflicts: …[done]
> (1/1) Installing: kernel-source-3.16.7-24.1 …[error]
> Installation of kernel-source-3.16.7-24.1 failed:
> Error: Subprocess failed. Error: RPM failed: installing package kernel-source-3.16.7-24.1.noarch needs 298MB on the / filesystem
>
>
> Abort, retry, ignore? [a/r/i] (a): a
> Problem occured during or after installation or removal of packages:
> Installation aborted by user
>
> Please see the above error message for a hint.
>
> --------------------
>
>
Looks like you don’t have enough space on /
Check to see how full the file system is using
somewhere abov. (I doubt, but I may have missed it). When not, please do so. We are not clairvoyant and thus we can not even know if your usage is extreme or not.