Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 10:34 +0200, pat wrote:
 Hi all,
 
 I want to update whole my system and all applications. I want this because
 I've changed USE flags and changed available locales for the glibc. I know
 this update can throw me into troubles, but I want to try this :-)
 
 So, I know the system can be updated by the:
 emerge --update --deep system
 
 and the the world can be updated by the:
 emerge --update --deep wold
 
 but those two looks simillar to me.
 
 What I have to do to update everything within my Linux box ???
 
 Thanks
 
  Pat

Hi Pat,

AFAIK it's ``emerge --newuse world'' in the case of a USE flag change.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread pat
On Fri, 09 Sep 2005 10:37:41 +0200, Frank Schafer wrote
 On Fri, 2005-09-09 at 10:34 +0200, pat wrote:
  Hi all,
  
  I want to update whole my system and all applications. I want this because
  I've changed USE flags and changed available locales for the glibc. I know
  this update can throw me into troubles, but I want to try this :-)
  
  So, I know the system can be updated by the:
  emerge --update --deep system
  
  and the the world can be updated by the:
  emerge --update --deep wold
  
  but those two looks simillar to me.
  
  What I have to do to update everything within my Linux box ???
  
  Thanks
  
   Pat
 
 Hi Pat,
 
 AFAIK it's ``emerge --newuse world'' in the case of a USE flag change.
 
 Regards
 Frank

Yes, it does, but the world doesn't contains all installed applications.

I've tryed to --emptytree flag but still missing some installed applications :-(

Thanks

 Pat
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Alex
On Friday 09 September 2005 08:34, pat wrote:
 What I have to do to update everything within my Linux box ???

emerge --update --deep --newuse world

--update --deep will check the whole dependency tree for updates and 
--newuse will include the packages whose USE-flags changed
-- 
Cheers, Alex.


pgp3OqlsxtFmF.pgp
Description: PGP signature


Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 12:08 +, Alex wrote:
 On Friday 09 September 2005 08:34, pat wrote:
  What I have to do to update everything within my Linux box ???
 
 emerge --update --deep --newuse world
 
 --update --deep will check the whole dependency tree for updates and 
 --newuse will include the packages whose USE-flags changed

... due to:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2

# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Neil Bothwick
On Fri, 9 Sep 2005 10:43:51 +0200, pat wrote:

 Yes, it does, but the world doesn't contains all installed
 applications.

It contains all the applications you have explicitly installed, the rest
should be dependencies of these, so will be picked up by --emptytree. You
may have some orphaned dependencies lying around, which depclean will
pick up.

 I've tryed to --emptytree flag but still missing some installed
 applications :-(

You don't really need to rebuild the whole system. Rebuilding glibc will
take care of your changed locales, and --newuse will handle the changed
USE flags. I would do

emerge -av glibc
emerge -uavDN world
emerge -a depclean

Check the packages that depclean wants to remove. If there are any you
want to keep, add them to world with

emerge -n packagename

Let depclean remove the rest and your system should be up to date and
consistent with your settings. The only time you would need to use
--emptytree is if you have changed CFLAGS or LDFLAGS, in which case, you
should do it after carrying out the above steps.


-- 
Neil Bothwick

Apple I (c) Copyright 1767, Sir Isaac Newton.


pgpJZY5Z06CKa.pgp
Description: PGP signature


Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Alex
On Friday 09 September 2005 09:12, Frank Schafer wrote:
 # emerge --update --deep --newuse world
 # emerge --depclean
 # revdep-rebuild

yeap, that would be the coplete prosedure :)
-- 
Cheers, Alex.


pgpnqy1uOGLK5.pgp
Description: PGP signature


Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread pat
On Fri, 9 Sep 2005 12:30:28 +, Alex wrote
 On Friday 09 September 2005 09:12, Frank Schafer wrote:
  # emerge --update --deep --newuse world
  # emerge --depclean
  # revdep-rebuild
 
 yeap, that would be the coplete prosedure :)
 -- 
 Cheers, Alex.

Frank, Alex

OK, thanks for the help I'll try this one.

 Pat
-- 
gentoo-user@gentoo.org mailing list