Software > WeeWX
Instalación de Weewx automatizada
FERRIS:
hola buenas tardes , soy novato en estos temas ,te comento estando instalando tu escript , para una davis vue , todo iba perfectamente estando ya configurando los datos de la estacion , cuando tuve un apagon de luz en casa ,quedando la instalacion a medio hacer, he vuelto a intentar reiniciar la instalacion desde cero otra vez , pero llego aun punto que no me dja continuar, por favor decidme que pudiese hacer, os adjunto el punto donde esta el error.
gracias.
login as: pi
[email protected]'s password:
Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Apr 27 17:53:55 2016 from 192.168.0.103
pi@raspberrypi ~ $ wget http://jantoni.no-ip.org/download/raspweather/weewx.sh
--2016-04-27 18:10:02-- http://jantoni.no-ip.org/download/raspweather/weewx.sh
Resolving jantoni.no-ip.org (jantoni.no-ip.org)... 83.54.228.159
Connecting to jantoni.no-ip.org (jantoni.no-ip.org)|83.54.228.159|:80... connect ed.
HTTP request sent, awaiting response... 200 OK
Length: 983 [text/x-sh]
Saving to: `weewx.sh.1'
100%[======================================>] 983 --.-K/s in 0s
2016-04-27 18:10:02 (7.38 MB/s) - `weewx.sh.1' saved [983/983]
pi@raspberrypi ~ $ chmod +x weewx.sh
pi@raspberrypi ~ $ sudo ./weewx.sh
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
weewx : Depends: python-configobj (>= 4.5) but it is not installed
Depends: python-cheetah (>= 2.0) but it is not installed
Depends: python-serial (>= 2.3) but it is not installed
Depends: python-usb (>= 0.4) but it is not installed
Recommends: python-dev (>= 2.5) but it is not installed
Recommends: python-pip (>= 0.7) but it is not installed
Recommends: rsync but it is not installed
E: Unmet dependencies. Try using -f.
--2016-04-27 18:11:29-- http://www.weewx.com/downloads/weewx_3.5.0-1_all.deb
Resolving www.weewx.com (www.weewx.com)... 97.74.144.107
Connecting to www.weewx.com (www.weewx.com)|97.74.144.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1022130 (998K) [text/plain]
Saving to: `weewx_3.5.0-1_all.deb.10'
100%[=============================================================================>] 1,022,130 38.0K/s in 28s
2016-04-27 18:11:58 (35.0 KB/s) - `weewx_3.5.0-1_all.deb.10' saved [1022130/1022130]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libwebp5
E: Unable to locate package libwebpdemux1
E: Unable to locate package libwebpmux1
E: Unable to locate package python-pil
(Reading database ... 68110 files and directories currently installed.)
Preparing to replace weewx 3.5.0-1 (using weewx_3.5.0-1_all.deb) ...
Unpacking replacement weewx ...
dpkg: dependency problems prevent configuration of weewx:
weewx depends on python-configobj (>= 4.5); however:
Package python-configobj is not installed.
weewx depends on python-cheetah (>= 2.0); however:
Package python-cheetah is not installed.
weewx depends on python-serial (>= 2.3); however:
Package python-serial is not installed.
weewx depends on python-usb (>= 0.4); however:
Package python-usb is not installed.
dpkg: error processing weewx (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
weewx
ln: failed to create symbolic link `/var/www/html/weewx': No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
weewx : Depends: python-configobj (>= 4.5) but it is not going to be installed
Depends: python-cheetah (>= 2.0) but it is not going to be installed
Depends: python-serial (>= 2.3) but it is not going to be installed
Depends: python-usb (>= 0.4) but it is not going to be installed
Recommends: python-dev (>= 2.5) but it is not going to be installed
Recommends: python-pip (>= 0.7) but it is not going to be installed
Recommends: rsync but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[ ok ] Stopping enhanced syslogd: rsyslogd.
[ ok ] Starting enhanced syslogd: rsyslogd.
pi@raspberrypi ~ $
jantoni:
Te ocurre porque el sistema detecta que está "medio isntalado" weewx.
Soluciones:
- Empezar de cero. Es decir, grabando de nuevo la tarjeta SD y empezar de nuevo el script (la forma más segura)
- Ejecutar
--- Código: ---sudo apt-get -f install
--- Fin del código ---
y luego ejecutar de nuevo el script (no garantizo el resultado, pero debería funcionar)
- Ejecutar
--- Código: ---sudo apt-get purge weewx
--- Fin del código ---
Y empezar de nuevo el script. Tampoco garantizo el resultado
En los dos últimos ejemplos, no puedo decir que vaya a funcionar, porque no me ha ocurrido nunca dejar a medias el script y tendría que reproducirlo. Pero ambos ejemplos deberían funcionar.
meteoalcolea:
Estoy intentando realizar la instalación de weewx con el tutorial de jantoni http://forum.meteoclimatic.net/index.php/topic,208.0.html
En ese post estoy teniendo algunos problemas que estamos intentando solucionar.
En otra tarjeta SD he empezado a intentar instalar weewx con el tutorial de este post (que parece un poco más fácil). Una vez realizados los cuatro pasos que nos indica jantoni, y después de esperar un buen rato para ver si se generan las primeras páginas, creo que algo no va bien. Adjunto ficheros con el resultado obtenido.
jantoni:
Pues tendremos que acudir al log de weewx
Y comprobar que haya algo en el servidor web, mirando lo que hay....
ls -la /var/www/*
El log de weewx debería estar en /var/log/weewx.log aunque con tantos sistemas de instalación que he hecho ya no me acuerdo muy bien de donde está en este caso ;D ;D ;D ;D ;D ;D
jantoni:
Desdew luego que, este sistema, está superprobado y funciona siempre.
Salvo el tema de que a Apache no le gustan los directorios temporales.
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa