-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
If you ever accidentally delete /usr/bin/emerge (happened to me when I ran emerge -aC dev-lang/python-exec), don't panic. That file is just a wrapper for /usr/lib/python-exec/python2.7/emerge. So you can fix your system by temporarily using /usr/lib/python-exec/python2.7/emerge.
Yes, it's that simple. This is also a useful way to execute pylint and pyflakes on python3 files while still having your system's default python be python2. Simply run /usr/lib/python-exec/python3.3/pyflakes (substituting whichever version of python you use instead of 3.3) and you're set. Yes, it was actually designed to work that way.
In case you want more to read, read this. In case you're more interested in playing than reading, click here.
Javantea out.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWaN9uAAoJEDxoyNvLp4Pvd7wQANBHv85qcKB9lUnz04VVXil8 ZImGywkL0imF4jiwMTHozF7UibkcVJcrocGIiA7Y5gNOrF7cjq+Qt0Tdu7KjyTK1 +dPtjc9SCVAfw+Gp/hVyHrPyx85n2tgT81w2IsNRuhp7W2U0NsIpX7rQ9indvoTG TuUv8VEx06hn4fjKNqR1xNwqWGRu5QUnvAn7JBaDgfRaBoiALaEQG3acXFAPjItQ L2Q5ySTsL+svoPyiFej/B3wYmz+MkyAbjyib4ygxuemcaWmlLztuVL0kjtvT15iH EM3vhe3x/ICaBdmsh2PsYE2RFriM93ZcFXlJBVlkIhIAu08TCQrS2rLIABOGoWVV k+Z5795tMt99gDbiEcrOQyfnyQlg4o2HjQzEMqULNKq6KVXC2RwGSwH/6wkBPmBY a0SiAJEShvdAllGh4rXDU5og43XvQTsmhMAiEkuJAbYHfZYBWNPZRiIKCFmTrgw6 dDtHEA4yLGHNIrZ7jO+uo83hlUF+quMKhLyBbqbfyQU/QfSOI4UWdkhfba+70ed4 QpuYvUl5QyF93ZOaScQHunHobRodBAH9psjkDFkvPVew533bB+l9RhnMqSwX14S6 P2KBiWIcy84sQGkVp1PXXUDhMGJDaYldj0O+YO5Nfza4yUFpO/WO2WIhQ+budYkZ bGC8n2Jc0crgkuv3ZSi5 =aDLu -----END PGP SIGNATURE-----Permalink
-
Leave a Reply
Comments: 0
Leave a reply »