On Friday, February 3, 2017 at 2:25:17 PM UTC-5, Phil Green wrote:
>
> Hello
> I have been using Weewx for many years on my Raspberry Pi. 
> I usually install using the setup.py method. However on my new Raspberry 
> Pi3 I used the apt-get method. 
> My question:- when a new version of Weewx is released how do I upgrade?
> Do I download the .deb package and install from the command line, or use 
> an apt-get update/upgrade method?
> Regards
> Phil. 
>

phil,

short anser:

if you installed using apt-get, then all you have to do to upgrade is:

sudo apt-get install weewx


longer answer:

dpkg operates directly on .deb files - it does not know how to download 
them.

apt-get knows how to download and knows how to resolve dependencies, but 
cannot actually do the installation.  so apt-get does the downloading for 
you, keeps track of dependencies, then invokes dpkg to do the actual 
installation.

so if you installed using dpkg (by first downloading a .deb file), then you 
can upgrade by using dpkg or apt-get.  but if you use apt-get, you must put 
the weewx apt repository in /etc/apt/sources.list.d/weewx.list first - that 
is how you tell apt-get where to look for weewx updates/upgrades.

m 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to