LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2009, 04:08 AM   #1
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Rep: Reputation: 0
Installing Opera


I am trying to install Opera on Ubuntu 9.04. I tried the CLI, typing: sudo apt-get install opera, but got the following: Package opera has no installation candidate. I then proceeded to the website, and downloaded the package from there, but when I tried to open it, I got the following:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Any help???

-The Doctor
 
Old 05-24-2009, 04:15 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by thedoctor818 View Post
I am trying to install Opera on Ubuntu 9.04. I tried the CLI, typing: sudo apt-get install opera, but got the following: Package opera has no installation candidate. I then proceeded to the website, and downloaded the package from there, but when I tried to open it, I got the following:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Any help???

-The Doctor
The name of the package (at least in Debian) is
Quote:
opera9-binary
and not opera.
Try this command from a terminal.
Code:
sudo aptitude update
and then
Code:
sudo aptitude install opera9-binary
and that should sort you out. Notice that I recommend using aptitude rather than apt-get.
Cheers,
jdk

Last edited by jdkaye; 05-24-2009 at 04:17 AM.
 
Old 05-24-2009, 08:03 AM   #3
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I did that as suggested, but I cannot find opera9. Shouldn't it be under Applications -> Internet???
 
Old 05-24-2009, 08:05 AM   #4
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Also, when I ran sudo aptitude update, I got the following: W: GPG error: http://ppa.launchpad.net gutsy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9575F9081AFF0CF
W: You may want to run apt-get update to correct these problems

What does that mean???
 
Old 05-24-2009, 08:29 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I did that as suggested, but I cannot find opera9. Shouldn't it be under Applications -> Internet???
Did you have errormessages when you installed opera
eq

Code:
sudo apt-get install opera9-binary
Quote:
Also, when I ran sudo aptitude update, I got the following: W: GPG error: http://ppa.launchpad.net gutsy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9575F9081AFF0CF
W: You may want to run apt-get update to correct these problems
You need to install the key

Code:
sudo apt-get install debian-archive-keyring
sudo gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys E9575F9081AFF0CF
sudo gpg --armor --export E9575F9081AFF0CF | apt-key add -

Last edited by repo; 05-24-2009 at 08:31 AM.
 
Old 05-24-2009, 08:37 AM   #6
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry for being such a newb.

When I tried the first line of command code, i got the following:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
Old 05-24-2009, 08:48 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
When I tried the first line of command code, i got the following:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
There is probably another instance running, like update manager, auto update ....
Make sure every packetmanager is closed.
 
Old 05-24-2009, 08:56 AM   #8
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
The first command workes, but the second did not. It gave me the following:

gpg: WARNING: unsafe ownership on configuration file `/home/thedoctor/.gnupg/gpg.conf'
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
 
Old 05-24-2009, 09:05 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
chmod 600 ~/.gnupg/gpg.conf
or use
Code:
sudo -i
not
Code:
sudo
 
Old 05-24-2009, 09:16 AM   #10
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
i'm still getting error messages, but i am not sure i understand what you are saying to do. Am I supposed to add -i after sudo & before gpg in the 2nd & 3rd commands??? If so, that is not working either, I get the following:
/usr/bin/gpg: /usr/bin/gpg: cannot execute binary file

I am sorry to be giving you so much trouble & putting you out so badly.
 
Old 05-24-2009, 09:28 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
type
sudo -i
password
apt-get install debian-archive-keyring
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys E9575F9081AFF0CF
gpg --armor --export E9575F9081AFF0CF | apt-key add -
apt-get update
apt-get install opera9-binary


did you have errormessages when you did

Quote:
sudo apt-get install opera9-binary
before?

However, to get back to the original question:

Quote:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Any help???
What file did you downloaded?
What command did you used?



Download the deb file from here

http://www.opera.com/download/
then
Code:
sudo dpkg -i file.deb

Last edited by repo; 05-24-2009 at 09:30 AM.
 
Old 05-24-2009, 09:38 AM   #12
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Unfortunately, my terminal will not go that far back [or at least, I do not know how to do so]. I typed in everything you just told me to, and ALL of it worked EXCEPT: apt-get install opera9-binary when I typed that in, I got back:E: Couldn't find package opera9-binary

I feel I am so close, & I REALLY thank you for all your help, if you could just help me to finish the download - I would be SO grateful...
 
Old 05-24-2009, 09:45 AM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I typed that in, I got back:E: Couldn't find package opera9-binary
Opera is not in the repo's

But don't worry:
I would suggest to download the file from
http://www.opera.com/download/
It should be a deb file

then in a terminal type
Code:
cd path_where_you_downloaded_the_file
then
Code:
sudo dpkg -i file_you_downloaded.deb

Last edited by repo; 05-24-2009 at 09:46 AM.
 
Old 05-24-2009, 09:48 AM   #14
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Doctor,
Can you type (you don't need sudo just for doing search)
Code:
aptitude search opera
and paste the response here.
It should look something like this:
Code:
~$ aptitude search opera
v   opera                             -                                            
v   opera-l10n                        -
v   opera8                            -
p   opera8-binary                     - Opera Web Browser
p   opera8-l10n                       - Opera Web Browser (Language files)
v   opera8-static                     -
p   opera8-static-binary              - Opera Web Browser (static)
v   opera9                            -
p   opera9-binary                     - Opera Web Browser
p   opera9-l10n                       - Opera Web Browser (Language files)
v   opera9-static                     -
p   opera9-static-binary              - Opera Web Browser (static)
 
Old 05-24-2009, 09:54 AM   #15
thedoctor818
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 0
That finally worked, thanks SO much. BYW, why did you have me using sudo aptitude, rather than sudo apt-???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Opera conormacaoidh Linux - Software 3 03-16-2009 04:08 PM
installing 32bit opera after installed 64bit opera soa Linux - Software 1 08-13-2008 06:51 PM
Installing opera darkmasterxx Linux - Software 4 10-15-2005 10:53 AM
Help installing Opera glen4cindy Linux - Newbie 13 09-07-2003 02:33 PM
Installing Opera BoonZie Linux - Newbie 2 11-25-2002 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration