View previous topic :: View next topic |
Author |
Message |
yaman666 Tux's lil' helper
Joined: 13 Dec 2002 Posts: 117 Location: Chicago, IL
|
Posted: Sat Jan 11, 2003 6:25 pm Post subject: Quick question on emerge -u |
|
|
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 |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Sat Jan 11, 2003 6:32 pm Post subject: |
|
|
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 |
|
|
yaman666 Tux's lil' helper
Joined: 13 Dec 2002 Posts: 117 Location: Chicago, IL
|
Posted: Sat Jan 11, 2003 7:07 pm Post subject: |
|
|
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 |
|
|
CoronaLover Retired Dev
Joined: 20 Jun 2002 Posts: 163 Location: Rosh-ha'ayin, Israel
|
Posted: Sat Jan 11, 2003 7:25 pm Post subject: |
|
|
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 |
|
|
yaman666 Tux's lil' helper
Joined: 13 Dec 2002 Posts: 117 Location: Chicago, IL
|
Posted: Sat Jan 11, 2003 7:34 pm Post subject: |
|
|
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 |
|
|
CoronaLover Retired Dev
Joined: 20 Jun 2002 Posts: 163 Location: Rosh-ha'ayin, Israel
|
Posted: Sat Jan 11, 2003 7:39 pm Post subject: |
|
|
yep, its safe.
I know it safe for freetype and the gnome packages, for the other stuff, I dont know. |
|
Back to top |
|
|
|