-1

here i leave every try:

rebeca@lasuperpcderebeca:/etc$ sudo dpkg --remove opera

dpkg: warning: ignoring request to remove opera which isn't installed

rebeca@lasuperpcderebeca:/etc$ sudo apt remove opera-stable

Reading package lists... Done Building dependency tree... Done Reading state information... Done W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list.d/redis.list:1 E: Unable to locate package opera-stable

rebeca@lasuperpcderebeca:/etc$ sudo apt purge opera-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package opera-stable rebeca@lasuperpcderebeca:/etc$ sudo rm -f /etc/apt/sources.list.d/opera-stable.list rebeca@lasuperpcderebeca:/etc$ sudo dpkg -r opera dpkg: warning: ignoring request to remove opera which isn't installed rebeca@lasuperpcderebeca:/etc$ sudo apt-get remove --purge opera-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package opera-stable

guiverc
  • 33,561

3 Answers3

0

My way is not a very good way but it was helpful for me, When you want to install opera with apt it says some packages are going to install you should copy that packages names and then type sudo apt autoremove all-packages-names

Hope it helped

No-one
  • 360
0

Try this:

sudo apt remove opera*
kyodake
  • 17,808
0

Use sudo snap remove opera if opera is installed through snap.

Starship
  • 151