Solved

How to update Portage in Gentoo Linux?

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access_log 17 118
Need to disable SSL Cipher 7 52
Linux script delete files 3 29
what is the best antivirus or internet security for windows 10 8 57
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…
Transferring data across the virtual world became simpler but protecting it is becoming a real security challenge.  How to approach cyber security  in today's business world!
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

786 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