root@OrangePI:/# cd
root@OrangePI:~# ls
root@OrangePI:~# ls
root@OrangePI:~# wget http://www.weewx.com/downloads/weewx_3.4.0-1_all.deb
--2016-02-27 10:59:59-- http://www.weewx.com/downloads/weewx_3.4.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: 1009128 (985K) [text/plain]
Saving to: ‘weewx_3.4.0-1_all.deb’
100%[=============================================================================>] 1,009,128 443KB/s in 2.2s
2016-02-27 11:00:02 (443 KB/s) - ‘weewx_3.4.0-1_all.deb’ saved [1009128/1009128]
root@OrangePI:~# ls
weewx_3.4.0-1_all.deb
root@OrangePI:~# dpkg -k wee*.deb
dpkg: error: unknown option -k
Type dpkg --help for help about installing and deinstalling packages
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked - produce a lot of output - pipe it through 'less' or 'more' !
root@OrangePI:~# dpkg -i wee*.deb
Selecting previously unselected package weewx.
(Reading database ... 14587 files and directories currently installed.)
Preparing to unpack weewx_3.4.0-1_all.deb ...
Vienen las preguntas de configuración de ubicación, tipo de estación, etc.....
Cuando terminan las preguntas, viene el error por faltar programas como apache, etc, etc.
Unpacking weewx (3.4.0-1) ...
dpkg: dependency problems prevent configuration of weewx:
weewx depends on python (>= 2.5); however:
Package python is not installed.
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-imaging (>= 1.1.6); however:
Package python-imaging 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 package weewx (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
weewx
No problem.....seguimos como se indica en el manual de instalación
root@OrangePI:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libmpdec2
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
python python-cheetah python-configobj python-imaging python-minimal
python-pil python-serial python-usb python2.7 python2.7-minimal
Suggested packages:
liblcms2-utils python-doc python-tk python-markdown python-pygments
python-memcache python-pil-doc python-pil-dbg python-wxgtk2.8 python-wxgtk
python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
libfreetype6 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpython-stdlib
libpython2.7-minimal libpython2.7-stdlib libtiff5 libwebp5 libwebpmux1
python python-cheetah python-configobj python-imaging python-minimal
python-pil python-serial python-usb python2.7 python2.7-minimal
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4,930 kB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-minimal armhf 2.7.6-8ubuntu0.2 [307 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7-minimal armhf 2.7.6-8ubuntu0.2 [1,049 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython2.7-stdlib armhf 2.7.6-8ubuntu0.2 [1,821 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python2.7 armhf 2.7.6-8ubuntu0.2 [197 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-minimal armhf 2.7.5-5ubuntu3 [27.4 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libpython-stdlib armhf 2.7.5-5ubuntu3 [6,984 B]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python armhf 2.7.5-5ubuntu3 [134 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-configobj all 4.7.2+ds-5build1 [174 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-cheetah armhf 2.4.4-3.fakesyncbuild1 [143 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libfreetype6 armhf 2.5.2-1ubuntu2.5 [253 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg-turbo8 armhf 1.3.0-0ubuntu2 [85.2 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libjpeg8 armhf 8c-2ubuntu8 [2,202 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports/ trusty/main liblcms2-2 armhf 2.5-0ubuntu4 [107 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libjbig0 armhf 2.0-2ubuntu4.1 [23.3 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libtiff5 armhf 4.0.3-7ubuntu0.3 [129 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebp5 armhf 0.4.0-4 [122 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libwebpmux1 armhf 0.4.0-4 [11.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-pil armhf 2.3.0-1ubuntu3 [257 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-imaging all 2.3.0-1ubuntu3 [4,348 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python-serial all 2.6-1build1 [60.1 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe python-usb armhf 0.4.3-1 [16.4 kB]
Fetched 4,930 kB in 2s (1,771 kB/s)
Selecting previously unselected package libpython2.7-minimal:armhf.
(Reading database ... 14837 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7-minimal (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../libpython2.7-stdlib_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.6-8ubuntu0.2_armhf.deb ...
Unpacking python2.7 (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python-minimal (2.7.5-5ubuntu3) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../libpython-stdlib_2.7.5-5ubuntu3_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Selecting previously unselected package python.
Preparing to unpack .../python_2.7.5-5ubuntu3_armhf.deb ...
Unpacking python (2.7.5-5ubuntu3) ...
Selecting previously unselected package python-configobj.
Preparing to unpack .../python-configobj_4.7.2+ds-5build1_all.deb ...
Unpacking python-configobj (4.7.2+ds-5build1) ...
Selecting previously unselected package python-cheetah.
Preparing to unpack .../python-cheetah_2.4.4-3.fakesyncbuild1_armhf.deb ...
Unpacking python-cheetah (2.4.4-3.fakesyncbuild1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.5_armhf.deb ...
Unpacking libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Selecting previously unselected package libjpeg-turbo8:armhf.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_armhf.deb ...
Unpacking libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_armhf.deb ...
Unpacking libjpeg8:armhf (8c-2ubuntu8) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../liblcms2-2_2.5-0ubuntu4_armhf.deb ...
Unpacking liblcms2-2:armhf (2.5-0ubuntu4) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_armhf.deb ...
Unpacking libjbig0:armhf (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.3_armhf.deb ...
Unpacking libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Selecting previously unselected package libwebp5:armhf.
Preparing to unpack .../libwebp5_0.4.0-4_armhf.deb ...
Unpacking libwebp5:armhf (0.4.0-4) ...
Selecting previously unselected package libwebpmux1:armhf.
Preparing to unpack .../libwebpmux1_0.4.0-4_armhf.deb ...
Unpacking libwebpmux1:armhf (0.4.0-4) ...
Selecting previously unselected package python-pil.
Preparing to unpack .../python-pil_2.3.0-1ubuntu3_armhf.deb ...
Unpacking python-pil (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-imaging.
Preparing to unpack .../python-imaging_2.3.0-1ubuntu3_all.deb ...
Unpacking python-imaging (2.3.0-1ubuntu3) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../python-serial_2.6-1build1_all.deb ...
Unpacking python-serial (2.6-1build1) ...
Selecting previously unselected package python-usb.
Preparing to unpack .../python-usb_0.4.3-1_armhf.deb ...
Unpacking python-usb (0.4.3-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up libpython2.7-minimal:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7-minimal (2.7.6-8ubuntu0.2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up libpython2.7-stdlib:armhf (2.7.6-8ubuntu0.2) ...
Setting up python2.7 (2.7.6-8ubuntu0.2) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:armhf (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-configobj (4.7.2+ds-5build1) ...
Setting up python-cheetah (2.4.4-3.fakesyncbuild1) ...
Setting up libfreetype6:armhf (2.5.2-1ubuntu2.5) ...
Setting up libjpeg-turbo8:armhf (1.3.0-0ubuntu2) ...
Setting up libjpeg8:armhf (8c-2ubuntu8) ...
Setting up liblcms2-2:armhf (2.5-0ubuntu4) ...
Setting up libjbig0:armhf (2.0-2ubuntu4.1) ...
Setting up libtiff5:armhf (4.0.3-7ubuntu0.3) ...
Setting up libwebp5:armhf (0.4.0-4) ...
Setting up libwebpmux1:armhf (0.4.0-4) ...
Setting up python-pil (2.3.0-1ubuntu3) ...
Setting up python-imaging (2.3.0-1ubuntu3) ...
Setting up python-serial (2.6-1build1) ...
Setting up python-usb (0.4.3-1) ...
Setting up weewx (3.4.0-1) ...
Saved configuration to /etc/weewx/weewx.conf
* Starting weewx weather system weewx [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
root@OrangePI:~#