Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: 2 Problems

  1. #11
    Join Date
    Jun 2012
    Beans
    33

    Re: 2 Problems

    i still need help

  2. #12
    Join Date
    Mar 2009
    Location
    Portsmouth, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: 2 Problems

    Quote Originally Posted by fantab View Post
    Code:
    $ gksu nautilus /var/lib/dpkg/info
    (This opens the File Manager with root privileges).

    Locate the package folder/file openjdk-7-jre-headless and either Delete it or Move it to Trash. Close the File Manager.
    Do you still have anything listed for "openjdk-7-jre-headless (whether followed by more characters or not) when following the above steps? Additionally, please post the output of the following Terminal command:

    Code:
    dpkg --get-selections | grep -i openjdk
    Thanks!

  3. #13
    Join Date
    Jun 2012
    Beans
    33

    Re: 2 Problems

    Quote Originally Posted by SuaSwe View Post
    Do you still have anything listed for "openjdk-7-jre-headless (whether followed by more characters or not) when following the above steps? Additionally, please post the output of the following Terminal command:

    Code:
    dpkg --get-selections | grep -i openjdk
    Thanks!
    Code:
    balmung@Evermore-PC:~$ dpkg --get-selections | grep -i 
    openjdkopenjdk-6-jre                    install
    openjdk-6-jre-headless                install
    openjdk-6-jre-lib                install
    openjdk-7-jre                    install
    openjdk-7-jre-headless                install
    openjdk-7-jre-lib                install

  4. #14
    Join Date
    Mar 2009
    Location
    Portsmouth, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: 2 Problems

    OK, now can you do:

    Code:
    sudo apt-get remove --purge  icedtea-7-jre-cacao icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    sudo apt-get clean 
    dpkg --get-selections | egrep -i 'openjdk|icedtea'
    ... and post the output? Cheers!

    Also, is there any reason you've got openjdk-6 there as well? Would you be against removing them also?

  5. #15
    Join Date
    Jun 2012
    Beans
    33

    Re: 2 Problems

    Quote Originally Posted by SuaSwe View Post
    OK, now can you do:

    Code:
    sudo apt-get remove --purge  icedtea-7-jre-cacao icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    sudo apt-get clean 
    dpkg --get-selections | egrep -i 'openjdk|icedtea'
    ... and post the output? Cheers!

    Also, is there any reason you've got openjdk-6 there as well? Would you be against removing them also?

    Minecraft launcher i was using

    Code:
    balmung@Evermore-PC:~$ sudo apt-get remove --purge  icedtea-7-jre-cacao icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib[sudo] password for balmung: 
    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:
     icedtea-7-plugin : Depends: openjdk-7-jre
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    balmung@Evermore-PC:~$ sudo apt-get clean
    balmung@Evermore-PC:~$ dpkg --get-selections | egrep -i 'openjdk|icedtea'
    icedtea-6-jre-cacao				install
    icedtea-6-jre-jamvm				install
    icedtea-7-jre-cacao				install
    icedtea-7-jre-jamvm				install
    icedtea-7-plugin				install
    icedtea-netx					install
    icedtea-netx-common				install
    openjdk-6-jre					install
    openjdk-6-jre-headless				install
    openjdk-6-jre-lib				install
    openjdk-7-jre					install
    openjdk-7-jre-headless				install
    openjdk-7-jre-lib				install
    balmung@Evermore-PC:~$
    Last edited by Balmung4500; March 31st, 2013 at 10:04 PM.

  6. #16
    Join Date
    Mar 2009
    Location
    Portsmouth, UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: 2 Problems

    I haven't encountered this problem before but it looks to me like openjdk-7 is not being removed because other packages rely on it. In this instance I can only tell you what I would do in your position, which is to remove the whole lot starting with the icedtea packages, then start from scratch, e.g.:

    Code:
    sudo apt-get remove --purge icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-7-jre-cacao icedtea-7-jre-jamvm icedtea-7-plugin icedtea-netx icedtea-netx-common
    sudo apt-get remove --purge openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib     ### openjdk-6 probably doesn't have any effect on the rest of the problem; I would remove it if I were you anyway though, just to tidy things up!
    sudo apt-get remove --purge openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    sudo apt-get clean
    sudo apt-get update
    ... then review what packages you need for your purposes and reinstall them. Like I say, I don't know that this will work but it is what I would do if I were you. If you wish, please carry on, grab the output and post it back here!

  7. #17
    Join Date
    Jun 2012
    Beans
    33

    Re: 2 Problems

    Quote Originally Posted by SuaSwe View Post
    I haven't encountered this problem before but it looks to me like openjdk-7 is not being removed because other packages rely on it. In this instance I can only tell you what I would do in your position, which is to remove the whole lot starting with the icedtea packages, then start from scratch, e.g.:

    Code:
    sudo apt-get remove --purge icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-7-jre-cacao icedtea-7-jre-jamvm icedtea-7-plugin icedtea-netx icedtea-netx-common
    sudo apt-get remove --purge openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib     ### openjdk-6 probably doesn't have any effect on the rest of the problem; I would remove it if I were you anyway though, just to tidy things up!
    sudo apt-get remove --purge openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    sudo apt-get clean
    sudo apt-get update
    ... then review what packages you need for your purposes and reinstall them. Like I say, I don't know that this will work but it is what I would do if I were you. If you wish, please carry on, grab the output and post it back here!
    Code:
    balmung@Evermore-PC:~$ sudo apt-get remove --purge icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-7-jre-cacao icedtea-7-jre-jamvm icedtea-7-plugin icedtea-netx icedtea-netx-common[sudo] password for balmung: 
    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:
     openjdk-7-jre-headless : Depends: openjdk-7-jre-lib (= 7u15-2.3.7-0ubuntu1~12.04) but 7u15-2.3.7-0ubuntu1~12.04.1 is to be installed
                              Recommends: icedtea-7-jre-jamvm (= 7u15-2.3.7-0ubuntu1~12.04) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    balmung@Evermore-PC:~$ sudo apt-get remove --purge openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib 
    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:
     icedtea-6-jre-cacao : Depends: openjdk-6-jre-headless (= 6b27-1.12.3-0ubuntu1~12.04)
     icedtea-6-jre-jamvm : Depends: openjdk-6-jre-headless (= 6b27-1.12.3-0ubuntu1~12.04)
     openjdk-7-jre-headless : Depends: openjdk-7-jre-lib (= 7u15-2.3.7-0ubuntu1~12.04) but 7u15-2.3.7-0ubuntu1~12.04.1 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    balmung@Evermore-PC:~$ sudo apt-get remove --purge openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    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:
     icedtea-7-jre-cacao : Depends: openjdk-7-jre-headless (= 7u15-2.3.7-0ubuntu1~12.04)
     icedtea-7-jre-jamvm : Depends: openjdk-7-jre-headless (= 7u15-2.3.7-0ubuntu1~12.04)
     icedtea-7-plugin : Depends: openjdk-7-jre
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    balmung@Evermore-PC:~$ sudo apt-get clean
    balmung@Evermore-PC:~$ sudo apt-get update
    Ign http://dl.google.com stable InRelease
    Hit http://dl.google.com stable Release.gpg                                    
    Hit http://dl.google.com stable Release                                        
    Ign http://archive.canonical.com precise InRelease                             
    Ign http://ppa.launchpad.net precise InRelease                                 
    Ign http://ppa.launchpad.net precise InRelease                                 
    Ign http://ppa.launchpad.net precise InRelease                                 
    Ign http://archive.ubuntu.com precise InRelease                                
    Ign http://archive.ubuntu.com precise-updates InRelease                        
    Ign http://archive.ubuntu.com precise-backports InRelease                      
    Ign http://archive.ubuntu.com precise-security InRelease                       
    Hit http://repo.steampowered.com precise InRelease                             
    Hit http://dl.google.com stable/main i386 Packages                             
    Ign http://dl.google.com stable/main TranslationIndex                          
    Ign http://ppa.launchpad.net precise InRelease                                 
    Hit http://ppa.launchpad.net precise Release.gpg                               
    Hit http://ppa.launchpad.net precise Release.gpg                               
    Hit http://repo.steampowered.com precise/steam Sources                         
    Hit http://archive.canonical.com precise Release.gpg                           
    Hit http://archive.ubuntu.com precise Release.gpg                              
    Hit http://archive.ubuntu.com precise-updates Release.gpg                      
    Hit http://archive.ubuntu.com precise-backports Release.gpg                    
    Hit http://ppa.launchpad.net precise Release.gpg                               
    Hit http://archive.canonical.com precise Release                               
    Hit http://archive.ubuntu.com precise-security Release.gpg                     
    Hit http://repo.steampowered.com precise/steam i386 Packages                   
    Hit http://ppa.launchpad.net precise Release.gpg                               
    Hit http://ppa.launchpad.net precise Release                                   
    Hit http://archive.canonical.com precise/partner Sources                       
    Hit http://archive.ubuntu.com precise Release                                  
    Hit http://archive.ubuntu.com precise-updates Release                          
    Hit http://ppa.launchpad.net precise Release                                   
    Hit http://archive.canonical.com precise/partner i386 Packages                 
    Ign http://archive.canonical.com precise/partner TranslationIndex              
    Hit http://archive.ubuntu.com precise-backports Release                        
    Ign http://repo.steampowered.com precise/steam TranslationIndex                
    Hit http://ppa.launchpad.net precise Release                                   
    Hit http://ppa.launchpad.net precise Release                                   
    Hit http://archive.ubuntu.com precise-security Release                         
    Hit http://archive.ubuntu.com precise/restricted Sources                       
    Hit http://archive.ubuntu.com precise/main Sources                             
    Hit http://archive.ubuntu.com precise/multiverse Sources                       
    Hit http://archive.ubuntu.com precise/universe Sources                         
    Hit http://archive.ubuntu.com precise/main i386 Packages                       
    Hit http://ppa.launchpad.net precise/main Sources                              
    Hit http://ppa.launchpad.net precise/main i386 Packages                        
    Ign http://ppa.launchpad.net precise/main TranslationIndex                     
    Hit http://archive.ubuntu.com precise/restricted i386 Packages                 
    Hit http://archive.ubuntu.com precise/universe i386 Packages                   
    Hit http://archive.ubuntu.com precise/multiverse i386 Packages                 
    Hit http://archive.ubuntu.com precise/main TranslationIndex                    
    Hit http://archive.ubuntu.com precise/multiverse TranslationIndex              
    Hit http://archive.ubuntu.com precise/restricted TranslationIndex              
    Hit http://archive.ubuntu.com precise/universe TranslationIndex                
    Hit http://archive.ubuntu.com precise-updates/restricted Sources               
    Hit http://archive.ubuntu.com precise-updates/main Sources                     
    Hit http://ppa.launchpad.net precise/main Sources                              
    Hit http://ppa.launchpad.net precise/main i386 Packages                        
    Ign http://ppa.launchpad.net precise/main TranslationIndex                     
    Hit http://ppa.launchpad.net precise/main Sources                              
    Hit http://ppa.launchpad.net precise/main i386 Packages                        
    Ign http://ppa.launchpad.net precise/main TranslationIndex                     
    Hit http://ppa.launchpad.net precise/main Sources                              
    Hit http://archive.ubuntu.com precise-updates/multiverse Sources               
    Hit http://archive.ubuntu.com precise-updates/universe Sources                 
    Hit http://archive.ubuntu.com precise-updates/main i386 Packages               
    Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages         
    Hit http://archive.ubuntu.com precise-updates/universe i386 Packages           
    Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages         
    Hit http://ppa.launchpad.net precise/main i386 Packages                        
    Ign http://ppa.launchpad.net precise/main TranslationIndex                     
    Hit http://archive.ubuntu.com precise-updates/main TranslationIndex            
    Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex      
    Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex      
    Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex        
    Hit http://archive.ubuntu.com precise-backports/main Sources                   
    Hit http://archive.ubuntu.com precise-backports/restricted Sources             
    Hit http://archive.ubuntu.com precise-backports/universe Sources               
    Hit http://archive.ubuntu.com precise-backports/multiverse Sources             
    Hit http://archive.ubuntu.com precise-backports/main i386 Packages             
    Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages       
    Ign http://dl.google.com stable/main Translation-en_US                         
    Hit http://archive.ubuntu.com precise-backports/universe i386 Packages         
    Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages       
    Hit http://archive.ubuntu.com precise-backports/main TranslationIndex          
    Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex    
    Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex    
    Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex      
    Hit http://archive.ubuntu.com precise-security/restricted Sources              
    Hit http://archive.ubuntu.com precise-security/main Sources                    
    Hit http://archive.ubuntu.com precise-security/multiverse Sources              
    Hit http://archive.ubuntu.com precise-security/universe Sources                
    Hit http://archive.ubuntu.com precise-security/main i386 Packages              
    Hit http://archive.ubuntu.com precise-security/restricted i386 Packages        
    Hit http://archive.ubuntu.com precise-security/universe i386 Packages          
    Hit http://archive.ubuntu.com precise-security/multiverse i386 Packages        
    Hit http://archive.ubuntu.com precise-security/main TranslationIndex           
    Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex     
    Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex     
    Hit http://archive.ubuntu.com precise-security/universe TranslationIndex       
    Hit http://archive.ubuntu.com precise/main Translation-en                      
    Hit http://archive.ubuntu.com precise/multiverse Translation-en                
    Hit http://archive.ubuntu.com precise/restricted Translation-en                
    Hit http://archive.ubuntu.com precise/universe Translation-en                  
    Hit http://archive.ubuntu.com precise-updates/main Translation-en              
    Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en        
    Ign http://archive.canonical.com precise/partner Translation-en_US             
    Hit http://archive.ubuntu.com precise-updates/restricted Translation-en        
    Hit http://archive.ubuntu.com precise-updates/universe Translation-en
    Hit http://archive.ubuntu.com precise-backports/main Translation-en  
    Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
    Hit http://archive.ubuntu.com precise-backports/restricted Translation-en      
    Ign http://dl.google.com stable/main Translation-en                            
    Hit http://archive.ubuntu.com precise-backports/universe Translation-en        
    Ign http://archive.canonical.com precise/partner Translation-en                
    Hit http://archive.ubuntu.com precise-security/main Translation-en             
    Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
    Hit http://archive.ubuntu.com precise-security/restricted Translation-en
    Hit http://archive.ubuntu.com precise-security/universe Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US          
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://repo.steampowered.com precise/steam Translation-en_US
    Ign http://repo.steampowered.com precise/steam Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Reading package lists... Done
    balmung@Evermore-PC:~$

  8. #18
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 2 Problems

    @Balmung4500 , if re-installing Ubuntu is an option then, reinstall. Almost all the possible fixes for the problem you are having have been provided to you in the thread. I suspect you have not followed the instructions to the letter. Anyways, we all learn.

    Save yourself time and effort and reinstall Ubuntu. But before you do that BACK UP all your important DATA.
    "Evolution is Nature's way of issuing upgrades."

  9. #19
    Join Date
    Jun 2012
    Beans
    33

    Re: 2 Problems

    I somehow fixed it idk how exactly
    Last edited by Balmung4500; April 5th, 2013 at 07:07 PM.

  10. #20
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 2 Problems

    Try to remove all the faulty packages with:

    Code:
    sudo apt-get remove package1 package2 package3 4 5
    or

    Code:
    sudo apt-get --purge package1 2 3 4 5
    then



    Quote Originally Posted by fantab View Post

    Code:
    $ gksu nautilus /var/lib/dpkg/info
    (This opens the File Manager with root privileges).

    Locate the package folder/file openjdk-7-jre-headless and either Delete it or Move it to Trash. Close the File Manager.

    From Terminal:
    Code:
    $ sudo apt-get clean  
    $ sudo apt-get install -f  
    $ sudo dpkg --configure -a 
    $ sudo apt-get update
    $ sudo apt-get upgrade
    If this doesn't fix the problem then try removing the remaining packages; icedtea-7-jre-cacao icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-lib, with "gksu nautilus", as instructed above and rerun the above commands.

    If the problem still persists then, you will also have to remove entries of the above packages from:

    Code:
    $ sudo cp /var/lib/dpgk/status /var/lib/dpkg/status.bak 
    $ gksu gedit /var/lib/dpkg/status
    Then rerun the above apt-get commands.
    remove ALL the files that have mention of the above packages.

    EDIT: I am glad you were able to fix your machine.
    Now, install "Synaptic Package Manager"... IMO its a better than "Software Center".
    Last edited by fantab; April 5th, 2013 at 07:50 PM.
    "Evolution is Nature's way of issuing upgrades."

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •