On Sunday, May 10, 2020 at 2:55:10 PM UTC-4, Vince Skahan wrote:
>
> On Sunday, May 10, 2020 at 8:37:17 AM UTC-7, Till Maas wrote:
>>
>> ...which I guess could be removed and users should 
>> be asked to install it from their distribution or via pip....
>>
>
> A good example is trying to do a dpkg or rpm that requires python3-cheetah 
> when your distro does not 'have' such a package.  If you install cheetah 
> with pip as a second way to get it onto the system, if your package isn't 
> smart enough to support that, a package installation will fail and you 
> would have to use a --force or a --ignore-dependencies (or the like) switch 
> to force the package to install.  Those options cause risk too, and a 
> non-linux person won't understand the risks nor how to deal with adventures 
> if they pop up.
>

exactly!  for example, we have to say that weewx3 via apt is supported on 
debian9 and earlier only if you use python2.  weewx3 will run just fine 
with python3 on older debians, but there is no python3 package of cheetah 
on those systems, so the deb package dependencies will fail.  to make 
matters worse, the failures are cryptic (actually, they say exactly what is 
wrong, but that does not help 99% of the users who see the failures :)  of 
course, we could create a python3+cheetah3 package for older debian systems 
and distribute that with weewx, or users could find some backported deb, 
or...

the variations between ubuntu and debian have also been painful.  the 
pil-pillow-imaging naming and forking still cause deb package installation 
dependency problems, and the fact that the conditional dependencies in a 
deb control file are not really conditional just makes things more 
confusing when trying to make a universal package.

its kind of funny (in a tragi-comedic way) that many people find it easier 
to install an entire operating system just to run a single application (i'm 
looking at you docker!), and that the os developers have come up with snaps 
and other jails as a 'lightweight' way of doing just about the same thing.  
(i know, i am simplifying)

m
 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/1fb5d3d6-9f1b-42fc-a643-2e7a8c960755%40googlegroups.com.

Reply via email to