Score:0

error readlink: missing operand

cn flag

I used this command: sudo apt-get remove --purge opera-stable and now I can't use my 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
N0rbert avatar
zw flag
Please run `sudo grep -irE "readlink.*opera" /var/lib/dpkg/` and add its output to the question by [editing](https://askubuntu.com/posts/1378416/edit) it.
samir avatar
cn flag
nothing happens after entering that command
N0rbert avatar
zw flag
What do you have for `sudo apt-get update`, `sudo apt-get install -f`, `sudo dpkg --configure -a` ?
samir avatar
cn flag
I have managed to fix it, thanks, it was dpkg error, and retain broken packages
N0rbert avatar
zw flag
If problem is fixed, please answer the question by yourself to help other users solve similar problem.
karel avatar
sa flag
Does this answer your question? [Unable to correct problems, you have held broken packages](https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.