centos 7 fresh install on virtual box

General support questions
Post Reply
Mustafa1234
Posts: 1
Joined: 2020/05/26 14:15:59

centos 7 fresh install on virtual box

Post by Mustafa1234 » 2020/05/26 14:18:28

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



thanks.

bonedome
Posts: 201
Joined: 2017/04/22 08:11:04

Re: centos 7 fresh install on virtual box

Post by bonedome » 2020/05/27 23:50:46

Hello
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

Post Reply