Page 1 of 1

Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:06
by oldbiddie
Afterr upgrading then reinstalling M2, I had Opera. This morning it just isn“t anywhere. What happenend????

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:35
by maat
try as root:

Code: Select all
urpmi opera


or

Code: Select all
urpmi --replacepkgs opera


:)

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:46
by oldbiddie
Thanks but I get: command not found for both

I cannot config the repositories because it freezes each time

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:47
by Ken-Bergen
Try
Code: Select all
whereis opera
If it doesn't return a path opera is no longer installed.

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:50
by maat
oldbiddie wrote:Thanks but I get: command not found for both

I cannot config the repositories because it freezes each time


Ok i shoud have explained more:

When i write "try as root" that means to do before typing your commands the following:

Code: Select all
su -


Note1: the - is simportant
Note2: It will ask you for root password

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 07:56
by Ken-Bergen
maat wrote:Note1: the - is simportant
Note2: It will ask you for root password
The - is only useful when launching graphical programs, when using the command line su is enough.

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:02
by oldbiddie
when I do URPMI opera as su I get:

urpmi database is locked, process 12938 is already using it (/usr/bin/perl /usr/sbin/edit-urpm-sources.pl --embedded 130024262)

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:06
by maat
For me it's a good practice to have the root environment variables completely reset whein installing a software or doing complex things that suppose you to be root.

Of course to do vi /etc/whatever or /var/log/whatever no need for a proper & complete root environment ;)

(iinm su already forces a few variables like PATH wether you put or not the - and it's a good thing for security)

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:07
by isadora
oldbiddie wrote:when I do URPMI opera as su I get:

urpmi database is locked, process 12938 is already using it (/usr/bin/perl /usr/sbin/edit-urpm-sources.pl --embedded 130024262)

As root issue:

Code: Select all
kill 12938


And try urpmi-command again.

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:09
by maat
oldbiddie wrote:when I do URPMI opera as su I get:

urpmi database is locked, process 12938 is already using it (/usr/bin/perl /usr/sbin/edit-urpm-sources.pl --embedded 130024262)


then :

Code: Select all
su -
kill -9 12938
urpmi --force --replacepkgs opera

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:26
by oldbiddie
I get:

No package named opera
found package(s) in urpmi db, but none are installed

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:28
by maat
ok so now your urpmi is working again and your opera is definetely not installed...

Code: Select all
su -
urpmi opera


And you should have your opera :)

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:34
by Ken-Bergen
oldbiddie wrote:I get:

No package named opera
found package(s) in urpmi db, but none are installed
Either you don't have a full set of sources "Update only" or the mirror you're using is bad.

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 08:50
by maat
If the sources are not properly set up or the mirror broken perhaps that could help: viewtopic.php?f=7&t=2746&p=20594#p20582

Re: Where is Opera??? Mageia2

PostPosted: Jun 12th, '12, 09:47
by oldbiddie
After my last message I had a gigantic freeze then it went in a loop. I rebooted to find the graphic setting were all off again. I tried to reset them but each time it sent me back to the login window.
In desperation I reinstalled Mageia 1 and shall have to wait until tonight for the updates :-( ( satellite connection unlimited at night)
I liked what I saw on Mageia 2 but just do not have the time nor the knowledge to make it work

Re: Where is Opera??? Mageia2

PostPosted: Aug 6th, '12, 05:55
by flink
maat wrote:try as root:
Code: Select all
urpmi --replacepkgs opera


:)


Unfortunately this does not work. I get

Code: Select all
[root@localhost ~]# urpmi --replacepkgs opera
Paket(e) opera-11.64-1.mga2.nonfree.x86_64, opera-12.00-1.1.mga2.nonfree.x86_64, opera-12.01-1.mga2.nonfree.x86_64 in der urpmi-Datenbank gefunden, sind jedoch nicht installiert.

Re: Where is Opera??? Mageia2

PostPosted: Aug 6th, '12, 11:04
by maat
you have not opera already installed so you need just to do (as root of course) :

Code: Select all
urpmi opera


(ensure before that you have nonfree repositories activated using -- as root --):

Code: Select all
drakrpm-edit-media


Activate at least "nonfree release" and "nonfree updates" ( you can also choose to activate nofree testing and nonfree backports... just make sure you don't activate debug repositories)

Re: Where is Opera??? Mageia2

PostPosted: Aug 6th, '12, 15:02
by flink
maat wrote:you have not opera already installed so you need just to do (as root of course) :

Code: Select all
urpmi opera



I had to deinstall the former Opera of Mandriva manually. urpmi did not make it to deinstall it by the call of urpmi.