[necro-post from an infrequent contributor]
vince wrote:
On Wednesday, March 20, 2024 at 12:56:27 PM UTC-7 Ron Walker wrote:
Thanks all so much for the quick replies! I attempted to implement your
suggestion and got the following:
ron@WeatherPi5:~ $ sudo echo PURGE | debconf-communicate weewx
debconf: DbDriver "passwords" warning: could not open
/var/cache/debconf/passwords.dat: Permission denied
0
debconf: DbDriver "config": could not write
/var/cache/debconf/config.dat-new: Permission denied
try:
sudo sh -c 'echo PURGE | debconf-communicate weewx'
Thanks for the debconf-communicate trick; been a Deb user for decades
("Woody") and have never run into that.
In exchange:
sudo can read and pass through piped stdin
echo PURGE | sudo debconf-communicate weewx
R
--
R A Li
"Once you have tasted flight, you will walk the earth with your eyes turned
forever skyward, for there you have been, and there you long to return"
- Leonardo da Vinci (1452-1519)
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/Zn2HiEDCibU7sVm8%40mta.tifosi.com.