Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u universe ;)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Mon Aug 05, 2002 5:31 pm    Post subject: emerge -u universe ;) Reply with quote

hi folks....

I just posted an article about "emerge -u world" in tips'n'tricks... but I guess most of the folks don't stop there by often... at least I don't.... so check it out there.... or go directly to but#6050

enough crossposting for this year... :roll:

cheers
xor
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Aug 05, 2002 5:43 pm    Post subject: Reply with quote

Posting a link would have been better ;)
Link
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Mon Aug 05, 2002 7:27 pm    Post subject: Reply with quote

so... if I get the wise man right....

a posting link is good.... a posted link is better 8)

the [url=https://bugs.gentoo.org/show_bug.cgi?id=6050]link[/url] to the "bug "
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Aug 05, 2002 7:31 pm    Post subject: Reply with quote

Nice try grasshopper. When you can snatch the pebble from my hand...

Bug
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Mon Aug 05, 2002 7:32 pm    Post subject: Reply with quote

sorry folks.... but this non workin tags make me crazy.... let's try this dance again....

link take 2
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Aug 06, 2002 7:30 am    Post subject: Reply with quote

Why not simply do:

Code:
qpkg -I -nc > /var/cache/edb/world


and then update world :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Aug 06, 2002 5:13 pm    Post subject: Reply with quote

mksoft wrote:
Why not simply do:
Code:
qpkg -I -nc > /var/cache/edb/world

and then update world :?:


I'd be a bit leery of doing this, myself. After hunting around in Bugzilla, I came across This comment (comment number 4, in case the anchors don't show correctly). It seems that if you put ALL your installed packages in the world file, you might end up upgrading a library which will break compatibility with something that depends on it. Not that I've seen that happen, or anything, but it might be something to think about before doing it.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Tue Aug 06, 2002 5:31 pm    Post subject: Reply with quote

Quote:
I'd be a bit leery of doing this, myself. After hunting around in Bugzilla, I came across This comment (comment number 4, in case the anchors don't show correctly). It seems that if you put ALL your installed packages in the world file, you might end up upgrading a library which will break compatibility with something that depends on it. Not that I've seen that happen, or anything, but it might be something to think about before doing it.


Just curious, how would installing/upgrading a package break something that depends on it? I mean, your not removing the package, your upgrading it?

Although, my preference is to do "qpkg -nc -I | xargs emerge -u" to update world. I've done this almost exclusively, and it has worked great.
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Aug 06, 2002 8:41 pm    Post subject: Reply with quote

arkane wrote:
Just curious, how would installing/upgrading a package break something that depends on it? I mean, your not removing the package, your upgrading it?


I agree that it really shouldn't happen, but I'm sure that it does. Let's say libfoo gets upgraded from 2.4 to 2.5. This upgrade breaks compatibility, so it really should have been called 2.5, but wasn't. So you emerge 2.5, and you get a /usr/lib/libfoo.so.2.5, which symlinks itself to /usr/lib/libfoo.so.2, which symlinks itself to /usr/lib/libfoo.so. Now, you *do* still have /usr/lib/libfoo.so.2.4, but anything that's linked to just "libfoo" or even "libfoo v2" is going to pick up the new version, which is going to break your programs. Alternatively, let's say it's numbered correctly, and the new version comes out as "libfoo 3.0" instead. Well, if the ebuilds aren't set up properly, when you do an "emerge clean" on your system after installing the new ebuild, you'll end up wiping away your old versions, too. I imagine that "emerge clean" is fairly common after an "emerge --update world."

Now, admittedly, these kind of problems typically extend from authors using poor naming conventions and misnumbering version releases, but there are many points along the process where things could fail.

I could be wrong, of course, but that's how I see it.

[nitpick]Also, it's "you're," not "your." :)[/nitpick]
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Aug 06, 2002 9:29 pm    Post subject: Reply with quote

What happens when for an exmpale openssl is upgraded due to a security issue (assuming you've missed the GLSA) :?:

In that case update world won't pick this up, if all the packages where in the world file, it'd be upgraded.

I know that some packages can be broken, but that's where common sense kicks in (e.g: I haven't upgraded ogg yet as it'd break various apps).

There are pros and cons for both arguments, it is up to the user to choose (like everything else in Gentoo :)).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Aug 06, 2002 9:35 pm    Post subject: Reply with quote

mksoft wrote:
There are pros and cons for both arguments, it is up to the user to choose (like everything else in Gentoo :)).

Word. :)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Aug 06, 2002 10:06 pm    Post subject: Reply with quote

If you are looking for a one-time update rather than fixing up your world file temporarily/permanently, you can do:
Code:

emerge -pu `qpkg -I -nc`
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 07, 2002 12:25 am    Post subject: Reply with quote

that does the same thing as "qpkg -nc -I | xargs emerge -up" :)

Just a different syntax.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 07, 2002 12:29 am    Post subject: Reply with quote

I agree with everything you're saying, and it does deal alot with the author of the package (not the ebuild) versus anything else.

Quote:

[nitpick]Also, it's "you're," not "your." :)[/nitpick]



This isn't slashdot.. it's not becoming to point out trivial issues in someones post just to make yourself sound smarter.
(It's a pet peeve of mine IRL... I don't do it because I know how it makes others feel)
Back to top
View user's profile Send private message
n0n
Guru
Guru


Joined: 13 Jun 2002
Posts: 355

PostPosted: Wed Aug 07, 2002 2:08 am    Post subject: Reply with quote

arkane wrote:
This isn't slashdot.. it's not becoming to point out trivial issues in someones post just to make yourself sound smarter.
(It's a pet peeve of mine IRL... I don't do it because I know how it makes others feel)


Ach, then please accept my apology in this matter. I've always been a stickler for grammar, and once I was away from a computer I realized I probably shouldn't have brought it up. I shan't make the mistake again. /me bows
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 07, 2002 2:38 am    Post subject: Reply with quote

Oops, I missed your suggestion that preceded my post in the thread! Obviously they are equivalent.

PS. emerge -pu world seems to have changed its behavior at some point in time. The man page used to mention that a "-u world" updated all dependencies of world packages. Now it explicitly says it doesn't :(
arkane wrote:
that does the same thing as "qpkg -nc -I | xargs emerge -up" :)
...
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 07, 2002 3:44 pm    Post subject: Reply with quote

Quote:

PS. emerge -pu world seems to have changed its behavior at some point in time. The man page used to mention that a "-u world" updated all dependencies of world packages. Now it explicitly says it doesn't :(
[quote="arkane"]that does the same thing as "qpkg -nc -I | xargs emerge -up" :)
...


OH wonderful...

I wonder if this is because they are working on something dedicated to dependancy updating, or if there are just issues?
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Wed Aug 07, 2002 4:01 pm    Post subject: Reply with quote

arkane wrote:
This isn't slashdot..

Awww man! That means there are no Karma whores. Karma whores are just so sexy. ;)
Back to top
View user's profile Send private message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Wed Aug 07, 2002 6:02 pm    Post subject: Reply with quote

well.... I think it's somekind of "philosophie" or name it "base for features" ... if in the world-file are just the apps U want, then the systems knows that and dosn't bother you with silly things.... also if a dep is no longer needed (due USE modifications) the system knows "I just needed the package bcos of a dep and not bcos the user wanted it" - so in case you change your mind and want to compile all apps without sasl, the system would remove sasl as soon as no package needs it anymore....
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Aug 08, 2002 12:20 am    Post subject: Reply with quote

I got an updatepretend bash script, and a updatesystem script.

something like this:

#!/bin/bash
cd /var/cache/edb
mv world world.real
qpkg -I -nc > world
emerge -pu world
mv world.real world


with and without -p :)
Back to top
View user's profile Send private message
voidzero
Bodhisattva
Bodhisattva


Joined: 21 Jul 2002
Posts: 265
Location: Grnn

PostPosted: Mon Sep 09, 2002 12:05 am    Post subject: Reply with quote

arkane wrote:
Quote:
I'd be a bit leery of doing this, myself. After hunting around in Bugzilla, I came across This comment (comment number 4, in case the anchors don't show correctly). It seems that if you put ALL your installed packages in the world file, you might end up upgrading a library which will break compatibility with something that depends on it. Not that I've seen that happen, or anything, but it might be something to think about before doing it.


Just curious, how would installing/upgrading a package break something that depends on it? I mean, your not removing the package, your upgrading it?

Although, my preference is to do "qpkg -nc -I | xargs emerge -u" to update world. I've done this almost exclusively, and it has worked great.


You should know how much it wants to rebuild (you know the yellow R - not update) over here!!! It looks like too much :|
_________________
Diplomacy is the art of letting the other party have things your way.
-- Daniele Vare
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Sep 09, 2002 3:10 am    Post subject: Reply with quote

This started out as more of a 'Chat' thread prior to the reorganization. Moving from OTG to Chat.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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