Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
More unexpected packages appearing in emerge [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Mon Apr 10, 2006 5:41 am    Post subject: More unexpected packages appearing in emerge [SOLVED] Reply with quote

I went to update my Gentoo installation after a few months of humming along, and quite unexpectedly found it was trying to install xorg (I run a text-only server). I've seen recent complaints about incorrect dependencies on Gnome, but nothing regarding this (the one thread I did post on was moved to duplicate threads before anything could come of it).

Previous references to the unrelated Gnome issue are here and here.

Here's the output when I tried to update (see the string of new entries starting with "xterm") [EDIT - see verbose output below].

And here's the dependency graph on xterm - nothing should be pulling this in:
Code:
# equery depends xterm
[ Searching for packages depending on xterm... ]
#

Any thoughts?


Last edited by diamondsw on Mon Apr 10, 2006 5:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
provicemo
Apprentice
Apprentice


Joined: 12 Dec 2003
Posts: 201
Location: Detroit, MI

PostPosted: Mon Apr 10, 2006 6:25 am    Post subject: Reply with quote

Add -v to your emerge options so we can see if any use flags are pulling anything
_________________
My Blog
Back to top
View user's profile Send private message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Mon Apr 10, 2006 6:54 am    Post subject: Reply with quote

provicemo wrote:
Add -v to your emerge options so we can see if any use flags are pulling anything


Learn something new every day...
Code:
# emerge -putvD world

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

Calculating world dependencies ...done!
[ebuild     U ] sys-apps/busybox-1.1.0 [1.00-r4] -debug -floppyboot -make-symlinks -netboot -savedconfig -static 1,375 kB
[ebuild     U ] app-portage/gentoolkit-0.2.1 [0.2.0-r3] 81 kB
[ebuild  N    ]  dev-util/dialog-1.0.20050206  -unicode 292 kB
[ebuild     U ] sys-apps/hdparm-6.3 [5.9] 43 kB
[ebuild     U ] net-p2p/mldonkey-2.7.3 [2.7.2] -batch -doc -gd -gtk -guionly -mozilla -threads 2,741 kB
[ebuild     U ]  dev-lang/ocaml-3.09.1 [3.08.4] -latex -tcltk 1,987 kB
[ebuild     U ] net-misc/openssh-4.2_p1-r1 [4.2_p1] -X509 -chroot -hpn +ipv6 -kerberos -ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 892 kB
[nomerge      ] sys-apps/coldplug-20040920 
[nomerge      ]  sys-apps/hotplug-20040923-r1 
[ebuild     U ]   sys-apps/usbutils-0.71-r1 [0.11-r5] 159 kB
[ebuild  N    ]    dev-libs/libusb-0.1.10a  -debug -doc 366 kB
[ebuild     U ]   sys-apps/pciutils-2.2.0-r1 [2.1.11-r5] 286 kB
[ebuild     U ] sys-process/procps-3.2.6 [3.2.5-r1] (-n32) 272 kB
[ebuild     U ] media-gfx/splashutils-1.1.9.8-r1 [1.1.9.8] -hardened -kdgraphics +png -truetype 2,807 kB
[ebuild     U ] sys-process/psmisc-22.1 [21.9] -X +ipv6 +nls (-selinux) 230 kB
[ebuild     U ] media-video/mplayer-1.0.20060217 [1.0_pre7-r1] -3dfx -3dnow -3dnowext -X -aac -aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc +dts* -dv -dvb -dvd -dvdread -edl +encode -esd -fbcon -ggi +gif -gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad +matroska* -matrox -mmx -mmxext -musepack -nas +nls -nvidia -opengl +oss +png -real -rtc +samba -sdl -sse -sse2 +svga -tga -theora -truetype -v4l -v4l2 +vorbis -win32codecs -xanim -xinerama -xmms +xv +xvid* -xvmc 7,222 kB
[ebuild     U ]  media-libs/alsa-lib-1.0.10 [1.0.9] -doc -jack 690 kB
[ebuild     U ]   media-sound/alsa-headers-1.0.10 [1.0.9b] 2,143 kB
[ebuild     U ]  media-libs/xvid-1.0.3 [1.0.2] -doc 529 kB
[ebuild     U ]   dev-lang/nasm-0.98.39-r1 [0.98.39] -build -doc 531 kB
[ebuild     U ]  media-libs/libdts-0.0.2-r3 [0.0.2] -debug +oss 288 kB
[ebuild     U ]  net-fs/samba-3.0.22 [3.0.14a-r2] -acl -async -automount +cups -doc -examples -kerberos -ldap -ldapsam -libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux) -swat -syslog -winbind -xml +xml2 17,147 kB
[ebuild     U ]   net-print/cups-1.1.23-r7 [1.1.23-r1] -gnutls +nls +pam +samba -slp +ssl 8,501 kB
[ebuild  N    ]    app-text/poppler-0.5.0-r5  -cairo +jpeg 913 kB
[ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar -truetype -unicode 727 kB
[ebuild  N    ]  sys-apps/utempter-0.5.5.6  20 kB
[ebuild  N    ]   app-arch/rpm2targz-9.0-r3  2 kB
[ebuild  N    ]  virtual/x11-6.8  0 kB
[ebuild  N    ]   x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx -opengl +pam -sdk -sse -static -truetype-fonts -type1-fonts (-uclibc) -xprint +xv 45,134 kB
[ebuild  N    ]    media-libs/fontconfig-2.2.3  732 kB
[ebuild  N    ]    x11-apps/ttmkfdir-3.0.9-r3  19 kB
[ebuild     U ]  media-libs/giflib-4.1.4 [4.1.3] -X -rle 591 kB
[ebuild     U ]  media-libs/libpng-1.2.8-r1 [1.2.8] -doc 0 kB
[ebuild     U ] app-arch/tar-1.15.1-r1 [1.15.1] -build +bzip2* +nls -static 1,573 kB
[ebuild     U ]  app-arch/bzip2-1.0.3-r6 [1.0.3-r5] -build -static 653 kB
[ebuild     U ] sys-apps/gawk-3.1.5 [3.1.4-r4] -build +nls 2,256 kB
[ebuild     U ] sys-apps/kbd-1.12-r6 [1.12-r5] +nls 867 kB
[ebuild     U ] sys-apps/util-linux-2.12r-r2 [2.12r-r1] +crypt +nls -old-crypt +pam +perl (-selinux) -static 1,502 kB
[ebuild     U ]  sys-fs/e2fsprogs-1.38-r1 [1.38] +nls -static 3,536 kB
[ebuild     U ]  sys-apps/pam-login-4.0.14 [3.17] -livecd +nls (-selinux) -skey 1,217 kB
[ebuild     U ]   sys-apps/shadow-4.0.14-r1 [4.0.7-r4] +nls -nousuid +pam (-selinux) -skey 0 kB
[nomerge      ]    sys-libs/pam-0.78-r3  +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux)
[ebuild     U ]     sys-libs/cracklib-2.8.5-r1 [2.8.5] +nls +python 547 kB
[ebuild     U ]     dev-util/pkgconfig-0.20 [0.17.2-r1] -hardened 947 kB
[ebuild     U ]     sys-devel/flex-2.5.33-r1 [2.5.4a-r6] +nls -static 679 kB
[ebuild     U ]  app-crypt/hashalot-0.3-r2 [0.3-r1] 78 kB
[nomerge      ] net-fs/davfs2-0.2.4-r1  -debug -socks5 +ssl
[ebuild     U ]  dev-libs/libxml2-2.6.23 [2.6.22] -debug -doc +ipv6 +python +readline 3,338 kB
[ebuild  NS   ]  sys-kernel/gentoo-sources-2.6.15-r1  -build -doc -symlink (-ultra1) 39,086 kB
[ebuild     U ]   sys-devel/make-3.80-r4 [3.80-r2] -build +nls -static 899 kB
[ebuild     U ]   sys-fs/udev-087 [070-r1] (-selinux) 185 kB
[ebuild     U ]    sys-apps/baselayout-1.11.14-r7 [1.11.13-r1] -bootstrap -build -static -unicode 155 kB
[ebuild     U ]     sys-apps/sysvinit-2.86-r3 [2.86] -bootstrap -build -ibm (-selinux) -static 100 kB
[ebuild     U ]     sys-apps/coreutils-5.2.1-r7 [5.2.1-r6] -acl -build +nls (-selinux) -static 4,235 kB
[ebuild  N    ] app-misc/ca-certificates-20050804  91 kB
[ebuild     U ]         dev-libs/openssl-0.9.7i [0.9.7e-r2] -bindist -emacs -test +zlib 3,204 kB
[ebuild     U ]         sys-libs/readline-5.1_p2 [5.0-r2] 1,985 kB
[nomerge      ]      sys-apps/help2man-1.33.1  +nls
[ebuild     U ]       dev-perl/Locale-gettext-1.05 [1.03] -minimal 7 kB
[ebuild  N    ]        virtual/perl-Test-Simple-0.62  0 kB
[ebuild  N    ]         perl-core/Test-Simple-0.62  -minimal 68 kB
[nomerge      ] app-admin/perl-cleaner-1.01 
[nomerge      ]  app-shells/bash-3.0-r12  -bashlogger -build +nls
[ebuild     U ]      sys-devel/autoconf-2.59-r7 [2.59-r6] -emacs 903 kB
[ebuild     U ] sys-apps/man-pages-2.28 [2.20] +nls 1,733 kB
[nomerge      ]  sys-apps/man-1.6-r1  +nls
[nomerge      ]   sys-apps/groff-1.19.1-r2  -X
[nomerge      ]    sys-apps/texinfo-4.8-r2  -build +nls -static
[nomerge      ]     sys-devel/gettext-0.14.4  -doc -emacs +nls
[ebuild     U ]      sys-libs/glibc-2.3.5-r3 [2.3.5-r2] -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls -nptl -nptlonly -pic -profile (-selinux) -userlocales 15,632 kB
[ebuild  N    ]       sys-libs/timezone-data-2006a  322 kB
[nomerge      ] sys-devel/gcc-3.3.6  (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla
[ebuild     U ]       sys-devel/gcc-3.4.5-r1 [3.4.4-r1] (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 27,751 kB
[ebuild     U ]        sys-devel/bison-2.1 [1.875d] +nls -static 982 kB
[ebuild     U ]         sys-devel/m4-1.4.4 [1.4.3] +nls 299 kB
[ebuild     U ]        sys-devel/gcc-config-1.3.13-r1 [1.3.12-r6] 0 kB
[nomerge      ]        sys-devel/binutils-2.16.1  -multislot -multitarget +nls -test -vanilla
[ebuild     U ]         sys-devel/gnuconfig-20060227 [20051223] 38 kB

Total size of downloads: 211,616 kB
Back to top
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Mon Apr 10, 2006 8:10 am    Post subject: Reply with quote

Disable the 'xv' flag, that should fix your problem.

I'd disable gif, png, and jpeg while you're at it, unless there's a specific reason to have them.
Back to top
View user's profile Send private message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Mon Apr 10, 2006 1:49 pm    Post subject: Reply with quote

pigeon768 wrote:
Disable the 'xv' flag, that should fix your problem.

I'd disable gif, png, and jpeg while you're at it, unless there's a specific reason to have them.


Thanks! Just so I'm not back here bothering people in the future, how did you figure that out?
Back to top
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Mon Apr 10, 2006 7:59 pm    Post subject: Reply with quote

I just recognised the xv flag. =]
Code:
~ $ equery u mplayer
 + + xv            : Adds in optional support for the Xvideo extension (an X API for video playback)
(bunch of extra lines removed)

xv is the video output of choice if you run X on an nvidia card.

X is fairly pervasive, keeping it out of your install can be difficult. I'd install ufed and go through the entire list, and remove anything you don't need.

When you do run into these cases where something's getting installed in an emerge -uD world, you can go through the whole list of packges and emerge -ptv them all, to narrow down which package is causing it to be installed. Once you figure out which package is causing it, do trial and error via 'USE="-flag" emerge -pv package' until you figure out which flag is bad.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


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

PostPosted: Mon Apr 10, 2006 8:41 pm    Post subject: Reply with quote

Good catch pigeon768. I was just thinking that it would be useful to have some meta-use flags such as noX which would automatically turn off all use flags that would bring in X.
Back to top
View user's profile Send private message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Mon Apr 10, 2006 11:01 pm    Post subject: Reply with quote

Just for reference, here's my new USE flag (as far as I know, it will block X - anything I should add?):

USE="-X -Xaw3d -xv -motif -qt -kde -gtk -gtk2 -gnome -bitmap-fonts -truetype-fonts -type1-fonts -truetype -opengl -xmms -sdl -arts"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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