Reputation: 53
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
Upvotes: 4
Views: 7640
Reputation: 1
Thanks to Mr Termy that suggested to run CLI "$ sudo touch /usr/local/bin/opera; sudo chmod 755 /usr/local/bin/opera" and it works for me - great!
https://forums.linuxmint.com/viewtopic.php?t=399359
Upvotes: 0
Reputation:
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.
Upvotes: 1