LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-17-2008, 06:27 PM   #1
koolKing123
LQ Newbie
 
Registered: Mar 2008
Location: Ontario,Canada
Posts: 3

Rep: Reputation: 0
Unhappy Problem with jdk6


I'm getting this message ......

The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
sun-java6-bin

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
java-common Base of all Java packages
odbcinst1debian1 Support library and helper program for accessing odbc ini
unixodbc ODBC tools libraries
gcc-3.3-base The GNU Compiler Collection (base package)
libstdc++5 The GNU Standard C++ Library v3

And here is the Java version

stefan@stefan-laptop:~$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
stefan@stefan-laptop:~$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)

The part in bold is the main problem because I am unable to check updates because the same error pops up. When I tried to follow the one hint to go to system->administration->synaptic package manager I get this same errorE: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. and E:_cache->open ()failed, please report.

If anyone could help me that would be great !
 
Old 03-18-2008, 11:20 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Run the dpkg --configure -a command as root, and it should fix any errors.
 
Old 03-18-2008, 11:23 AM   #3
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
How to run it manually:
Code:
sudo dpkg --configure -a
(in a terminal)
After that, updating should be possible.
 
Old 03-18-2008, 11:06 PM   #4
koolKing123
LQ Newbie
 
Registered: Mar 2008
Location: Ontario,Canada
Posts: 3

Original Poster
Rep: Reputation: 0
Question

I tried and it still doesn't work. At one point it was showing signs that ok it's working until I try to install new updates and it does the same thing :S
 
Old 03-19-2008, 07:50 AM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Could you please post some output (and wrap it in the [ code ] [ /code ] tags), along with your /etc/apt/sources.list file?

Also, which command are you using to install updates? I've always used:
Code:
# apt-get update && apt-get upgrade
 
Old 03-21-2008, 03:36 PM   #6
koolKing123
LQ Newbie
 
Registered: Mar 2008
Location: Ontario,Canada
Posts: 3

Original Poster
Rep: Reputation: 0
sorry for troubles, I guess after couple of times that I restarted my computer and tried it again, somehow it started working again, so thanks to all who helped !
 
  


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
Uninstalling jdk6 valdezr1 Fedora 6 03-24-2007 10:06 PM
Installing JDK6? GSMD Debian 2 01-11-2007 11:01 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

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

All times are GMT -5. The time now is 07:49 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