View previous topic :: View next topic |
Author |
Message |
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Thu Mar 31, 2005 6:00 pm Post subject: emerge -uD world |
|
|
As I have heard many scary things about using emerge -world, I thought I was ask if using the switches:
... would cause me any grief regarding lost data, crippled system etc? Does this switch simply decend into the system libraries and update them to the latest package? Is this the same as:
|
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Thu Mar 31, 2005 6:03 pm Post subject: |
|
|
do not use the -U swich, I use -uDva, If you would like good reasons why it is bad to use -U just search the forums. _________________ I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!
The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain- |
|
Back to top |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Thu Mar 31, 2005 6:15 pm Post subject: |
|
|
I have read PLENTY in the forums, much of which nail biting to say the least which is why I wanted to quickly ask advice. |
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Fri Apr 01, 2005 5:21 am Post subject: |
|
|
Okay, I wasn't sure if you wanted a good reason or not. Some people just want a quick answer and I didn't want to explain it if you didn't care. _________________ I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!
The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain- |
|
Back to top |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Mon Apr 04, 2005 9:20 am Post subject: |
|
|
I'll always care about you BWoso |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Mon Apr 04, 2005 10:42 am Post subject: |
|
|
glsa-check only updates packages with security fixes.
you shouldn't use -U because it won't downgrade packages even if they are broken or have major flaws.
I have never had a problem with -uD but make sure you test new versions before applying them to production servers. |
|
Back to top |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Mon Apr 04, 2005 1:31 pm Post subject: |
|
|
Well I have never used the "world" functions of Gentoo out of absolute fear! Are you saying that:
Is ok and will not cause any issues? |
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Mon Apr 04, 2005 2:16 pm Post subject: |
|
|
The option "a" will prompt you for an answer for each package. You can choose to install it or not install it... If you don't use that option, the emerge will upgrade everything which is not a good idea. I believe that's what BWoso meant!
taurus |
|
Back to top |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Mon Apr 04, 2005 2:53 pm Post subject: |
|
|
OK. But with so many hundreds of individual packages, will this not be a labour intensive process? |
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Mon Apr 04, 2005 7:40 pm Post subject: |
|
|
Why not use this command then...
Code: | emerge -pv -u world |
taurus |
|
Back to top |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Tue Apr 05, 2005 1:20 pm Post subject: |
|
|
I am assuming that this will not give me any nasty surprises? I have just managed to resolve the authdaemon issue with Courier-imap after an update yesterday afternoon! |
|
Back to top |
|
|
tom56 Guru
Joined: 27 Apr 2004 Posts: 325 Location: united kingdom
|
Posted: Tue Apr 05, 2005 1:49 pm Post subject: |
|
|
-a doesn't ask for each individual package.
It lists what it will update (just like using -p), then asks if you want to continue. It was made to save time so that you don't have to do emerge -puDv world then emerge -uDv world, which would calculate dependencies twice. _________________ "A million surplus Maggies are willing to bear the yoke; And a woman is only a woman, but a good cigar is a Smoke" -- Rudyard Kipling (on why he chose cigars over his wife) |
|
Back to top |
|
|
|