The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
can`t install opera in ubuntu 11.10
after a fresh install of Ubuntu 11.10 , i can not setup opera 11.51 anymore , it gives me a message says cant open the .deb file, it may be corrupt , i downloaded it 2 times from opera website with no use, then i searched about it in the software center and i couldn`t find it ,
i am totally pissed off
, please help meOriginally posted by GomJabbar:
Try the current version of Opera (1151) from here: ftp://ftp.opera.com/pub/opera/linux/
did not work too
opera is driving me insane
Open a terminal and issue the following to download into your /tmp directory.
wget -P /tmp http://ftp.opera.com/pub/opera/linux/1151/opera_11.51.1087_$(uname -m | sed 's,i[4-6]86,i386,').deb
Use the following to confirm the download was entirely successful. It should echo back the name of the package downloaded followed by ": OK". If it doesn't say OK, the file did not download correctly.
wget -qO- http://ftp.opera.com/pub/opera/info/md5sum.txt | grep opera_11.51.1087_$(uname -m | sed 's,i[4-6]86,i386,').deb | sed "s,\./.*/,/tmp/," | md5sum -c
Start installation with the following.
sudo dpkg -i /tmp/opera_11.51.1087_*.deb
If you see errors at any stage reply with the exact text
$ lintian -c --show-overrides opera_11.51.1087_amd64.deb O: opera: embedded-library usr/lib/opera/opera: sqlite O: opera: copyright-should-refer-to-common-license-file-for-lgpl O: opera: copyright-without-copyright-notice O: opera: lzma-deb-archive O: opera: maintainer-script-does-not-check-for-existence-of-updatemenus postinst:18 O: opera: maintainer-script-does-not-check-for-existence-of-updatemenus postrm:18
I also reported a bug on launchpad earlier:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/875767
Originally posted by Fizyk:
That looks fine. Those are expected, hence overridden.I checked and after few tries I got this
I just tried again now with an Ubuntu "Oneiric Ocelot" 11.10 LiveCD (since I don't run Ubuntu at home) and I was able to install without issue

It was exceptionally time consuming but then the Software Centre always is.

P.S. If you are comfortable using dpkg and/or apt on the command line I would stick with it personally.
16. October 2011, 19:55:59 (edited)
As I said before, If it can be installed with dpkg and lintian isn't complaining, then the deb is fine.
Try installing some other deb that isn't available within the Ubuntu repositories and see if that works.
Originally posted by ruario:
P.S. If you are comfortable using dpkg and/or apt on the command line I would stick with it personally.
Or Aptitude or Synaptic. Anything but the Software Center.

sudo dpkg -i /home/nuanda/Downloads/opera_11.51.1087_amd64.deb
P.S. I'll update my Ubuntu 11.10 install tomorrow and purge Opera, then see if I can replicate installing via the Software Centre. I'm fairly sure it is their problem though. In the mean time anyone having this problem can just use dpkg.
The software center in Oneiric:

jorge@Casa:~$ dpkg -l software-center Deseado=Desconocido/Instalar/Eliminar/Purgar/Retener | Estado=No/Instalado/Config-files/Desempaquetado/Medio-conf/Medio-inst/espera-disparo/pendiente-disparo |/ Err?=(ninguno)/Requiere-reinst (Estado,Err: mayúsc.=malo) ||/ Nombre Versión Descripción +++-=============================-=============================-========================================================================== ii software-center 5.0.1.4 Utility for browsing, installing, and removing software
Even with GDebi:

I can install other packages (e.g: simple lightdm manager)
A .deb package is actually just an ar archive that contains three files:
- debian-binary: A text file that contains the deb format version number ("2.0" these days).
- control.tar.gz: This contains several other text files that store Meta package information and install scripts
- data.tar: This contains the file system layout, optionally compressed with GZip, BZip2, LZMA or xz.
The problem with our packages (as far as Software Centre is concerned) is that our data.tar is LZMA compressed. We selected this compression method as it is just as small as xz compression but has been supported by distros for longer than xz. Hence it allows us to have small packages that will install on a wide range of Debian based distros.
However, in a clean default desktop installation of Ubuntu "Oneiric Ocelot" 11.10 the LZMA compression package is not installed. Because of this Software Centre cannot inspect its contents, explaining the "cannot be opened" error message.
So how is it opened from a Ubuntu "Oneiric Ocelot" 11.10 LiveCD or older Ubuntu? They both provide /usr/bin/lzma.
And what about dpkg and apt? They work because they use xz to open it since the xz compression format is actually a continuation of the LZMA compression format. In fact if you setup a /usr/bin/lzma as a symlink pointing to /usr/bin/xz even Software Centre can open the Opera packages. So the bug is with Software Centre because unlike the lower level command line utilities it doesn't realise that it doesn't need the lzma executable, xz will do just fine!
There is a work around for us. We could change the internal compression format within our Debian files. Our choices are GZip, BZip2 or XZ. xz compression would keep the packages at the same small size but would prevent installation of Opera on older Debian based repositories and hence is not really feasible for us right now. So in all likelihood it seems we will have have to use either GZip or BZip2, which will bump the Opera packages size by a few Mbs.

The proper fix however must come from Ubuntu/Canonical. They need to update Software Centre so that if an LZMA compressed Debian package is found and lzma is not available xz should be used to read the archive.
If someone else would like to test as well and report back I would appreciate it. They are found here:
http://snapshot.opera.com/unix/alpha_12.00-1105/
32-Bit Opera 11.51 for Ubuntu 11.10 (Oneiric Ocelot)
64-Bit Opera 11.51 for Ubuntu 11.10 (Oneiric Ocelot)
ftp://ftp.opera.com/pub/opera/linux/1152/
Originally posted by ruario:
Ok, Opera 11.52 is released. It uses bzip2 compression for now to work around the issue and also includes a fix for a recent security" target="_blank">http://my.opera.com/securitygroup/blog/2011/10/19/about-the-svg-font-manipulation-vulnerability-that-was-fixed-in-11-52]security issue. Because of the security aspect it is recommended that everyone update.
ftp://ftp.opera.com/pub/opera/linux/1152/
Thank you so much!
Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD
