Solved

How to update Portage in Gentoo Linux?

Posted on 2014-09-26
3
501 Views
Last Modified: 2014-10-22
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
0
Comment
Question by:markbenham
  • 2
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40348492
$ man emerge
/MASKED PACKAGES
0
 

Accepted Solution

by:
markbenham earned 0 total points
ID: 40387306
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
 

Author Closing Comment

by:markbenham
ID: 40396454
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cybersecurity has become the buzzword of recent years and years to come. The inventions of cloud infrastructure and the Internet of Things has made us question our online safety. Let us explore how cloud- enabled cybersecurity can help us with our b…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question