Todays zypper dup - install of i686 kernel fails

Hi!

On this older Atom board

https://forums.opensuse.org/showthread.php/553789-Install-headless-via-serial-console-only-How

todays zypper dup ended with an error while trying to install kernel 5.12


sudo zypper dup

...

( 71/104) Installing: kernel-pae-5.12.4-1.1.i686 ........................................[error]
Installation of kernel-pae-5.12.4-1.1.i686 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): r
( 71/104) Installing: kernel-pae-5.12.4-1.1.i686 ........................................[error]
Installation of kernel-pae-5.12.4-1.1.i686 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): r
( 71/104) Installing: kernel-pae-5.12.4-1.1.i686 ........................................[error]
Installation of kernel-pae-5.12.4-1.1.i686 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): 


Any hint what’s going wrong?

That did install without problems here.

Hmmm, I think I see the problem

df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        991M     0  991M   0% /dev
tmpfs           998M     0  998M   0% /dev/shm
tmpfs           400M  836K  399M   1% /run
/dev/sda1       2.9G  2.6G  211M  93% /
tmpfs           998M     0  998M   0% /tmp
tmpfs           200M     0  200M   0% /run/user/1000

Have to get rid of some stuff, I guess…

fdisk -l
Disk /dev/sda: 3.74 GiB, 4017807360 bytes, 7847280 sectors
Disk model: CF 4GB          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x62696779

Device     Boot   Start     End Sectors   Size Id Type
/dev/sda1  *       2048 6293503 6291456     3G 83 Linux
/dev/sda2       6293504 7847279 1553776 758.7M 82 Linux swap / Solaris

Is it possible to shrink swap while running? Guess not… But is it safe to shutdown the machine now with half of the updates installed?

swapoff, repartition, swapon

OK

swapoff -a

then deleting swap in Yast, increasing / and creating a smaller swap followed by

swapon

and the zypper dup succeeded. :smiley:

fdisk -l
Disk /dev/sda: 3.74 GiB, 4017807360 bytes, 7847280 sectors
Disk model: CF 4GB          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x62696779

Device     Boot   Start     End Sectors   Size Id Type
/dev/sda1  *       2048 7342079 7340032   3.5G 83 Linux
/dev/sda2       7342080 7847279  505200 246.7M 82 Linux swap / Solaris