On Sun, 18 Jan 2009, Tom Cooksey wrote:

On 1/18/09, Ciaran McCreesh <[email protected]> wrote:
On Sun, 18 Jan 2009 10:29:31 -0500
"Tom Cooksey" <[email protected]> wrote:
After a bit of investigation, I've found the cause of the problem is because a lot of the packages I've installed have not been added to world. This would include all the kde4 meta packages I've installed. I'm just wondering under what circumstances (other than -1) does paludis not add things to world? I'm trying to work out what I did so I don't do it again.

Paludis will not add to world if:

* you specify -1
* your dependency specification includes any operators or restrictions
* the build process fails midway-through (even if some of your
  specified targets succeeded)

So Paludis _should_ add packages to world, even if they are being upgraded?

I have no idea what I did before to make paludis not add the packages to world... I guess I'll never know now.


Also keep in mind that paludis won't add things that were only installed due to dependencies.

As an example, I have app-editors/emacs installed already, without the 'hesiod' use flag. So, I enable 'hesiod' via use.conf. Then:

# paludis -i emacs
[...]
These packages will be installed:

* net-dns/hesiod [N 3.0.2-r2]
    build_options: -optional_tests -split strip
"system which uses existing DNS functionality to provide access to databases of information that changes infrequently"
    31.22 kBytes to download
* app-editors/emacs :22 [R 22.3-r1] <target>
X -Xaw3d alsa gif gtk -gzip-el hesiod* jpeg kerberos -motif png -sound source spell tiff -toolkit-scroll-bars xpm build_options: -optional_tests
[...]

But, I 'Ctrl+C' out of it, and the "resume command" only lists 'app-editor/emacs':

Resume command: /usr/bin/paludis --log-level qa --install --add-to-world-spec 'app-editors/emacs' --serialised 0.25 'package;=net-dns/hesiod-3.0.2-r2:0::gentoo;installed;has_all_deps;P' 'package;=app-editors/emacs-22.3-r1:22::gentoo;installed;has_all_deps;P'


This is intentional behavior, since, hypothetically, a later version of emacs might include built-in hesiod support, and --install world shouldn't need to do anything with net-dns/hesiod. But, it's sometimes confusing, since hesiod, something you installed through normal methods, isn't added to world.

Glancing through the output of paludis --pretend --uninstall-unused, about half of the packages listed fall into this category for me (things that I don't want removed, but I never explicitly installed). And another quarter are things that I installed explicitly, but needed a specific version (e.g. postgresql-server), and never added to world.

Best,
Ben
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to