Thanks, I was missing the "-1" at the end, that solved my problem I managed 
to downgrade.

sudo apt install weewx=4.10.2-1

Axelle.

On Tuesday, February 6, 2024 at 8:31:56 PM UTC+1 Mks Mk wrote:

> Pierre-Yves
> we used these commands
> sudo apt remove weewx
> then
> sudo apt install weewx=4.10.2-1
>
> On Tuesday, February 6, 2024 at 10:13:38 PM UTC+3 Pierre-Yves wrote:
>
>> @ Mks Mk,
>> Which command did you use to perform the downgrade from v5to v4.10.2 ?
>> I tried "sudo apt install weewx=4.10.2" and "sudo apt install weewx 
>> 4.10.2" but none of these work...
>>
>> Thanks, Pierre-Yves
>>
>> Le mardi 6 février 2024 à 19:44:41 UTC+1, Mks Mk a écrit :
>>
>>> we just tried the upgrade again to weewx  v5.0.1 (sudo apt update) and 
>>> it worked this time.
>>> (we have not done any changes to the system after the downgrade to 
>>> v4.10.2) 
>>>
>>> On Tuesday, February 6, 2024 at 8:32:36 PM UTC+3 Pierre-Yves wrote:
>>>
>>>> @ Matthew, thanks. I need now to "digest" all this information, it's a 
>>>> bit high level for me ;-)
>>>>
>>>> @ Stefanos, thanks too, I tested my USB SDR key and obtain the same 
>>>> result as yours : "Bus 003 Device 003: ID 0bda:2838 Realtek Semiconductor 
>>>> Corp. RTL2838 DVB-T"
>>>>
>>>> Pierre-Yves
>>>> Le mardi 6 février 2024 à 18:17:07 UTC+1, Stefanos Kalaitzis a écrit :
>>>>
>>>>> i forgot to write in my last message  that when you finished you must 
>>>>> restart udev or restart the device you using( p.c , rpi ,... etc)
>>>>>
>>>>> On Tuesday, February 6, 2024 at 7:11:07 PM UTC+2 matthew wall wrote:
>>>>>
>>>>>> On Tuesday, February 6, 2024 at 11:38:24 AM UTC-5 Pierre-Yves wrote:
>>>>>>
>>>>>> It seems to be a problem of rules change. In fact, I first upgraded 
>>>>>> from 4.10.2 to 5.0.0 and weewx worked perfectly. 
>>>>>>
>>>>>>
>>>>>> weewx was running as root:root. weewx 5.0.0 did not modify any 
>>>>>> permissions when it upgraded from 4.10.2.
>>>>>>  
>>>>>>
>>>>>> Then I went from 5.0.0 to 5.0.1 an weewx failed to start.
>>>>>>
>>>>>>
>>>>>> weewx was running as weewx:weewx.  weewx 5.0.1 converts from 
>>>>>> root:root permissions to weewx:weewx permissions, and runs the daemon as 
>>>>>> weewx.
>>>>>>  
>>>>>>
>>>>>> For Weewx,, I did a deb/rpm install and, as far I remember, I 
>>>>>> installed rtl-sdr following your Git (
>>>>>> https://github.com/matthewwall/weewx-sdr).
>>>>>>
>>>>>> I tried the command you proposed (sudo usermod -aG plugdev weewx) but 
>>>>>> that doesn't solve the problem.
>>>>>>
>>>>>>
>>>>>> is there a udev rules file for sdr?  (it is a separate step when you 
>>>>>> build rtl-sdr from source)
>>>>>> if there is a udev rules file for sdr, how are the permissions set?
>>>>>> did the usermod for weewx succeed?
>>>>>> is weewx in the plugdev group?  (grep weewx /etc/group)
>>>>>> did you restart weewxd after putting weewx into the plugdev group?
>>>>>>  
>>>>>>
>>>>>> Regarding the rtl-sdr rules, I have a doubt. I installed the file in 
>>>>>> /etc/weewx/udev/rules.d. Maybe it is a wrong place... I read in another 
>>>>>> thread that it should be in /usr/lib/udev/rules.d... What about ?
>>>>>>
>>>>>>
>>>>>> packages install to /usr/lib/udev/rules.d
>>>>>>
>>>>>> system administrators (or end-users acting as system administrators) 
>>>>>> put things in /etc/udev/rules.d
>>>>>>
>>>>>> that way you can override whatever a package installs, and your 
>>>>>> changes will not be overwritten by the package when you upgrade/update.
>>>>>>  
>>>>>>
>>>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fd23e192-a123-4be1-9ac9-e3e085dd591an%40googlegroups.com.

Reply via email to