Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unexpected packages appearing in emerge attempts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Duminas
n00b
n00b


Joined: 07 Sep 2005
Posts: 68

PostPosted: Sat Apr 08, 2006 4:22 am    Post subject: Unexpected packages appearing in emerge attempts Reply with quote

To put a long story short, I run a machine which uses Openbox (quite minimalist, in this regard). At present, there are only ~260 packages installed, and I would like it to be kept this way as much as I can. However, `emerge -upvDN world` results in some odd packages being listed. I have no Gnome-reliant things installed which I would think would be dragging these in (nor do I use sendmail or similar), so I'm at a bit of a loss. The packages to which I am referring are below:
Code:
[ebuild  N    ] net-mail/mailbase-1
[ebuild  N    ] mail-mta/ssmtp-2.61
[ebuild  N    ] x11-themes/gnome-themes-2.12.3
[ebuild  N    ] x11-themes/hicolor-icon-theme-0.8
[ebuild  N    ] x11-themes/gnome-icon-theme-2.12.1

No matter what I do, emerge ALWAYS wants to pull those in (with the -u and -D flags--the former will drag in less, but it still catches some things I don't need). I am not sure what info I should provide beyond `emerge --info`, so that is below.
Code:
Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Unknown CPU Typ
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ja_JP.UTF-8"
LC_ALL="ja_JP.UTF-8"
LINGUAS="ja_JP.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa cjk mmx nls perl python readline sse unicode utf8 linguas_ja_JP.UTF-8 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS

Would a list of installed packages be of use here, or no? I'm guessing those five packages cited somewhere above are getting dragged out of the default profile or somesuch, but I am pretty unfamiliar with this particular aspect of Gentoo, so any help with this would be appreciated. Or might I just be better off masking those packages? I want to try and figure out why they're coming in, but this has been bugging me for a few days, now.
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Sat Apr 08, 2006 4:41 am    Post subject: Reply with quote

If you don't already have gentoolkit installed, emerge it. Then, for each of the mystery packages:
Code:
equery depends mailbase
...
equery depends gnome-icon-theme
That should tell you what package is pulling them in.

You wouldn't be getting any Gnome packages as part of the base system defined in your profile. I run a couple of Gentoo servers with no graphical packages whatsoever installed on them.

If you have any programs that want to send email alerts, mailbase and ssmtp would be the most minimal mail software that would be installed to do this. You may find that whatever packages require this have USE flags that let you disable this function and get rid of those packages.
Back to top
View user's profile Send private message
Duminas
n00b
n00b


Joined: 07 Sep 2005
Posts: 68

PostPosted: Sat Apr 08, 2006 4:55 am    Post subject: Reply with quote

Thanks.
Quite odd, though--running `equery depends [program]` on those five above returns nothing for any of them, rendering me confused as ever. Since the list of installed packages is very large, I have saved it to a text file and uploaded it to my server. It can be found here.

The next step I think I'm going to take is running `equery hasuse -i gnome` to see if anything installed is wanting gnome things, and re-merge those packages with -gnome. Any other flags I should be trying against?
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Apr 08, 2006 5:09 am    Post subject: Reply with quote

Add the t flag to emerge to see the dependency tree.
Code:
emerge -uDNtpv world
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Sat Apr 08, 2006 5:13 am    Post subject: Reply with quote

Duminas wrote:
Quite odd, though--running `equery depends [program]` on those five above returns nothing for any of them

Not just odd, quite impossible! You have packages on your list that have some of these 5 packages as dependencies. Did you just use the package name without the version number? Including the version would cause the query to fail.

Here are the results for my system:
Code:
equery depends mailbase
[ Searching for packages depending on mailbase... ]
mail-mta/postfix-2.2.10

equery depends gnome-themes
[ Searching for packages depending on gnome-themes... ]
gnome-base/nautilus-2.14.0
gnome-base/gnome-2.13.92
gnome-base/libgnomeui-2.14.0

equery depends hicolor-icon-theme
[ Searching for packages depending on hicolor-icon-theme... ]
x11-themes/gnome-icon-theme-2.14.2

equery depends gnome-icon-theme
[ Searching for packages depending on gnome-icon-theme... ]
mail-client/evolution-2.6.0
gnome-base/nautilus-2.14.0
gnome-base/libgnomeprintui-2.12.1
gnome-base/gnome-2.13.92
gnome-base/libgnomeui-2.14.0
gnome-extra/gtkhtml-3.10.0
gnome-extra/gtkhtml-3.2.5
gnome-extra/gtkhtml-3.6.2
www-client/epiphany-2.14.0
media-video/totem-1.4.0

Any MTA would require mailbase, including ssmtp which I don't have installed. You should try "equery depends" again.
Back to top
View user's profile Send private message
Duminas
n00b
n00b


Joined: 07 Sep 2005
Posts: 68

PostPosted: Sat Apr 08, 2006 5:16 am    Post subject: Reply with quote

Forgive me, but I don't see how that flag is very useful in my case.

It did show me that ssmtp is wanted by PHP (gonna go fix that), but I cannot track what is dragging in gnome-icon-theme. Rather, it might be that I do not understand the output, but I dropped the -v flag for readability here. In this particular case, gnome-icon-theme seems to be at the highest level in this "tree" (what I see as it not being depended upon by anything--is such correct?), with hicolor-icon-theme immediately underneath it.

This is illustrated below (the first two are more gnome things I don't believe are needed, and which are shown to be not depended upon by equery):
Code:
[ebuild  N    ] x11-themes/gnome-themes-2.12.3 
[ebuild  N    ]  x11-themes/gtk-engines-2.6.7 
[ebuild  N    ] x11-themes/gnome-icon-theme-2.12.1 
[ebuild  N    ]  x11-themes/hicolor-icon-theme-0.8


@sternklang
I did it exactly as you suggest. That is, `equery depends ssmtp`--no version number or anything.
Back to top
View user's profile Send private message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Sat Apr 08, 2006 6:29 am    Post subject: Reply with quote

I'm running into something very similar. I run a text-only Gentoo system with all of the various X related items disabled in make.conf. I hadn't updated my Gentoo system in a while (several months), and tonight I see that "xterm" is being pulled in. Like the original poster, nothing appears to depend on it, and the "equery depends xterm" comes up blank. This wouldn't be the first time I've seen emerge suddenly want to pull in a few dozen packages I've never needed before.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Sat Apr 08, 2006 7:56 am    Post subject: Reply with quote

Others are having similar problems. Do a search here for "gnome-themes". One of the threads links to two bug reports about gnome-themes and other packages being pulled in unnecessarily.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Apr 08, 2006 8:09 am    Post subject: Reply with quote

Please follow up to Unneeded packages being reinstalled.

Moved from Portage & Programming to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum