How to update Portage in Gentoo Linux?

Hi Guys,

I'm trying to update bash on Gentoo linux from:

version 3.2.17(1) to bash-3.2_p52-r1

Here is what it come back with when I run:

 emerge --ask --oneshot --verbose ">=app-shells/bash-3.2_p52-r1"

==========
Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=app-shells/bash-3.2_p52-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-shells/bash-4.3_p25-r1 (masked by: EAPI 4, invalid: SLOT is undefined)
- app-shells/bash-4.2_p48-r1 (masked by: EAPI 4, invalid: SLOT is undefined)
- app-shells/bash-4.1_p12-r1 (masked by: EAPI 4, invalid: SLOT is undefined)
- app-shells/bash-4.0_p39-r1 (masked by: EAPI 4, invalid: SLOT is undefined)
- app-shells/bash-3.2_p52-r1 (masked by: EAPI 4, invalid: SLOT is undefined)

The current version of portage supports EAPI '2'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
=========

It says I need to upgrade to a newer version of portage but when I run:

emerge portage

It comes back with:

======
!!! All ebuilds that could satisfy ">=sys-devel/make-3.82" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/make-4.0-r1 (masked by: EAPI 4, invalid: SLOT is undefined)
- sys-devel/make-3.82-r4 (masked by: missing keyword)

The current version of portage supports EAPI '2'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "sys-apps/portage-2.2.12" [ebuild])
(dependency required by "portage" [argument])
=======

My question is, how can I upgrade to a newer version of portage so I can update bash?


Many thanks
markbenhamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
$ man emerge
/MASKED PACKAGES
0
markbenhamAuthor Commented:
I've decided to build a new server with Debian Distro in the end as the gentoo server was just too old.

Many Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
markbenhamAuthor Commented:
There was no point in trying to upgrade gentoo as it was just too old. So decided to build a new server with Debian as the distro
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.