removing opera [solved, sort of]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

removing opera [solved, sort of]

Postby llogg on Sat Feb 19, 2011 12:18 am

I think that installing Opera was a mistake. I used Opera in Windows before switching to Mint and I really like it, but the first time I launched it after installing it prompted me to upgrade and after the upgrade was installed it returned an error message that I didn't pay a lot of attention to as everything still seemed to work in the browser.

As I've been configuring various other programs trying to get my webcam and Skype to work I've noticed that every time I install or remove any program I get the message
Code: Select all
Errors were encountered while processing:
 opera
E: Sub-process /usr/bin/dpkg returned an error code (1)


I've tried uninstalling opera through the software manager, the package manager, and the terminal (purge and remove). Any suggestions?

[solved by booting to windows, deleting Mint partition, and reinstalling mint from scratch and not installing opera ever again.]
Last edited by llogg on Sat Feb 19, 2011 2:40 am, edited 1 time in total.
Intel Pentium Dual 2.00 GHz
2Gb RAM
Linux Mint Cinnamon 14
llogg
Level 3
Level 3
 
Posts: 112
Joined: Sat Feb 12, 2011 6:56 pm

Linux Mint is funded by ads and donations.
 

Re: removing opera

Postby nevius on Sat Feb 19, 2011 12:41 am

Run the following two commands

sudo apt-get -f install
sudo dpkg --configure --pending
nevius
Level 1
Level 1
 
Posts: 32
Joined: Sat Nov 06, 2010 11:39 pm

Re: removing opera

Postby llogg on Sat Feb 19, 2011 12:51 am

nevius wrote:Run the following two commands

sudo apt-get -f install
sudo dpkg --configure --pending

Running the first command gives me
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  f-spot smbclient libmono-simd2.0-cil java-common mint-elementary-icons
  gvfs-bin odbcinst dcraw gnome-colors-common unixodbc libflickrnet2.2-cil
  mint-backgrounds-helena gnome-wise-icon-theme odbcinst1debian2
  mint-backgrounds-isadora shiki-colors-metacity-theme nautilus-share
  libqt4-network shiki-wise-theme ttf-wqy-microhei
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  opera
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 30.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 189651 files and directories currently installed.)
Removing opera ...
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 34, in <module>
    from softwarecenter.db.update import rebuild_database
  File "/usr/share/software-center/softwarecenter/db/update.py", line 41, in <module>
    from softwarecenter.db.database import parse_axi_values_file
  File "/usr/share/software-center/softwarecenter/db/database.py", line 26, in <module>
    from softwarecenter.db.application import Application
  File "/usr/share/software-center/softwarecenter/db/application.py", line 31, in <module>
    from softwarecenter.distro import get_distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 127, in <module>
    distro_instance=_get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 116, in _get_distro
    module =  __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named LinuxMint
dpkg: error processing opera (--remove):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for menu ...
Errors were encountered while processing:
 opera
E: Sub-process /usr/bin/dpkg returned an error code (1)

Running the second command does nothing.
Intel Pentium Dual 2.00 GHz
2Gb RAM
Linux Mint Cinnamon 14
llogg
Level 3
Level 3
 
Posts: 112
Joined: Sat Feb 12, 2011 6:56 pm

Re: removing opera [solved, sort of]

Postby BlaXpirit on Wed Mar 02, 2011 7:11 am

I have this problem too, and need some help...
Edit: Found a solution.
Interpreted to our problem:
Code: Select all
sudo -i
rm -rf /var/lib/dpkg/info/opera.*
apt-get remove opera
BlaXpirit
Level 1
Level 1
 
Posts: 7
Joined: Sun Feb 27, 2011 3:27 pm

Re: removing opera [solved, sort of]

Postby filosofic on Sun Jan 20, 2013 7:55 am

This is the only thing that I've found that worked every time I've tried to install Opera from Synaptic.

As BlaXprint quotes... remove all files of opera* from /var/lib/dpkg/info
and then use apt-get to remove for good.

Now I'll try to install from their website instead.
filosofic
Level 1
Level 1
 
Posts: 2
Joined: Sun Oct 19, 2008 3:35 pm

Re: removing opera [solved, sort of]

Postby filosofic on Fri Jan 25, 2013 7:19 am

Same problem even after installing opera 64bit deb from their website, moving it to the /opt partition, and running gdebi to install it. Synaptic doesn't like to update unless I remove it again.
filosofic
Level 1
Level 1
 
Posts: 2
Joined: Sun Oct 19, 2008 3:35 pm


Return to Newbie Questions

Who is online

Users browsing this forum: expat_tony, Google Adsense [Bot] and 21 guests