LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-27-2005, 05:51 PM   #1
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Rep: Reputation: 15
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!!
 
Old 04-27-2005, 07:14 PM   #2
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
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.
 
Old 04-28-2005, 01:35 PM   #3
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Original Poster
Rep: Reputation: 15
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.
 
Old 04-28-2005, 03:09 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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.
 
Old 04-28-2005, 04:54 PM   #5
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Original Poster
Rep: Reputation: 15
Thank you... I will look into that file. Lets hope I can get this working now
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo install hangs on emerge system Moebius Linux - Software 3 09-19-2005 02:23 PM
Problems running emerge -u system Gentoo FreeThinkerJim Linux - Distributions 4 04-24-2005 11:36 PM
gentoo: emerge system: crap! lyonsd Linux - Distributions 4 02-14-2005 08:35 PM
Gentoo: emerge system fails AncAlAgoN Linux - Laptop and Netbook 2 05-23-2004 09:55 PM
Gentoo 1.4 dependency conflict in emerge system Rounan Linux - Distributions 9 03-05-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration