LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2008, 11:53 PM   #1
HCDesign
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Problems installing Java


I am running ubuntu 8.10, I just converted from windows due to alot
of problems with the windows OS.

Any way I am having problems installing Java.
I have tried both System>Admin>synaptic package manager
and Applications>Add/Remove.

The Synaptic route automatically gave me this error when I tried to open it,But the Add/Remove route only gave me the error when I tried to install.
So I tried using terminal to install and I still got the same error.

"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem."

Then I ran the command like it said and got this

"hardcore@ubuntu:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege"

I am not sure how to fix this neither are any of my friends who have
been using ubuntu longer than I have. Someone help please?
"
 
Old 12-17-2008, 12:33 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Java - Community Ubuntu Documentation
https://help.ubuntu.com/community/Java

RestrictedFormats - Community Ubuntu Documentation
https://help.ubuntu.com/community/RestrictedFormats

Synaptic Package Manager - Community Ubuntu Documentation
https://help.ubuntu.com/community/SynapticHowto

Repositories/Ubuntu - Community Ubuntu Documentation
https://help.ubuntu.com/community/Repositories/Ubuntu
 
Old 12-17-2008, 12:34 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
dup sorry.

Last edited by craigevil; 12-17-2008 at 01:59 AM.
 
Old 12-17-2008, 01:16 AM   #4
HCDesign
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I know how to install I just do not know how to fix this error,
I read over those pages and nothing tells me how to correct this error
so that I can install java.
 
Old 12-17-2008, 01:31 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,299

Rep: Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573
'sudo dpkg --configure -a' is correct.
 
Old 12-17-2008, 01:43 AM   #6
HCDesign
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
'sudo dpkg --configure -a' is correct.

Thank you so much... I feel so stupid, I didn't know to put in "sudo"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems installing java RArocks12 Linux - Newbie 5 01-16-2006 12:25 AM
installing java problems cold95 Ubuntu 1 12-28-2005 08:30 PM
Problems installing Java ursinus Linux - Newbie 21 08-25-2005 11:21 AM
problems with installing java 5 supersucker Linux - Software 2 12-05-2004 01:32 PM
problems installing java bond82 Linux - Software 8 08-30-2004 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration