On Thursday 20 November 2003 20:33, Jonas Widarsson wrote:
> I'm not completely sure what emerge does, but I guess:
> * searches for packages and downloads them and their dependend packages,
> if they are not available locally or there is an update available on the
> internet.
> * compiles, builds and installs them
>
> So this leaves me another question.
> Before "emerge -u system" i did "emerge sync".
> So after "emerge gcc-config" is finished, should I have to "emerge sync"
> again before I "emerge -u system"?

In /usr/portage is what is known as the portage tree. It has three basic 
levels.
- package group
 \- package name
  \- package version

Each package version is defined by an ebuild that says where to download 
source code, how to compile and install the source code, a stability rating 
against various architectures and other stuff.

When you run "emerge sync" it updates /usr/portage to match what is on the 
Gentoo servers. It is in this way that you get "notified" of all the latest 
packages.

So, to answer your question, an "emerge sync" is probably not necessary. If 
"emerge -u system" still doesn't work, you can try "emerge sync; emerge 
gcc-config; emerge -u system" but that should only fix it if the problem was 
with the ebuild - which is very unlikely.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to