python-updater currently calls the 'paludis' for Paludis-related actions. The 'paludis' client will soon be deprecated in favour of 'cave'. Please change the commands to the newer client. As far as I can see, the commands needed are: PMS_COMMAND=cave PMS_OPTIONS=resolve --preserve-world --execute For has-version: cave has-version For env variables: cave print-id-environment-variable --best "${1}/${2}${3:+:}${3}::/?" --variable-name USE_PYTHON --format '%v\n' Also, pretending is the default for 'cave resolve'. You have to explicitly specify --execute to get it to carry something out. It's probably easiest to include the '--execute' in the main 'cave resolve' command string, and then append '--no-execute' if pretending.
I would suggest to use also "--lazy" and "--continue-on-failure if-independent" in the PMS_OPTIONS.
Since the paludis client has been removed from git and won't be shipped in the next release, I think this should really be considered as blocking right now
Created attachment 265459 [details, diff] Patch for python-updater-0.8 I have tested this a little but it would be nice if someone could test this as well and get it into Gentoo.
For me this patch works like a charm. I have no power to put it upstream, but had the power to test how it works.
this bug has been opened since 2010-12-06. Atm there is stable request for security bug of python ( bug 358717 ) I think that is very important for paludis users that can't run python-updater properly.
Paludis is not officially supported by Gentoo, therefore this bug has nothing to do with QA
Anyway... the patch is already here. So please avoid needless paludis' users pain and make a good action, spending 10 minutes of your precious time and committing the patch. You can easily see the patch doesn't touch the "emerge stuff". We spent more time on arguing than time needed to actually get the commit done. Thanks
So, now, paludis 0.60 has been released, with the paludis client removed. This really is critical, since paludis users with an up to date system won't be able to run python-updater anymore
a better workaround is create a symlink with cave and paludis...or create a custom ebuild with this patch
(In reply to comment #9) > a better workaround is create a symlink with cave and paludis...or create a > custom ebuild with this patch cave and paludis are two really different clients, the options are not the same, ... A symlink is certainly not an option to consider. I don't see why this would be a "better" workaround anyway. python-updater needs a release since a while (see http://bugs.gentoo.org/308579), this release have to land soon, and with this patch applied.
I have committed a similar fix in r436. Please test app-admin/python-updater-9999.
Works fine here, thx
(In reply to comment #11) > I have committed a similar fix in r436. > Please test app-admin/python-updater-9999. This works. Thank you. Cheat data: The magic line in /etc/paludis/keywords.conf to get a 9999 version working is: =app-admin/python-updater-9999 *
The python-updater-9999 suggested breaks for me with a new error: ~ # python-updater -P paludis -p * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: 3.2 * Unrecognized Python ABI '*' Same if I try to set 3.2 as main.
(In reply to comment #14) It is unrelated to this bug. You have probably set USE_PYTHON="*", which is invalid.
Fixed in app-admin/python-updater-0.9.