Joshua Banks wrote:
When you specify "&&" in your string is that a way of specifying two commands in one?

When you specify emerge sync && emerge -upDf world (correct where I'm wrong)
It executes command 1 fist (emerge sync) and then command 2 (emerge -upDf world)?
I don't understand why you would do both of these at the same time.

The '&&' tells it to run the 2nd command only if the 1st one succeeds. I'm not sure if 'emerge sync' returns an error status if it fails for some reason, but it never hurts.


I'm new to this so I'm just trying to make sense of how emerge works. And yes I've 
read through
the man emerge page.

when you specify -u in your second command, isn't this going to get you what you need?

I guess I'm confused about exactly what emerge sync is doing then I guess..<a little confused :D>

'emerge sync' syncs your local copy of the portage tree with the official version. This allows emerge to install all the latest versions of certain packages.


When you specify emerge sync && emerge -upDf world what is taking place and is this 
your normal
operating procedure?

First the portage tree is synced. That 2nd command should actually be 'emerge -uDf world'. This downloads all the source files that will be needed to update all packages.


How often do you do an emerge sync?

Once every few days.


--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to