Automatix2 y Bleeder en Guada V4
Volver al foro (Desarrollo de Guadalinex V4)-
perdón, el fallo es mio por no haber indicado bien la cuestión, el caso es que (si me los he instalado) pero no se abren por que el programa al intentar iniciarse supongo que comprueba el archivo /etc/apt/sources.list y seguramente falta algo que conecte los repositorios de ubuntu edgy.
Y digo "supongo" por que no tengo mucha idea, pero puede ser que esto sea temporal ya que la V4 no está del todo terminada.
Bueno quizás tengamos que añadir algo en el sources.list y todo solucionado.
seguiré investigando por ahí.
Hasta pronto saludos. ;-)Con lo poco que se, solo se, que se poco...............y poco más-
Ejecuta los siguientes comandos para instalar Automatix2
sudo apt-get install automatix2
Si ejecutamos Automatix2 así nos dirá que solo corre en Ubuntu edgy 6.10, vale
para que funcione:
1. sudo gedit /usr/lib/automatix2/distro_helpers.py
2. cambiar:
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Mepis','Mepis'),('Debian','Debian'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return v[1]
return None
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('6.10','6.10'),('7.04','7.04'),('4.0r0','4.0r0'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return v[1]
return None
por
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Ubuntu','Ubuntu'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return v[1]
return v[1]
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('6.10','6.10'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return v[1]
return v[1]
¡OJO! respeta la sangria, en caso contrario no te va a funcionar. Es decir cuando tengas abierto el fichero que menciono, no pongas las lineas que empiecen alineadas a la izquierda, como aparecen en el ejemplo que te pongo, sino que respeta los espaciados que lleva en el fichero original.
Para Automatix Bledeer no se todavia como hacerle funcionar.
Espero que te sirva, un saludo.-
Espero que te sirva, un saludo.
Funciona perfectamente
:-( ¡SALVAD AL LINCE IBERICO¡ :-( :-( ¡SALVAD AL LINCE IBERICO¡ :-( ......... -
Para Automatix Bledeer es casi igual, pero editando el fichero
sudo gedit /usr/lib/automatix2_bleeder/distro_helpers.py
y sustituyendo:
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Mepis','Mepis'),('Debian','Debian'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return v[1]
return None
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('6.10','6.10'),('7.04','7.04'),('4.0r0','4.0r0'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return v[1]
return None
por:
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Guadalinex','Guadalinex'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return 'Ubuntu'
return 'Ubuntu'
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('v4','v4'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return '6.10'
return '6.10'
Saludos.
Ejecuta los siguientes comandos para instalar Automatix2
sudo apt-get install automatix2
Si ejecutamos Automatix2 así nos dirá que solo corre en Ubuntu edgy 6.10, vale
para que funcione:
1. sudo gedit /usr/lib/automatix2/distro_helpers.py
2. cambiar:
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Mepis','Mepis'),('Debian','Debian'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return v[1]
return None
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('6.10','6.10'),('7.04','7.04'),('4.0r0','4.0r0'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return v[1]
return None
por
def getDistName():
#find the version of ubuntu the user is running...
versions = (('Ubuntu','Ubuntu'),('Ubuntu','Ubuntu'))
for v in versions:
if testOutput('lsb_release -i | grep "%s"'%v[0]):
return v[1]
return v[1]
def getDistVersion():
#find the version of ubuntu the user is running...
versions = (('6.06','6.06'),('6.10','6.10'))
for v in versions:
if testOutput('lsb_release -r | grep "%s"'%v[0]):
return v[1]
return v[1]
¡OJO! respeta la sangria, en caso contrario no te va a funcionar. Es decir cuando tengas abierto el fichero que menciono, no pongas las lineas que empiecen alineadas a la izquierda, como aparecen en el ejemplo que te pongo, sino que respeta los espaciados que lleva en el fichero original.
Para Automatix Bledeer no se todavia como hacerle funcionar.
Espero que te sirva, un saludo.
-
-
makunti
Iniciado
Envíos: 51