В Птн, 04/06/2010 в 09:34 +0100, Ciaran McCreesh пишет: > > cave print-ids --matching '*/*::/' > > will give you the full names of everything you've got installed. > > Why exactly do you need the data in name-version form, and what should > be done for packages where there're multiple identical name-versions of > the same thing installed? Adding a --format parameter to print-ids > wouldn't be hard if there's a use case. >
I'm try to use cfengine3 (config management system) and want to add support for paludis package manager to it. It need "package_list_command" that can displays all installed packages with their versions... (not good way) > Which is utterly wrong, since not all installed packages live there, > possibly no installed packages live there, and there can be things in > there that don't map to installed packages. > Ok. > > cave show -t package -f '*/*::installed' displays ambiguous output. > > If you're doing that, use ::/ rather than ::installed, since there can > be multiple installed repositories. Also note that you aren't allowed > to parse the output of most 'cave' commands, since we change the output > arbitrarily. Only the 'cave print-' commands are designed to be machine > readable. > -- Vasiliy G Tolstov <[email protected]> Selfip.Ru _______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
