View previous topic :: View next topic |
Author |
Message |
tigrezno Apprentice
Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Sun Jul 14, 2002 11:02 am Post subject: updating world packages |
|
|
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 |
|
|
alec Apprentice
Joined: 19 Apr 2002 Posts: 270 Location: Here
|
Posted: Sun Jul 14, 2002 12:59 pm Post subject: |
|
|
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 |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Jul 14, 2002 1:02 pm Post subject: |
|
|
try:
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 |
|
|
tigrezno Apprentice
Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Sun Jul 14, 2002 6:31 pm Post subject: re |
|
|
mksoft wrote: | try:
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 |
|
|
alec Apprentice
Joined: 19 Apr 2002 Posts: 270 Location: Here
|
Posted: Mon Jul 15, 2002 12:55 am Post subject: Re: re |
|
|
tigrezno wrote: | mksoft wrote: | try:
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 15, 2002 1:26 am Post subject: |
|
|
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 |
|
|
|