Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Difference in 'emerge -p --update' when su
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
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 297
Location: take a left turn in Tesuque

PostPosted: Wed Jan 22, 2003 9:39 pm    Post subject: Difference in 'emerge -p --update' when su Reply with quote

I am in the process of installing KDE...

When I attempt to emerge -pu as normal user (not root), I get a different answer from when I do so as root:

Code:

 $ emerge -pu kde 

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

Calculating dependencies ...done!
[ebuild    U ] dev-libs/openssl-0.9.7 [0.9.6h]
[ebuild    U ] x11-libs/qt-3.1.1 [3.1.0-r1]
[ebuild    U ] dev-python/python-fchksum-1.6.1-r1 [1.6.1]
[ebuild    U ] sys-apps/portage-2.0.47 [2.0.46-r9]
*** Portage will stop merging at this point and reload itself,
    recalculate dependancies, and complete the merge.

[ebuild    U ] kde-base/arts-1.1.0 [1.1.0_rc6]
[ebuild    U ] kde-base/kdelibs-3.1 [3.1_rc6]
[ebuild  N   ] kde-base/kdebase-3.1
[ebuild  N   ] kde-base/kdeartwork-3.1
[ebuild  N   ] kde-base/kdenetwork-3.1
[ebuild  N   ] kde-base/kdepim-3.1
[ebuild    U ] kde-base/kdemultimedia-3.1 [3.1_rc6]
[ebuild  N   ] kde-base/kdetoys-3.1
[ebuild  N   ] kde-base/kdeutils-3.1
[ebuild    U ] kde-base/kdegames-3.1 [3.1_rc6]
[ebuild    U ] app-text/tetex-20030112 [1.0.7-r11]
[ebuild    U ] sys-devel/libtool-1.4.3 [1.4.1-r10]
[ebuild    U ] dev-perl/XML-Parser-2.31-r1 [2.31]
[ebuild  N   ] dev-perl/XML-RegExp-0.03-r1
[ebuild  N   ] sys-libs/libieee1284-0.2.1
[ebuild  N   ] media-gfx/sane-backends-1.0.9
[ebuild  N   ] kde-base/kdegraphics-3.1
[ebuild    U ] media-libs/libsdl-1.2.5-r1 [1.2.5]
[ebuild  N   ] kde-base/kdeaddons-3.1
[ebuild  N   ] app-arch/rpm-4.0.4-r4
[ebuild  N   ] kde-base/kdeadmin-3.1
[ebuild  N   ] kde-base/kdeedu-3.1
[ebuild  N   ] kde-base/kde-3.1


Code:

 $ sudo !!
sudo emerge -pu kde

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

Calculating dependencies ...done!
[ebuild  N   ] kde-base/kdebase-3.1_rc6
[ebuild  N   ] kde-base/kdenetwork-3.1_rc6
[ebuild    U ] media-libs/libsdl-1.2.5-r1 [1.2.5]
[ebuild  N   ] kde-base/kdeaddons-3.1_rc6
[ebuild  N   ] kde-base/kdetoys-3.1_rc6
[ebuild  N   ] app-arch/rpm-4.0.4-r4
[ebuild  N   ] kde-base/kdeadmin-3.1_rc6
[ebuild  N   ] kde-base/kdeedu-3.1_rc6
[ebuild  N   ] kde-base/kdepim-3.1_rc6
[ebuild    U ] app-text/tetex-1.0.7-r12 [1.0.7-r11]
[ebuild    U ] dev-perl/XML-Parser-2.31-r1 [2.31]
[ebuild  N   ] dev-perl/XML-RegExp-0.03-r1
[ebuild  N   ] sys-libs/libieee1284-0.2.1
[ebuild  N   ] media-gfx/sane-backends-1.0.9
[ebuild  N   ] kde-base/kdegraphics-3.1_rc6
[ebuild  N   ] kde-base/kdeartwork-3.1_rc6
[ebuild  N   ] kde-base/kdeutils-3.1_rc6
[ebuild  N   ] kde-base/kde-3.1_rc6


This second one is the same as if I do 'su -' and then 'emerge -pu kde'.

FWIW,

Code:

 $ sudo emerge info
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb readline arts svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl cdr acpi dga directfb fbcon -gnome gtk2 gtkhtml guile imap ldap maildir pcmcia scanner slang sse tetex tiff wmf xface"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache noclean"
Back to top
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 297
Location: take a left turn in Tesuque

PostPosted: Thu Feb 06, 2003 6:08 pm    Post subject: Reply with quote

Well, to answer my own question...

I think at least part of it is because I was using a PORTDIR_OVERLAY that was not readable by the non-root user.
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