LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-15-2014, 05:56 AM   #1
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
apt-get problem


I face a strange problem while using apt-get. Whenever I try to install any package using apt-get it gives the following error:

Code:
$ sudo apt-get install texlive-latex-recommended
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 bluej : Depends: sun-java6-jdk but it is not installable or
                  sun-java7-jdk but it is not installable or
                  openjdk-6-jdk but it is not going to be installed or
                  openjdk-7-jdk but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Now I don't really understand the problem. I am trying to install a different package but it is still stuck to that old bluej package. I must admit that I have once tried to install the bluej package with no luck. It gave the same error at that time also. So, I quit installing the package. But now it seems that I even cannot install any other package. Is there any solution to the problem.
I have tried the following commands also:
Code:
$ sudo apt-get autoclean
and
Code:
$ sudo apt-get autoclean
 
Old 01-15-2014, 06:18 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Have you tried this?
Quote:
Originally Posted by lemon09 View Post
You might want to run 'apt-get -f install' to correct these
Also run the following commands in this order.
Code:
aptitute update
Code:
aptitude purge ~c
this is to clear things up
~c - matches partially uninstalled packages ('configured, but not installed')
http://www.mepis.org/docs/en/index.php?title=Aptitude

Code:
apt-get autoclean
Code:
apt-get autoremove
Regards
 
Old 01-15-2014, 06:20 AM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Try
Code:
sudo apt-get remove bleuj
If that doesn't help
Code:
sudo dpkg -r bluej
sudo apt-get -f install
What you hope to achieve is that apt is convinced that bluej is not longer to be installed.

jlinkels
 
Old 01-16-2014, 11:54 AM   #4
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
Code:
sudo apt-get remove bleuj
Well that solved the problem. Thanks!!!!!!
 
1 members found this post helpful.
  


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
[SOLVED] apt-get problem (Problem parsing dependency Depends) feeblebrain Debian 9 01-10-2012 03:53 PM
apt-get has unmet dependencies, but apt-get -f install doesn't solve problem sophanox Linux - Software 1 02-23-2011 11:07 AM
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 06:50 PM
apt-get update and apt-get install problem please solve it. regent_royal Linux - Newbie 11 06-26-2008 08:38 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM


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