Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is emerge's --deep option unneeded?
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
txo
n00b
n00b


Joined: 18 Jun 2003
Posts: 10

PostPosted: Wed Jun 25, 2003 7:35 am    Post subject: Is emerge's --deep option unneeded? Reply with quote

Why is --deep option there? I want to upgrade mozilla and if I type emerge -pvu mozilla it shows me 5 packages to upgrade. When I type emerge -pvu --deep moziila it shows me 8 packages to upgrade. Why it is done this way? I think that make upgrade whithout --deep option can lead to problems. So, is emerge -u without --deep useles? Or if there is a good reason to do it sometimes as non deep upgrade, why deep upgrade isn't default and why there in't rather something like --nodeep option?

thank you
Back to top
View user's profile Send private message
haceye
Apprentice
Apprentice


Joined: 22 May 2003
Posts: 187
Location: Stuttgart, Germany

PostPosted: Wed Jun 25, 2003 11:33 am    Post subject: Re: Is emerge's --deep option unneeded? Reply with quote

Hi,
txo wrote:
Why is --deep option there? I want to upgrade mozilla and if I type emerge -pvu mozilla it shows me 5 packages to upgrade. When I type emerge -pvu --deep moziila it shows me 8 packages to upgrade. Why it is done this way? I think that make upgrade whithout --deep option can lead to problems.

Updating something without --deep perhaps can lead to problems, but it should not, because this would be a bug in the ebuild.

txo wrote:
So, is emerge -u without --deep useles? Or if there is a good reason to do it sometimes as non deep upgrade, why deep upgrade isn't default and why there in't rather something like --nodeep option?

emerge -u --deep will upgrade all dependencies (recursively). So for example for a simple perl script it would upgrade glibc, because the perl script depends on perl and perl is written in C.
So a 'deep' update isn't required, because the package would work without that additional updates, too.

David
_________________
faster 'emerge -s'? emerge esearch
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