Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick question on emerge -u
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
yaman666
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 117
Location: Chicago, IL

PostPosted: Sat Jan 11, 2003 6:25 pm    Post subject: Quick question on emerge -u Reply with quote

Sometimes when I type in emerge -u for some package, it shows me that it would merge packages of older version, for example:

[ebuild UD] media-libs/freetype-1.3.1-r3 [2.1.2-r2]

or

[ebuild UD] gnome-base/gnome-panel-1.4.2-r1 [2.0.11-r0]

Does that mean it has to downgrade the current package to a version below in order for whatever I'm installing to work? If that's the case, will it affect anything else that depends on that package?

Thanks!
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Sat Jan 11, 2003 6:32 pm    Post subject: Reply with quote

if i want to emerge package a but it tells me it's going to downgrade package b then i do the following:

Code:
emerge a && emerge -u b

_________________
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Back to top
View user's profile Send private message
yaman666
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 117
Location: Chicago, IL

PostPosted: Sat Jan 11, 2003 7:07 pm    Post subject: Reply with quote

What do a and b refer to in this case? Here's my example for php:

Code:
# emerge -up php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-libs/pdflib-4.0.3
[ebuild  N   ] app-crypt/mhash-0.8.16
[ebuild  N   ] dev-libs/libmcrypt-2.5.5
[ebuild    UD] media-libs/freetype-1.3.1-r3 [2.1.2-r2]
[ebuild  N   ] media-libs/t1lib-1.3.1
[ebuild  N   ] net-libs/libwww-5.4.0-r1
[ebuild  N   ] dev-php/php-4.3.0-r2


But then I get the same thing without using the -u

Code:
# emerge -p php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-libs/pdflib-4.0.3
[ebuild  N   ] app-crypt/mhash-0.8.16
[ebuild    UD] media-libs/freetype-1.3.1-r3 [2.1.2-r2]
[ebuild  N   ] media-libs/t1lib-1.3.1
[ebuild  N   ] net-libs/libwww-5.4.0-r1
[ebuild  N   ] dev-libs/libmcrypt-2.5.5
[ebuild  N   ] dev-php/php-4.3.0-r2


So what happens to freetype in this case?

Thanks.
Back to top
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Sat Jan 11, 2003 7:25 pm    Post subject: Reply with quote

Well in this case, freetype is SLOTED which means emerging freetype 1.x will not downgrade freetype 2.x. Both freetype 1.x and 2.x can live together!
Unfortunetly portage fails to report this to the user.
I know this is being worked on...
Back to top
View user's profile Send private message
yaman666
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 117
Location: Chicago, IL

PostPosted: Sat Jan 11, 2003 7:34 pm    Post subject: Reply with quote

So in other words no problems will occur? :-) Does that apply to just freetype or most of the packages which would be downgraded. For example:

Code:
# emerge -up --deep world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild    UD] app-text/docbook-sgml-dtd-3.1-r1 [4.1-r0]
[ebuild    UD] app-text/docbook-sgml-dtd-3.0-r1 [4.1-r0]
[ebuild    UD] app-text/docbook-sgml-dtd-4.0-r1 [4.1-r0]


Or:

Code:
# emerge -up gaim

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] dev-libs/libxml-1.8.17-r2
[ebuild    UD] gnome-base/libglade-0.17-r6 [2.0.1-r0]
[ebuild  N   ] gnome-base/gnome-common-1.2.4-r3
[ebuild  N   ] dev-util/indent-2.2.6
[ebuild  N   ] gnome-base/oaf-0.6.10
[ebuild  N   ] dev-util/guile-1.4.1
[ebuild    UD] gnome-base/gconf-1.0.8-r3 [1.2.1-r0]
[ebuild    UD] gnome-base/gnome-vfs-1.0.5-r3 [2.0.4.1-r1]
[ebuild    UD] gnome-base/control-center-1.4.0.5-r1 [2.0.3-r1]
[ebuild    UD] gnome-base/gnome-panel-1.4.2-r1 [2.0.11-r0]
[ebuild  N   ] net-im/gaim-0.59.8


Would it be safe to assume that there won't be any problems after merging the packages above?

Thanks.
Back to top
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Sat Jan 11, 2003 7:39 pm    Post subject: Reply with quote

yep, its safe.
I know it safe for freetype and the gnome packages, for the other stuff, I dont know.
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