Solved

How to update Portage in Gentoo Linux?

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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.

911 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

19 Experts available now in Live!

Get 1:1 Help Now