Cache permissions warning

Hi, during installation whit this:

sudo curl -sL https://rock.sh/get-rockpi-sata-hat | sudo -E bash -

I get this error:

WARNING: The directory '/home/pi/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

If I ignore it and continue with the OMV installation, everything works the same. But after a while the disk stop running and are no longer recognized by OMV. Could it be a problem caused by this message?

I have Raspberry 4 with Desbian Bullseye lite (same problem with 32 and 64 version)

Thanks for any help

There are no bad effects, please feel free to use it.