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.
opera-11.60-1185.x86_64.rpm can not be installed on CentOS-5 x86_64
the previous version opera-11.52-1100.x86_64.rpm installed fine, now I get:ERROR with rpm_check_debug vs depsolve: rpmlib(PayloadIsXz) is needed by opera-11.60-1185.x86_64 Complete!
AFAIK that rpmlib requirement is for CentOS-6...
RFE for another rebuild
That all said, Opera 11.60 will run on Centos 5.* at present. I recommend you uninstall Opera 11.52 via rpm and then install via one of the tar packages as follows:
wget http://ftp.opera.com/pub/opera/linux/1160/opera-11.60-1185.x86_64.linux.tar.bz2 tar xf opera-11.60-1185.x86_64.linux.tar.bz2 su -c "opera-11.60-1185.x86_64.linux/install"Note: An uninstall script (called 'uninstall-opera') is provided that will cleanly and completely remove Opera should you ever need to do this.
Alternatively, you (or anyone else) is free to repackage Opera in an rpm with gzip compression and offer this in a repository for Centos 5.x users. Our license does allows for this.
P.S. Other rpm-based distros that I recall repackage Opera include Mandriva, openSUSE, openmamba, the Russian Fedora community, and probably numerous others.
7. December 2011, 22:57:21 (edited)
Originally posted by truhuynh:
Not supporting CentOS-5 means also dropping all the Red Hat Enterprise Linux 5 / Scientific Linux 5x users
True, however this is not a change in policy, just a change in packaging. Opera often works on 'unsupported' distros because we have tried to design graceful fallbacks. For example Opera can do desktop environment integration but if the Gtk or KDE libs are too old it will fall back to its own styling. Additionally Opera's dependencies are minimal comparative to our major competitors. So all the policy really means is that we won't make major changes to accommodate those 'unsupported' distros. At the same time many users run on them and that is obviously fine by us.
As to what our 'support' policy is, it basically breaks down as follows. For the most part we consider distros supported as long as their upstream provider also providers support them, e.g. right now some of the older distros would be Debian 5.x, Ubuntu 10.04 LTS, etc. However, one exception to this rule (as you have discovered) is that with 'Enterprise' distros we only support the latest version (not all the older supported versions). There are two reasons for this, firstly their libraries are often too old meaning they can't support Opera's full functionality (as it happens right now the only real downside on RHEL/Centos/Scientific 5.x is a lack of Gtk integration). Secondly, most desktop users will want to run the latest version of these Enterprise distros to allow them to run a bigger range of up to date desktop software. Sure, we realise that people such as yourself use Centos 5.x on the desktop but its biggest market is servers, where avoidance of updates is more critical. It is fairly trivial and relatively risk (and cost) free to update a desktop distro.
All that said, Opera will still run (often minus certain things like Gtk integration, HTML5 video support) on many older distros (I used Ubuntu 6.06 just last week and that distro was released on 1 June 2006), so for you this is only really a packaging issue.
Since we make a wider range of binary packages available than our competitors, with more flexible install options, you can still install and use Opera. You just have to switch to a non-native tar.bz2 package with the included install script. Or as I stated above, use a package created by the your distro or the community, just like you already do for probably ever other piece of software you have installed.
> 'Enterprise' distros we only support the latest version (not all the older supported versions).
Not true for SuSE. The latest enterprise distro is SLE 11 SP1 and it doesn't support the new compressions as it has only rpm 4.4.2.3 as latest rpm version. And Novell doesn't repackage it for SLE. Using a tar file is not an option for spreading opera to the bunch of our SLED 11 clients, might be ok for a single user, but with dozens of clients of which some are down from time to time, only package-based install mechanism can be handled well.
> ence started XZ compressing the rpms to benefit the majority of our rpm users as
> it allows for a significant file size decrease.
From 16 to 12 MB. I really don't know who cares about 4 MB nowadays. But you cause definitely trouble for a huge number of enterprise users at the universities. Note that SLE will stay at this RPM level for a while, so when I have to fight with this problem for the next year, I guess I wont offer opera for our users anymore.
Would it really take such a big effort to offer rpms without compression additionally?
cu,
Frank
Originally posted by Frank-Steiner:
That is a quarter of the file size knocked off. It does matter to many people on slower connections and it matters to anyone hosting the files to multiple users.I really don't know who cares about 4 MB nowadays.
That said, I take your point and indeed it wasn't our intention to break SLED 11. The best solution is simply for one person to take the opera.spec used for by one of the distros that does repackaging and adjust it to not use xz compression. Then it would be trivial to tweak the build and version numbers after each release and create a new rpm.
In the mean time, until there is a better solution I have repackaged the Opera 11.60 rpms for you myself.
Originally posted by ruario:
Originally posted by Frank-Steiner:
I really don't know who cares about 4 MB nowadays. That is a quarter of the file size knocked off. It does matter to many people on slower connections and it matters to anyone hosting the files to multiple users.
I'd also like to point out that back when I had a 100Mbit connection the difference between 12MB and 16MB would be the difference between feeling instantaneous and a slight delay. Of course that was very much a luxury problem that I'd totally wish to have right now (though my maximum download speed of around 600-700kB/s isn't too shabby I suppose).
But anyway, I've been picking the XZ files ever since they were available due to their size and I don't tend to have any limits worth mentioning.
Unfortunately, the one we use internally is no good as almost all of it is generated on the fly for each build. Also it doesn't use the tar file as a source package as it can use the real source.
. Even if you need to change it I'm hopeful it will give you some hints, as I have tried to add comments throughout.With a bit of luck you should only need to edit the first two variables when a new release comes out in the future. Another nice thing I do is have it pull down the correct opera tar.bz2 automatically and stick it in your SOURCES directory if it is not already present.
This means you should just be able to issue the following: rpmbuild -bb opera.spec
Or if you want to package for another architecture, try either:
rpmbuild --target i386 -bb opera.specor
rpmbuild --target x86_64 -bb opera.spec
14. December 2011, 11:18:54 (edited)

@Frank-Steiner (or anyone else using SLE 11): I have created test 11.60 (final) rpm packages with lzma and bzip2 compression. Could you check which ones work for you as I don't have a copy of SLE.
Opera 11.60 (final) 32-bit, with lzma compression
Opera 11.60 (final) 64-bit, with lzma compression
Opera 11.60 (final) 32-bit, with bzip2 compression
Opera 11.60 (final) 64-bit, with bzip2 compression
Ideally I would have us support the most highly compressed rpm that still installs on SLE 11 SP1.
I'm the user ruario mentioned; I can confirm that SuSE did back-port LZMA support into SLE11 and that the LZMA package does work without problems.
I work with RPM a lot (for my sins...) and have sent ruario some pointers on compatibility between different versions of RPM - no doubt he'll post an update when he's digested it and played with the modified spec file I sent him...
Originally posted by screamingwithnosound:
Indeed I probably will, when I find a spare moment.no doubt he'll post an update when he's digested it and played with the modified spec file I sent him...
Thanks for all the feedback!We will probably switch to lzma compression for a future release. This will allow backwards compatibility with SLE 11 SP1 (which we would like to support as explained above), whilst still allowing us to retain the small package size. xz is actually lzma compression with some tweaks so the file size is almost identical. We already do use lzma rather than xz for greater compatibility with our deb packages for exactly the same reason.
I'll also see if we can get the main 11.60 final package updated on our public mirrors with a repackaged version using lzma compression.
Off topic: Regarding RPM, I don't want to come across as some RPM hater.
To be 100% clear my personal issues with it are really on the packaging/development side. Mainly because you have to embed yourself in the rpm world, since you have to use rpm tools to produce, query and manipulate rpms. This also leads to you not being able to really edit or tweak rpms after creation (they have to be recreated from scratch with the original spec or a new spec if you can't access the original). It also requires a fair bit of rpm specific knowledge to understand how best to make use of all the macros when creating an rpm file (they are powerful but potentially confusing). As a comparison I can edit (or even "hand craft") deb, slack, archlinux, etc. packages on any unix-like system using standard common tools should I so desire (though of course it is better and usually faster to use the real tools). But I like this type of flexibility and the fact that skills I have already learnt carry over more easily.That all said, from an everyday user perspective, modern RPM and the various fancy front ends (zypper, yum, apt-rpm, urpmi, poldek, etc.) have pretty much the same power and flexibility as package managers dedicated to other formats. So these days RPM works well for most people. Indeed, I suspect that some of RPM's bad reputation actually relates to the past. Many users of Debian and derivatives mock RPM by choosing to compare it to APT but this is hardly a fair comparison. You either need to compare rpm to dpkg or APT to something like Zypper.
Originally posted by ruario:
We do not officially support Centos 5.*
Please do! I mean please support RHEL5 and its clones (CentOS 5, Scientific Linux 5)!
Corporations are conservative and will use a supported enterprise Linux until the vendor declares it dead. Usually this is done on the "if it works, don't fix it" principle, which actually is the whole point of enterprise Linux distros. RHEL5 still has some years of life.
It is also the case that the older EL distros are a reasonable choice for older personal use hardware, when you want stability. I am in fact planning to "side-grade" one old machine to CentOS 5 (from a distro version of same generation, but which has bad support now) and this is why I was dismayed by the 11.60 installation problem.
Originally posted by Ruohtula:
please support RHEL5 and its clones (CentOS 5, Scientific Linux 5)!
I wouldn't get hung up on if RHEL5 is supported or not. It already wasn't supported by us before 11.60 was released. This 'support' label just means we won't make major changes to Opera to accommodate such a distro. You are still free to run Opera on it and report issues that you might see. Also even if a distros is unsupported we don't go out of our way to break older distros intentionally. Opera still runs just fine on older distros than yours. As I said earlier in the thread I recently ran Opera 12.00 on Ubuntu 6.06, which was released over 9 months before the first release of RHEL/Centos 5 and although I didn't test extensively I noticed no major issues.
With regards to installation, yes we were aware that the new rpms would not install on RHEL/Centos 5 but this was not considered a show stopper because there are other installation options. The tar packages are provided as a fall back for every Linux user or you can repackage as I demonstrated above. Many Opera power users actually prefer the tar packages as they allow for more flexible install options (.e.g. multiple side by side installs, installations to alternative locations, making a portable Opera that runs from a USB stick, etc.). You should also keep in mind that for most distros we provide no native package at all, yet we have plenty of users on Gentoo, Archlinux, Slackware, etc. because third parties maintain repackaging scripts and often packages (FreeBSD similarly is not provided within a native package and is usually installed via their ports system). Even for rpm and deb distros we are often repackaged to better conform with distributions own packaging guidelines. So not having an Opera officially provided rpm that installs on RHEL/Centos 5 certainly does not mean the end of the line for Opera users on that platform.
Originally posted by ruario:
Also even if a distros is unsupported we don't go out of our way to break older distros intentionally.
Er..., you just did! (by using the newer rpm format)
I did apply the tar.gz2 method this morning on two boxes. On one fresh CentOS 5.7 it works, on a semi-updated 5.6 it crashes immediately. Not sure what is wrong with the latter, probably a library conflict (it has installed plenty of random stuff not on the other, including KDE4 libraries and dev packages, which I suspect most). Oh well, it is not terribly important if Opera works on the second system, will not investigate that further.
Originally posted by ruario:
Also even if a distros is unsupported we don't go out of our way to break older distros intentionally.
Originally posted by Ruohtula:
No, there are packages available from us that allow installation on RHEL5 (just not native ones) and Opera can still run on it.
Er..., you just did! (by using the newer rpm format)
Bear in mind that FreeBSD 8 is considered a supported OS but we do not provide a native package for it. So us providing a native package or not does not really relate to if we consider a distro (or OS in the case of FreeBSD) supported. Of course we prefer to provide native packages but it is not a prerequisite. Most software in the *nix world does not come prepackaged by the author in native format for all supported distros and OSes, rather you usually get one source package and distros and software repository maintainers produce native packages from that. Since we aren't an Open Source company we don't provide a source package but our tar packages with install script are the nearest equivalent. The debs and rpms we provide are just icing on the cake.
Furthermore the package change was not us saying, lets do this just to break RHEL5 rpm installation for the fun or it, rather it was an optimisation for the majority of our rpm using users that had this as a side effect. So I still hold that we don't go out of our way to break Opera on older distros intentionally.
Originally posted by Ruohtula:
On one fresh CentOS 5.7 it works, on a semi-updated 5.6 it crashes immediately.
What colour depth do you have set on that machine. You may be hitting this bug.
thanks for all your efforts! Indeed, the lzma and the bzip2 packages both work fine on our SLE 11 SP1 hosts (SLES and SLED), so the new official packages from opera.com now also work :-) (And they are even some bytes smaller than the xz compressed packages from Monday).
I saved your spec file anyway, maybe its helpful some day :-)
Thanks for fixing this issue that quickly!
cu,
Frank
Originally posted by ruario:
What colour depth do you have set on that machine. You may be hitting this bug.
It indeed was using 16 bit depth, mostly because I was accessing it with a VNC client (VNC works noticeably faster with 16-bit depth than with 24, so I normally run it that way). This incompatibility with 16-bit depth is good to know, because I have also other systems with this display depth where I planned to use Opera. From my point of view this is an annoying regression.
I have installed from the .tar.bz2. It launches and runs but as soon as I close Opera
it crashes. It does this also with all plugins disabled.
Whether installed as root or as single user also makes no difference.
Maybe some libraries are too old ? I have no idea.
Pity.
19. December 2011, 15:39:22 (edited)
Originally posted by ruario:
@ocky: I presume you let the uploaded the crash log? If yes, pm the email address associated with it and I'll search for your last crash and take a look.
That would be nice, but having not been very active on the forums lately I am embarrassed to say that I have forgotten how to enable the pm feature
For what it's worth the crash file is designated crash20111219154316.txt
Edit: Ok figured it out.
17. January 2012, 12:03:20 (edited)
Originally posted by screamingwithnosound:
I work with RPM a lot (for my sins...) and have sent ruario some pointers on compatibility between different versions of RPM - no doubt he'll post an update when he's digested it and played with the modified spec file I sent him...
I must admit that I haven't found time to do this yet. However, I have since found an even simpler solution that anyone use could use to easily repackage the Opera rpm packages with gzip compression, allowing for installation on RHEL 5.7 (or Centos, Scientific, etc.).
http://my.opera.com/ruario/blog/2012/01/17/repacking-opera-rpms-for-use-on-older-distros
Both are running Opera, though I haven't checked for Opera updates in awhile. Opera is nice on them because it gives modern capabilities without the bloat of FireFox, and Chrome won't run on them.
Lauren
10. February 2012, 08:15:39 (edited)
I'm using opera for many, many years now on different platforms. Started on windows and since many years also on CentOS 5.x.
I was surprised and happy how god the opera updates on linux worked. When I got the reminder from Opera I just downloaded the new rpm, performed a rpm update and go.
This was very cool and surprising, because on linux it is very often the case that you have to start readme's and follow special installation instruction when you wand to install or update any software. And this is the point where people often stop the installation or update procedure because they don't want or can't spend the time for doing that.Unfortunately I'm now at exactly this point with Opera too. I fully agree to Ruohtula. RHEL5 still has many years of life and RHEL5 is widely-used.
Please, make the Opera updates as simple as they were before. Also for RHEL5.
Ahoj
Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD