View previous topic :: View next topic |
Author |
Message |
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Tue Oct 29, 2002 11:22 am Post subject: Emerge don't update |
|
|
Hello I've a problem with emerge ... look at this:
-----------------begin-----------------
$ emerge -s fontconfig
Searching...
[ Results for search key : fontconfig ]
[ Applications found : 1 ]
* media-libs/fontconfig
Latest version available: 2.0-r1
Latest version installed: 2.0
Homepage: http://fontconfig.org/
Description: A library for configuring and customizing font access.
$ emerge -up world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
-----------------end-----------------
Why emerge don't update fontconfig?!?!?!?
I'miss something or this is a bug???
Please reply if something like this has happened to you, I don't want to submit a bug if it is not a bug. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 29, 2002 1:28 pm Post subject: |
|
|
Have you explicitly emerged fontconfig in the past, or is it just a dependency of something else in your world file? Does "emerge -up --deep world" want to update it? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Tue Oct 29, 2002 1:45 pm Post subject: |
|
|
rac wrote: | Have you explicitly emerged fontconfig in the past, or is it just a dependency of something else in your world file? Does "emerge -up --deep world" want to update it? |
No, fontconfig was emerged as a dependancy of xfree (I belive) in a new fresh gentoo 1.4(rc1) installation.
I don't know if "emerge -up --deep world" solve the problem bacause I update fontconfig by hand with "emerge fontconfig" trying to solve a problem with aafonts in gnome2.
For curiosity I launched "emerge -up --deep world" to check if there are some other ebuilds to update, the result is:
# emerge -up --deep world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
[ebuild N ] app-admin/addpatches-0.2
# emerge -s addpatches
* app-admin/addpatches
Latest version available: 0.2
Latest version installed: [ Not Installed ]
Homepage:
Description: patch management script.
... what --deep means?
There was one another episode like this in the previous installation (gentoo 1.2) with ggv. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 29, 2002 3:28 pm Post subject: |
|
|
faithfull wrote: | ... what --deep means? |
Say that package A is in the world file, and package B is installed as a dependency of A, but is not in the world file. If both A and B have upgrades available, a normal "emerge -u" will upgrade them both. If only B has an upgrade, but A does not, "emerge -u" will not upgrade B. However, "emerge -u --deep" will. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Tue Oct 29, 2002 5:55 pm Post subject: Ehhhh?!?!?!? |
|
|
rac wrote: | faithfull wrote: | ... what --deep means? |
Say that package A is in the world file, and package B is installed as a dependency of A, but is not in the world file. If both A and B have upgrades available, a normal "emerge -u" will upgrade them both. If only B has an upgrade, but A does not, "emerge -u" will not upgrade B. However, "emerge -u --deep" will. |
How you can emerge the package B without inserting it in the world file??? |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Tue Oct 29, 2002 8:04 pm Post subject: |
|
|
This is what happens for me when I use --deep, lots of stuff which should of been updated. Good thing I found out about this I guess.
Code: |
# emerge -up world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
|
Code: |
# emerge -up --deep world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
[ebuild U ] sys-apps/cronbase-0.2.1
[ebuild U ] dev-libs/glib-1.2.10-r5
[ebuild N ] media-libs/fontconfig-2.0-r1
[ebuild N ] app-arch/cabextract-0.6
[ebuild U ] x11-base/xfree-4.2.1
[ebuild U ] media-sound/esound-0.2.29
[ebuild U ] gnome-base/gnome-libs-1.4.2
[ebuild U ] media-libs/gdk-pixbuf-0.20.0
[ebuild U ] app-text/openjade-1.3.1-r5
[ebuild U ] dev-perl/SGMLSpm-1.03-r3
[ebuild U ] app-text/docbook-xsl-stylesheets-1.52.2
[ebuild U ] app-text/docbook-xml-dtd-4.1.2-r3
[ebuild N ] app-text/docbook-sgml-utils-0.6.11-r2
[ebuild N ] sys-libs/libieee1284-0.2.1
[ebuild U ] media-gfx/imagemagick-5.4.7.4
[ebuild U ] dev-perl/Parse-RecDescent-1.80-r2
[ebuild U ] dev-perl/XML-Writer-0.4-r1
[ebuild U ] dev-perl/gtk-perl-0.7008-r4
[ebuild U ] dev-perl/ExtUtils-F77-1.14
[ebuild U ] dev-perl/PDL-2.3.2-r1
[ebuild N ] net-ftp/curl-7.9.7
[ebuild N ] net-print/foomatic-2.0.0
[ebuild U ] sys-devel/gdb-5.2.1
|
|
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Tue Oct 29, 2002 8:18 pm Post subject: |
|
|
Malakin wrote: | This is what happens for me when I use --deep, lots of stuff which should of been updated. Good thing I found out about this I guess.
Code: |
# emerge -up world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
|
Code: |
# emerge -up --deep world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
[ebuild U ] sys-apps/cronbase-0.2.1
[ebuild U ] dev-libs/glib-1.2.10-r5
[ebuild N ] media-libs/fontconfig-2.0-r1
[ebuild N ] app-arch/cabextract-0.6
[ebuild U ] x11-base/xfree-4.2.1
[ebuild U ] media-sound/esound-0.2.29
[ebuild U ] gnome-base/gnome-libs-1.4.2
[ebuild U ] media-libs/gdk-pixbuf-0.20.0
[ebuild U ] app-text/openjade-1.3.1-r5
[ebuild U ] dev-perl/SGMLSpm-1.03-r3
[ebuild U ] app-text/docbook-xsl-stylesheets-1.52.2
[ebuild U ] app-text/docbook-xml-dtd-4.1.2-r3
[ebuild N ] app-text/docbook-sgml-utils-0.6.11-r2
[ebuild N ] sys-libs/libieee1284-0.2.1
[ebuild U ] media-gfx/imagemagick-5.4.7.4
[ebuild U ] dev-perl/Parse-RecDescent-1.80-r2
[ebuild U ] dev-perl/XML-Writer-0.4-r1
[ebuild U ] dev-perl/gtk-perl-0.7008-r4
[ebuild U ] dev-perl/ExtUtils-F77-1.14
[ebuild U ] dev-perl/PDL-2.3.2-r1
[ebuild N ] net-ftp/curl-7.9.7
[ebuild N ] net-print/foomatic-2.0.0
[ebuild U ] sys-devel/gdb-5.2.1
|
|
It's very strange that you need to update very important packages and emerge (without "--deep" option) won't!!!
In the manpage of emerge I haven't seen any "--deep" description. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Oct 29, 2002 9:22 pm Post subject: |
|
|
faithfull wrote: | In the manpage of emerge I haven't seen any "--deep" description. | -deep is not an offical feature yet, so it isn't documented in the man pages. I forget where I read about it. Perhaps the portage changelog. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Tue Oct 29, 2002 10:00 pm Post subject: |
|
|
kanuslupus wrote: | -deep is not an offical feature yet, so it isn't documented in the man pages. I forget where I read about it. Perhaps the portage changelog. |
Ok, however it isn't normal that Malakin must add "--deep" to update xfree?
How can that so many packages aren't in the world file?
Sorry, today to wake up I typed:
Code: | $ faithfull --pedantic everyday.c
|
but I'm very interested in this emerge unespected (for me) behaviour. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Oct 29, 2002 10:35 pm Post subject: |
|
|
faithfull wrote: | Ok, however it isn't normal that Malakin must add "--deep" to update xfree? | I'm not understanding what you're asking here.
Quote: | How can that so many packages aren't in the world file? | world is only populated with packages if you emerge them, not if they are dependencies. Using rac's A & B analogy from above, if you emerge A, and B is a dependecy of A, only A will be in the world file.
Does that help? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Tue Oct 29, 2002 10:55 pm Post subject: |
|
|
Quote: | world is only populated with packages if you emerge them, not if they are dependencies. Using rac's A & B analogy from above, if you emerge A, and B is a dependecy of A, only A will be in the world file. |
Normally if one types "emerge kde" after getting gentoo running for the first time it will emerge tons of stuff as dependancies, now normally this other stuff _is_ updated later on when you do an "emerge -u world". |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 30, 2002 3:04 am Post subject: |
|
|
faithfull wrote: | Ok, however it isn't normal that Malakin must add "--deep" to update xfree? |
It tells me that Malakin did not ever emerge xfree explicitly - instead xfree was installed on that system as a dependency of something else. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Wed Oct 30, 2002 1:09 pm Post subject: |
|
|
kanuslupus wrote: | faithfull wrote: | Ok, however it isn't normal that Malakin must add "--deep" to update xfree? | I'm not understanding what you're asking here.
|
Untill yestarday I belived that the "-u" flag update the entire set of packages that i have installed (all dependancies too).
kanuslupus wrote: |
Quote: | How can that so many packages aren't in the world file? | world is only populated with packages if you emerge them, not if they are dependencies. Using rac's A & B analogy from above, if you emerge A, and B is a dependecy of A, only A will be in the world file.
Does that help? |
Yes, a lot.
Last question: I emerge a package A with his dependancies B and C. A is in the world file B and C no. If someday someone discover a vulnerability in B or C I cannot update it with emerge -u world. I'm wrong? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 30, 2002 1:15 pm Post subject: |
|
|
Cannot is a bit strong. You could always update it with --deep. One reason why things are the way they are is if it would break A to upgrade B and C without upgrading A at the same time. If A has an upgrade available, B and C are checked for upgrades, even without --deep. --deep only matters in the case where A does not have an upgrade available but B or C does. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|