Score:1

After deleting opera browser I have E: Problem executing scripts DPkg

cn flag

I removed opera browser using the commands

sudo dpkg -r opera-stable 
sudo rm -f /etc/apt/sources.list.d/opera-stable.list

While upgrading the error I now get is:

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 tried cleaning apt, updating, upgrading with -y and all other ways that people advise.

I am on Lubuntu 20.04.

I removed all repositories in Software Sources but the problem hasn't gone.

apt purge opera-stable gives:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra pepperflashplugin-nonfree
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
opera-stable*
0 upgraded, 0 newly installed, 1 to remove and 42 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
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
Score:1
cn flag

Problem has been fixed by installing opera with snap. Then I deleted /etc/apt/sources.list and replaced it with one downloaded from https://gist.githubusercontent.com/ishad0w/788555191c7037e249a439542c53e170/raw/3822ba49241e6fd851ca1c1cbcc4d7e87382f484/sources.list

I sit in a Tesla and translated this thread with Ai:

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.