Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
updating world packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Sun Jul 14, 2002 11:02 am    Post subject: updating world packages Reply with quote

Hi all, i'm trying to update my world packages, they count 15 packages, but when i try "emerge -p --update world" it tell me to update glibc, reiserfsprogs, etc... Then, i do "emerge -p (for each world package)" and i don't see the glibc update, or reiserfsprogs update...
Could anyone explain me what do "emerge --update world"??? and what packages it updates by default
Back to top
View user's profile Send private message
alec
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 270
Location: Here

PostPosted: Sun Jul 14, 2002 12:59 pm    Post subject: Reply with quote

What you'll want to do is pass the -u option when upgrading. In theory I'm not sure what it does, but I've never noticed any difference when using it or when not using it to upgrade.

So for glibc, doing a 'emerge -u glibc' and 'emerge glibc' probably don't get any different effect.

'emerge -u world' just goes through the packages in your world file (can't remember where it is off the top of my head) and checks for updates.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sun Jul 14, 2002 1:02 pm    Post subject: Reply with quote

try:
Code:
emerge -up glibc


for the update (-up is same as -p and --update).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Sun Jul 14, 2002 6:31 pm    Post subject: re Reply with quote

mksoft wrote:
try:
Code:
emerge -up glibc


for the update (-up is same as -p and --update).



sorry, but emerge -p is equal to emerge --pretend, isn't it?

I want to upgrade my world packages, but without upgrading glibc and other packages that are not required by these world packages.
Back to top
View user's profile Send private message
alec
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 270
Location: Here

PostPosted: Mon Jul 15, 2002 12:55 am    Post subject: Re: re Reply with quote

tigrezno wrote:
mksoft wrote:
try:
Code:
emerge -up glibc


for the update (-up is same as -p and --update).



sorry, but emerge -p is equal to emerge --pretend, isn't it?

I want to upgrade my world packages, but without upgrading glibc and other packages that are not required by these world packages.


If you do an 'emerge -h' (or 'emerge --help'), you'll get a nice list of options. Yes, 'emerge -p' = 'emerge --pretend'. If you just want to update some stuff, but not others, just do an 'emerge -u packagename' or even 'emerge -u package1 package2'.

Glibc would be something to update - maybe overnight, but it's a security risk, and the worst thing you can do is just leave it sitting there.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 15, 2002 1:26 am    Post subject: Reply with quote

If you really don't want to upgrade a package, you can add the version to the world file, /var/cache/edb/world, like so:
=sys-libs/glibc-2.2.5-r5
It shouldn't show you an upgrade for this package then, when you do "emerge -pu world", e.g. Preventing glibc updates may not be a great idea however. The latest upgrade is to fix a security bug.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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