LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo - updating system question (emerge) (https://www.linuxquestions.org/questions/linux-distributions-5/gentoo-updating-system-question-emerge-317847/)

elitecodex 04-27-2005 05:51 PM

Gentoo - updating system question (emerge)
 
Im a bit confused regarding the emerge system and was wondering if someone could shed a little bit of light on it.

I am trying to update my system by using "emerge -avuD world". Then I get an error message "All ebuilds that could satisfy '=sys-libs/db-4.2*' have been masked". So just for the heck of it, I tried to update only db. So when I did "emerge -avuD db" I recieved a list of about 20 packages that had to be unmerged and about 7 that were new... I dont understand. Im a bit uneasy about unmerging those packages... especially when some of them are binutils, gcc, qt...

Can anyone help me out with this? Im still learning the portage system.

Thanks alot!!

mikieboy 04-27-2005 07:14 PM

From Linux Reviews.org:

"Some packages are masked , meaning they won't install unless they are specifically demanded.

A package may be masked because it fails to compile or has serious bugs. It may also simply be masked because the latest version to brand new and therefore not tested enough to be included in the main portage tree.

Masked does not mean dangerous or unstable. Usually the latest stable release is what is used by default, while the development releases are masked.

A package can be masked for one, a few or all architectures (x86, ppc, sparc, sparc64, or alpha).

To install a masked package on x86:

ACCEPT_KEYWORDS="~x86" emerge mozilla-firebird-cvs

It is quite possible to set ACCEPT_KEYWORDS="~x86" in /etc/make.conf. This is generally a bad idea, specially if you have no idea what you are doing.

To check for the latest masked version of a package:

ACCEPT_KEYWORDS="~x86" emerge -pv gimp

Some packages do not want to be installed even if you are using ACCEPT_KEYWORDS="~x86". These packages are randomly specified by the nice gentoo development theme and configured in:

/usr/portage/profiles/package.mask

If you are wondering if there is a later version of a package than what is available as a masked package in portage, try:

grep gimp /usr/portage/profiles/package.mask

If this shows you a line like..

>=media-gfx/gimp-1.3

.. then edit package.mask and add a # in front of that line, or:

mv package.mask package.mask.tmp
sed s/gimp/#gimp/g > package.mask "

In other words, your error message is simply telling you that it is unwise to update that particular package, so I recommend that you don't do it. I would just run "emerge -uD world" and let portage get on with it.

elitecodex 04-28-2005 01:35 PM

My problem is that when I do "emerge -uavD world" I get this output

Code:

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! All ebuilds that could satisfy "=sys-libs/db-4.2*" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/db-4.2.52_p1 (masked by: ~x86 keyword)
- sys-libs/db-4.2.52_p2 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "kde-base/kdeaddons-3.4.0" [ebuild])


!!! Problem with ebuild kde-base/kde-3.4.0
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


comprookie2000 04-28-2005 03:09 PM

The recommended way is to create the file /etc/portage/package.keywords Here's mine:
Code:

media-fonts/artwiz-aleczapka-en ~x86
gnome-extra/gdesklets-core ~x86
dev-python/gnome-python ~x86
dev-python/pyorbit ~x86
x11-plugins/desklet-starterbar ~x86
x11-plugins/desklet-goodweather ~x86
x11-plugins/desklet-weather ~x86
x11-plugins/desklet-psisensors ~x86
x11-plugins/desklet-psiextras ~x86
x11-plugins/desklet-psidisplays ~x86
x11-plugins/desklet-clock ~x86
gnome-base/libgtop ~x86
net-www/nvu ~x86
x11-themes/gdeskcal-skins ~x86
app-editors/cssed ~x86
www-apps/egroupware ~x86
net-mail/pop2imap ~x86
net-analyzer/snortalog ~x86
dev-perl/HTML-HTMLDoc ~x86
net-analyzer/acid ~x86
dev-php/jpgraph ~x86

That way when you upgrade next time they won't be downgraded.

elitecodex 04-28-2005 04:54 PM

Thank you... I will look into that file. Lets hope I can get this working now :)


All times are GMT -5. The time now is 09:04 AM.