Just retested this per adam_g's request and found out that apt-add-repository is actually creating the files in /etc/apt/sources.list.d correctly but, the logs show the following erros:
2011-08-10 16:32:38,185: hook.output@ERROR: + apt-add-repository ppa:facter-plugins/ppa
2011-08-10 16:32:38,358: hook.output@ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding
2011-08-10 16:32:38,358: hook.output@ERROR: File " 2011-08-10 16:32:38,359: hook.output@ERROR: /usr/lib/python2.7/encodings/__init__.py 2011-08-10 16:32:38,359: hook.output@ERROR: ", line 2011-08-10 16:32:38,359: hook.output@ERROR: 123 2011-08-10 16:32:38,359: hook.output@ERROR:
2011-08-10 16:32:38,359: hook.output@ERROR: 2011-08-10 16:32:38,359: hook.output@ERROR: raise CodecRegistryError,\
2011-08-10 16:32:38,363: hook.output@ERROR: SyntaxError 2011-08-10 16:32:38,363: hook.output@ERROR: : 2011-08-10 16:32:38,363: hook.output@ERROR: invalid syntax
So there is still something broken here.
-Juan
Just retested this per adam_g's request and found out that apt-add-repository is actually creating the files in /etc/apt/ sources. list.d correctly but, the logs show the following erros:
2011-08-10 16:32:38,185: hook.output@ERROR: + apt-add-repository ppa:facter- plugins/ ppa
2011-08-10 16:32:38,358: hook.output@ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding
2011-08-10 16:32:38,358: hook.output@ERROR: File " python2. 7/encodings/ __init_ _.py
2011-08-10 16:32:38,359: hook.output@ERROR: /usr/lib/
2011-08-10 16:32:38,359: hook.output@ERROR: ", line
2011-08-10 16:32:38,359: hook.output@ERROR: 123
2011-08-10 16:32:38,359: hook.output@ERROR:
2011-08-10 16:32:38,359: hook.output@ERROR: ror,\
2011-08-10 16:32:38,359: hook.output@ERROR: raise CodecRegistryEr
2011-08-10 16:32:38,363: hook.output@ERROR: SyntaxError
2011-08-10 16:32:38,363: hook.output@ERROR: :
2011-08-10 16:32:38,363: hook.output@ERROR: invalid syntax
So there is still something broken here.
-Juan