Solved

How to update Portage in Gentoo Linux?

Posted on 2014-09-26
3
422 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 61

Expert Comment

by:gheist
Comment Utility
$ man emerge
/MASKED PACKAGES
0
 

Accepted Solution

by:
markbenham earned 0 total points
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

You cannot be 100% sure that you can protect your organization against crypto ransomware but you can lower down the risk and impact of the infection.
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now