curl keep deleting

I am experiencing , curl keep deleting from dietpi and I have to install everyday

Hi,

can you be a little bit more specific. Do you mean curl executable is diapering on daily basis? Usually there is nothing scheduled on DietPi to clean/remove software. Do you have anything scheduled? What version of DietPi are you running? Do you have a time slot you could pin on which the executable is removed?


DietPi v6.34.3 : 12:58 - Sat 02/20/21


DietPi Team : MichaIng (lead), Daniel Knight (founder), Joulinar (support)
Image : DietPi Core Team (pre-image: Raspbian Lite)
Web : https://dietpi.com | https://twitter.com/DietPi_
Donate : DietPi - Lightweight justice for your SBC!
DietPi Hosting : Powered by https://myvirtualserver.com

###################################################################################################
Just 10 minutes ago i used curl now it is gone. I also have screen shot attached. Couple of time running dietpi-software , i faced errors and get to command line install curl and retry it work fine. One more thing the login screen not showing correct weather of Dubai .

means it’s going to disappear randomly and not at a specefic moment. correct?

Can you check installation status once the issue happen dpkg -l curl

root@DietPi:~# dpkg -l curl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±==============-============-============-=================================
un curl (no description available)
root@DietPi:~#

Can you please show the following:

grep '^Package: curl' /var/lib/dpkg/status
which curl
hash -d
which curl
ls -l /usr/bin/curl
dmesg -l emerg,alert,crit,err

grep ‘^Package: curl’ /var/lib/dpkg/status
which curl
hash -d
ck: 3: hash: Illegal option -d
which curl
ls -l /usr/bin/curl
ls: cannot access ‘/usr/bin/curl’: No such file or directory
dmesg -l emerg,alert,crit,err
[ 4.731134] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[ 4.731167] [vc_sm_connected_init]: failed to initialize shared memory service
[ 4.792935] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 1065.162770] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 1448.169067] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 1938.459489] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[ 2127.467669] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[43255.912205] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[43314.029965] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[43374.528937] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[74440.661697] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[82198.436698] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
[97878.497797] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

looks like the package was purged. Not sure how this could happen out of the box if not using apt purge curl

Indeed, please install the package and run again through the commands:

apt install curl



ck: 3: hash: Illegal option -d

Are you using bash shell, or a different one? Since hash is a bash builtin command that definitely supports the -d option to clear the command cache.

I always use bash