Page 1 of 1

centos 7 fresh install on virtual box

Posted: 2020/05/26 14:18:28
by Mustafa1234
Hello everyone,

I am almost new to unix world.

I successfuly ─▒nstalled centos 7 on virtual box, got snapshot etc.

it is fresh new install

when I try to run 'sudo yum update'

it says '375 MB space need on / filesystem'

I searched internet

and runned 'df -h'

it says 1.8G avaliable on /dev/mapper/centos-root (325 MB on /boot avaliable)

also run 'yum clean all'

it says 2.9G avaliable on /dev/mapper/centos-root (325 MB on /boot avaliable)

then try 'yum update' again, but result is the same , space requirement error.

I cannot figure out the problem.

any suggestions


Re: centos 7 fresh install on virtual box

Posted: 2020/05/27 23:50:46
by bonedome
I had the same problem myself recently, only with a fresh install of fedora 31.
I got round it by updating in chunks
I think the problem is that there are two versions of every updated package on the system until the old ones are deleted and when it's a fresh install that's a lot of updates.
If you check the terminal output of what's being updated, try again but exclude some of the larger packages, for example

Code: Select all

sudo yum update -x samba* kernel*
if still not enough space, update various packages, I ended up doing this several times until there was enough space to run dnf upgrade without errors