Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo emerge -uD world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sjorge
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 75

PostPosted: Thu Dec 07, 2006 9:15 am    Post subject: sudo emerge -uD world Reply with quote

I wanted to update my gentoo server last weekend
But it needed the new GCC and other things I don't really want to mess with since its a VPS server.

Do i run a risk of the system not booting if I let it run
sudo emerge -uD world?
_________________
~ sjorge
Back to top
View user's profile Send private message
aypro
n00b
n00b


Joined: 28 Feb 2006
Posts: 32

PostPosted: Thu Dec 07, 2006 9:31 am    Post subject: Reply with quote

Quote:
But it needed the new GCC and other things I don't really want to mess with since its a VPS server.

if you don't want newer GCC your can mask it
Code:
echo ">=sys-devel/gcc-4.0.0" /etc/portage/package.mask
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Thu Dec 07, 2006 9:36 am    Post subject: Reply with quote

If it is just GCC you dont have to worry at all. Even if you emerge it, it will not be used as long as you do not switch to the new compiler with ...
Code:
gcc-config
Back to top
View user's profile Send private message
sjorge
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 75

PostPosted: Sat Dec 09, 2006 4:06 pm    Post subject: Reply with quote

what about: linux-headers and gentoo-sources?

Quote:

Calculating world dependencies... done!
[ebuild U ] sys-apps/man-pages-2.42 [2.39]
[ebuild U ] sys-devel/m4-1.4.7 [1.4.6]
[ebuild U ] sys-devel/binutils-config-1.9-r3 [1.9-r2]
[ebuild NS ] sys-devel/gcc-4.1.1-r1 USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"
[ebuild U ] sys-kernel/linux-headers-2.6.17-r2 [2.6.11-r2] USE="-gcc64%"
[ebuild N ] sys-libs/timezone-data-2006p USE="nls"
[ebuild U ] sys-libs/glibc-2.3.6-r5 [2.3.5-r2]
[ebuild U ] perl-core/Test-Simple-0.64 [0.62]
[ebuild N ] virtual/perl-Test-Simple-0.64
[ebuild U ] sys-apps/help2man-1.36.4 [1.33.1]
[ebuild U ] sys-libs/cracklib-2.8.9-r1 [2.8.5]
[ebuild U ] mail-mta/ssmtp-2.61-r2 [2.61]
[ebuild U ] app-crypt/gnupg-1.4.6 [1.4.4] USE="-X* -bindist% -bzip2*"
[ebuild U ] x11-misc/util-macros-1.1.0 [1.0.2]
[ebuild U ] x11-proto/kbproto-1.0.3 [1.0.2]
[ebuild U ] x11-proto/xproto-7.0.7 [7.0.5]
[ebuild U ] x11-libs/libXau-1.0.2 [1.0.1]
[ebuild U ] x11-libs/libX11-1.0.3 [1.0.1-r1]
[ebuild U ] sys-apps/sysvinit-2.86-r5 [2.86-r3]
[ebuild U ] sys-apps/baselayout-1.12.6 [1.11.14-r3]
[ebuild U ] sys-apps/module-init-tools-3.2.2-r1 [3.2.1] USE="-no-old-linux%"
[ebuild N ] virtual/mysql-5.0
[ebuild U ] app-editors/vim-core-7.0.17 [6.4]
[ebuild U ] app-editors/vim-7.0.17 [6.4] USE="-mzscheme% -vim-pager%"
[ebuild U ] app-vim/gentoo-syntax-20051221-r1 [20051221]
[ebuild U ] net-misc/openssh-4.4_p1-r6 [4.2_p1-r1] USE="-X%"
[ebuild U ] x11-libs/libXfont-1.2.2 [1.1.0-r1]
[ebuild N ] net-www/apache-2.0.58-r2 USE="ssl -apache2 -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads"
[ebuild U ] dev-lang/php-5.1.6-r6 [5.1.4] USE="iconv* mysql* -bzip2* -concurrentmodphp%"
[ebuild U ] sys-apps/kbd-1.12-r8 [1.12-r5]
[ebuild U ] sys-fs/udev-103 [079-r1]
[ebuild NS ] sys-kernel/gentoo-sources-2.6.18-r3 USE="-build -symlink (-ultra1)"
[ebuild N ] app-text/libpaper-1.1.20
[ebuild N ] app-crypt/opencdk-0.5.5 USE="-doc"
[ebuild N ] dev-libs/libtasn1-0.3.5 USE="-doc"
[ebuild N ] dev-libs/lzo-2.02-r1 USE="-examples"
[ebuild N ] net-libs/gnutls-1.4.4-r1 USE="nls zlib -doc"
[ebuild U ] net-print/cups-1.2.6 [1.1.23-r8] USE="jpeg%* png%* -X% -dbus% -php% -ppds% -tiff%"
[ebuild N ] media-fonts/gnu-gs-fonts-std-8.11
[ebuild N ] x11-libs/cairo-1.2.4 USE="png -X -directfb -doc -glitz -svg"
[ebuild N ] x11-proto/xineramaproto-1.1.2 USE="-debug"
[ebuild U ] dev-libs/glib-2.12.4-r1 [2.10.3]
[ebuild N ] dev-libs/atk-1.12.1 USE="-debug -doc"
[ebuild N ] x11-libs/pango-1.14.7 USE="-debug -doc"
[ebuild N ] dev-perl/XML-Parser-2.34
[ebuild N ] dev-util/intltool-0.35.0
[ebuild N ] x11-misc/shared-mime-info-0.17-r2
[ebuild N ] x11-libs/gtk+-2.10.6 USE="jpeg -X -debug -doc -tiff -xinerama"
[ebuild N ] app-text/ghostscript-gpl-8.54 USE="cups gtk -X -cjk -emacs -jpeg2k"
[ebuild N ] virtual/ghostscript-0
[ebuild U ] media-libs/libvorbis-1.1.2 [1.1.0]
[ebuild U ] kde-base/arts-3.5.5 [3.5.2-r1]
[ebuild U ] www-client/links-2.1_pre26 [2.1_pre20]
[ebuild U ] sys-libs/com_err-1.39 [1.38]
[ebuild U ] sys-libs/ss-1.39 [1.38]
[ebuild U ] sys-fs/e2fsprogs-1.39 [1.38]
[ebuild U ] app-crypt/hashalot-0.3-r2 [0.3-r1]
[ebuild U ] sys-apps/hdparm-6.6 [5.9]


so litting emerge -uD world run for the night will be fine the system will still work after a reboot?
_________________
~ sjorge
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Dec 09, 2006 7:58 pm    Post subject: Reply with quote

IMHO, your system _may_ not run after a reboot. You are upgrading a lot of important packages there: baselayout, udev, etc. Before rebooting you must ensure that you update the config files correctly.

You need to be wary of cups too. There are some major config changes introduced by this new version of cups.
Back to top
View user's profile Send private message
sjorge
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 75

PostPosted: Sat Dec 09, 2006 10:46 pm    Post subject: Reply with quote

hmmz...
I don't care for most of it just a few things I'd like to keep up to date on the production server...

So what packages should i mask as mentioned above?
The stuff I care for is apache, mysql, openssl, openssh, links, ... not the udev, kernel, gcc,...
_________________
~ sjorge
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Dec 09, 2006 11:16 pm    Post subject: Reply with quote

Then why do you want to update the whole of world? Just update the packages you really want/need to update.

This script can help you to trim down your emerge list.
Back to top
View user's profile Send private message
richfish
Apprentice
Apprentice


Joined: 03 Mar 2006
Posts: 202
Location: Phoenix, AZ

PostPosted: Sat Dec 09, 2006 11:24 pm    Post subject: Reply with quote

Of the list you posted, udev and baselayout are the only ones that I would worry about.
Back to top
View user's profile Send private message
sjorge
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 75

PostPosted: Sun Dec 10, 2006 12:12 am    Post subject: Reply with quote

ppurka wrote:
Then why do you want to update the whole of world? Just update the packages you really want/need to update.

This script can help you to trim down your emerge list.


because they seem to want to compile anyway I run:
sudo emerge -uD openssh --ask
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/m4-1.4.7 [1.4.6]
[ebuild     U ] sys-devel/binutils-config-1.9-r3 [1.9-r2]
[ebuild  NS   ] sys-devel/gcc-4.1.1-r1  USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"
[ebuild     U ] sys-kernel/linux-headers-2.6.17-r2 [2.6.11-r2] USE="-gcc64%"
[ebuild  N    ] sys-libs/timezone-data-2006p  USE="nls"
[ebuild     U ] sys-libs/glibc-2.3.6-r5 [2.3.5-r2]
[ebuild     U ] perl-core/Test-Simple-0.64 [0.62]
[ebuild  N    ] virtual/perl-Test-Simple-0.64 
[ebuild     U ] sys-apps/help2man-1.36.4 [1.33.1]
[ebuild     U ] sys-libs/cracklib-2.8.9-r1 [2.8.5]
[ebuild     U ] net-misc/openssh-4.4_p1-r6 [4.2_p1-r1] USE="-X%"


without the D paremeter
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-kernel/linux-headers-2.6.17-r2 [2.6.11-r2] USE="-gcc64%"
[ebuild     U ] net-misc/openssh-4.4_p1-r6 [4.2_p1-r1] USE="-X%"

_________________
~ sjorge
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Dec 10, 2006 2:44 am    Post subject: Reply with quote

You can then do the emerge without the "D". If the package you want to emerge really requires a more recent package as a dependency, then it will pull it in automatically,- as in the second case where it has automatically pulled in a higher version of linux-headers.
Back to top
View user's profile Send private message
sjorge
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 75

PostPosted: Tue Dec 12, 2006 9:19 am    Post subject: Reply with quote

can i tell it not to pull in the linux header aswel?
_________________
~ sjorge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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