I am getting this error after typing sudo apt autoremove
in terminal
readlink: missing operand
Try 'readlink --help' for more information.
stat: missing operand
Try 'stat --help' for more information.
E: Problem executing scripts DPkg::Pre-Invoke 'stat -c %Z $(readlink -f $(which opera)) > /tmp/opera.timestamp'
E: Sub-process returned an error code
I don't know how to solve this. Can anyone help me??
Thanks
readlink requires a file and $(which opera) returns nothing. As @mkayaalp mentioned in the above, you need to either (re)install opera (if you haven't) or update the PATH so which can find the binary.