I have a Gentoo based Linux OS on my computer. But the portage tree is too old, so while installing some apps there are errors.
I downloaded an new portage snapshot for replacing my old one. But I can’t remove my /usr/portage folder because all files included there are read-only.
As root, I run rm -rf /usr/portage
to delete it.
How can I remove portage folder to put my new portage snapshot there?
The normal procedure to update portage tree is to do
emerge --sync
You should also check Gentoo handbook.
Why can't you update this way?