Can't inbstall updates - says out of space...

Hello! I have read related forums, but still can not figure what to do.
What I was trying is to update via Yast, but at some point it stuck and could not proceed, complaining on out of space.

In of the thread I heard that I should do

sudo rpmdb --rebuilddb 

But this result in same

failed to create directory /var/lib/rpmrebuilddb.5623: No space left on device

My df-i

/dev/sdb2              0      0         0     - /
devtmpfs         1008401    536   1007865    1% /dev
tmpfs            1018777      6   1018771    1% /dev/shm
tmpfs            1018777    749   1018028    1% /run
tmpfs            1018777     15   1018762    1% /sys/fs/cgroup
/dev/sdb2              0      0         0     - /.snapshots
/dev/sdb2              0      0         0     - /var/tmp
/dev/sdb2              0      0         0     - /var/spool
/dev/sdb2              0      0         0     - /var/opt
/dev/sdb2              0      0         0     - /var/log
/dev/sdb2              0      0         0     - /var/lib/pgsql
/dev/sdb2              0      0         0     - /var/lib/named
/dev/sdb2              0      0         0     - /var/lib/mailman
/dev/sdb2              0      0         0     - /var/crash
/dev/sdb2              0      0         0     - /usr/local
/dev/sdb2              0      0         0     - /tmp
/dev/sdb2              0      0         0     - /srv
/dev/sdb2              0      0         0     - /opt
/dev/sdb2              0      0         0     - /boot/grub2/x86_64-efi
/dev/sdb2              0      0         0     - /boot/grub2/i386-pc

my df -h

/dev/sdb2        41G   14G   27G  35% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G   84K  3.9G   1% /dev/shm
tmpfs           3.9G  2.2M  3.9G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sdb2        41G   14G   27G  35% /.snapshots
/dev/sdb2        41G   14G   27G  35% /var/tmp
/dev/sdb2        41G   14G   27G  35% /var/spool
/dev/sdb2        41G   14G   27G  35% /var/opt
/dev/sdb2        41G   14G   27G  35% /var/log
/dev/sdb2        41G   14G   27G  35% /var/lib/pgsql
/dev/sdb2        41G   14G   27G  35% /var/lib/named
/dev/sdb2        41G   14G   27G  35% /var/lib/mailman
/dev/sdb2        41G   14G   27G  35% /var/crash
/dev/sdb2        41G   14G   27G  35% /usr/local
/dev/sdb2        41G   14G   27G  35% /tmp
/dev/sdb2        41G   14G   27G  35% /srv
/dev/sdb2        41G   14G   27G  35% /opt
/dev/sdb2        41G   14G   27G  35% /boot/grub2/x86_64-efi
/dev/sdb2        41G   14G   27G  35% /boot/grub2/i386-pc
/dev/sdb3       424G  164G  261G  39% /home

I already had that issue with btrfs when opensuse stopped boot, so I had to delete snapshots that brrfs made, and then I configured it to keep only 2 of them… I guess it could be another btrfs trick?

Well, “rpmdb --rebuilddb” doesn’t help with disk full problems… :wink:

I already had that issue with btrfs when opensuse stopped boot, so I had to delete snapshots that brrfs made, and then I configured it to keep only 2 of them… I guess it could be another btrfs trick?

Probably.
How exactly did you configure it to keep only 2 of them?
Check in YaST->Snapper (or “snapper list”) if you really only have 2 snapshots. If there are more, delete some.

Also try to run:

btrfs fi balance start <*/mountpoint*> -dusage=5

(see https://www.suse.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/trbl_btrfs_volfull.html)