When running 'layman -a <repo>' when you do not have the appropriate vcs installed, layman-2.0.0_rc3 gives an ambiguous error which does not indicate the problem. Layman-1.4 would report back something like: "* Program "/usr/bin/git" not found" This would clue you in as to the problem. Reproducible: Always Steps to Reproduce: 1. Run 'layman -a <repo>' when appropriate vcs is not installed. 2. 3. Actual Results: # layman -a <repo> * Adding overlay,... * Adding repository "<repo>" failed! * CLI: Errors occured processing action add * Adding repository "<repo>" failed! Expected Results: Example for layman-1.4.1 # layman -a <repo> * Program "/usr/bin/git" not found * Failed to add overlay "<repo>". * Error was: Adding overlay "<repo>" failed!
I have already improved that in git. There was a forum thread that brought the problem to my attention. http://forums.gentoo.org/viewtopic-t-897538-highlight-layman.html. Please try layman-9999, it has a few small changes since _rc3.
OK, I found where the messages were for this bug were broken. It was due to an extra paramenter in the function call to print them. It was causing a traceback that was hidden from view. Fixed in commit: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=915e3c0865ecee24cb31ead94d573b397ae67c51
*** Bug 430258 has been marked as a duplicate of this bug. ***
released in layman-2.0.0_rc4 and rc5.