Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Package install-remove problems

  1. #1
    Join Date
    Aug 2012
    Beans
    12

    Package install-remove problems

    Hello,

    I'm quite unexperienced about Ubuntu, so thanks for your patience in advance

    Last week, I tried to install RubyMine IDE. But it required OracleJDK package instead of OpenJDK. Fortunately I succeeded to install OracleJDK by reading lots of blog posts, user experiences etc.

    Anyway the installation was a painful process and probably I have done some mistakes. Right now, I'm getting an repetitive error about OracleJDK whenever I try to install or remove a package. The packages which I tried to install or remove are not related with OracleJDK I think. This error message is just popping out from the history.

    Here is the error message pasted to EverNote: http://goo.gl/UaiP0

    Thanks in advance!

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Package install-remove problems

    Would you please post the error inside code tags (by clicking the # symbol above the input box.)

    Thanks.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Jul 2012
    Beans
    29

    Re: Package install-remove problems

    It seems you have dependency errors related to JDK 7. Try removing all of JDK 7 an than reinstalling it.
    Or follow this article

    (Sorry if this doesn't really help an my messages my vary cause I'm having to use public computers atm.)

  4. #4
    Join Date
    Aug 2012
    Beans
    12

    Re: Package install-remove problems

    Quote Originally Posted by QIII View Post
    Would you please post the error inside code tags (by clicking the # symbol above the input box.)

    Thanks.
    Here it is. Kind of long message, that's why I pasted to EverNote.

    Code:
    installArchives() failed: (Reading database ... 
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 291358 files and directories currently installed.)
    Removing hamster-applet ...
    Processing triggers for gconf2 ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for gnome-menus ...
    Processing triggers for hicolor-icon-theme ...
    Setting up oracle-java7-installer (7u5-0~webupd8~5) ...
    Removing outdated cached downloads...
    Downloading cookie...
    --2012-08-15 23:01:15--  http://launchpadlibrarian.net/98645053/cookie.txt
    launchpadlibrarian.net (launchpadlibrarian.net) zmleniyor... 91.189.89.228, 91.189.89.229
    launchpadlibrarian.net (launchpadlibrarian.net)[91.189.89.228]:80 balanlyor... balant kuruldu.
    HTTP istei gnderildi, cevap bekleniyor... 200 OK
    Uzunluk: 1053 (1,0K) [text/plain]
    Kayt yeri: `./cookie.txt'
    
         0K                                                      100%  807K=0,001s
    
    2012-08-15 23:01:27 (807 KB/s) - `./cookie.txt' kaydedildi [1053/1053]
    
    Downloading Oracle Java 7...
    --2012-08-15 23:01:27--  http://download.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz
    download.oracle.com (download.oracle.com) zmleniyor... 77.67.21.231, 77.67.21.241
    download.oracle.com (download.oracle.com)[77.67.21.231]:80 balanlyor... balant kuruldu.
    HTTP istei gnderildi, cevap bekleniyor... 302 Moved Temporarily
    Yer: https://edelivery.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz [izleyen]
    --2012-08-15 23:01:38--  https://edelivery.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz
    edelivery.oracle.com (edelivery.oracle.com) zmleniyor... 23.14.138.174
    edelivery.oracle.com (edelivery.oracle.com)[23.14.138.174]:443 balanlyor... balant kuruldu.
    HATA: cannot verify edelivery.oracle.com's certificate, issued by `/C=US/O=Akamai Technologies Inc/CN=Akamai Subordinate CA 3':
      Unable to locally verify the issuer's authority.
    edelivery.oracle.com adresine gvenlii gzard ederek balanmak iin `--no-check-certificate' seeneini kullann.
    download failed
    Oracle JDK 7 is NOT installed.
    dpkg: error processing oracle-java7-installer (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of netbeans:
     netbeans depends on openjdk-6-jdk | java6-sdk | java7-sdk; however:
      Package openjdk-6-jdk is not installed.
      Package oracle-java7-installer which provides openjdk-6-jdk is not configured yet.
      Package java6-sdk is not installed.
      Package oracle-java7-installer which provides java6-sdk is not configured yet.
      Package openjdk-6-jdk which provides java6-sdk is not installed.
      Package java7-sdk is not installed.
      Package oracle-java7-installer which provides java7-sdk is not configured yet.
    dpkg: error processing netbeans (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Errors were encountered while processing:
     oracle-java7-installer
     netbeans
    Error in function: 
    Setting up oracle-java7-installer (7u5-0~webupd8~5) ...
    Removing outdated cached downloads...
    Downloading cookie...
    --2012-08-15 23:01:46--  http://launchpadlibrarian.net/98645053/cookie.txt
    launchpadlibrarian.net (launchpadlibrarian.net) zmleniyor... 91.189.89.228, 91.189.89.229
    launchpadlibrarian.net (launchpadlibrarian.net)[91.189.89.228]:80 balanlyor... balant kuruldu.
    HTTP istei gnderildi, cevap bekleniyor... 200 OK
    Uzunluk: 1053 (1,0K) [text/plain]
    Kayt yeri: `./cookie.txt'
    
         0K                                                      100% 13,8M=0s
    
    2012-08-15 23:01:48 (13,8 MB/s) - `./cookie.txt' kaydedildi [1053/1053]
    
    Downloading Oracle Java 7...
    --2012-08-15 23:01:48--  http://download.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz
    download.oracle.com (download.oracle.com) zmleniyor... 77.67.21.231, 77.67.21.241
    download.oracle.com (download.oracle.com)[77.67.21.231]:80 balanlyor... balant kuruldu.
    HTTP istei gnderildi, cevap bekleniyor... 302 Moved Temporarily
    Yer: https://edelivery.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz [izleyen]
    --2012-08-15 23:01:59--  https://edelivery.oracle.com/otn-pub/java/jdk/7u5-b05/jdk-7u5-linux-i586.tar.gz
    edelivery.oracle.com (edelivery.oracle.com) zmleniyor... 23.14.138.174
    edelivery.oracle.com (edelivery.oracle.com)[23.14.138.174]:443 balanlyor... balant kuruldu.
    HATA: cannot verify edelivery.oracle.com's certificate, issued by `/C=US/O=Akamai Technologies Inc/CN=Akamai Subordinate CA 3':
      Unable to locally verify the issuer's authority.
    edelivery.oracle.com adresine gvenlii gzard ederek balanmak iin `--no-check-certificate' seeneini kullann.
    download failed
    Oracle JDK 7 is NOT installed.
    dpkg: error processing oracle-java7-installer (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of netbeans:
     netbeans depends on openjdk-6-jdk | java6-sdk | java7-sdk; however:
      Package openjdk-6-jdk is not installed.
      Package oracle-java7-installer which provides openjdk-6-jdk is not configured yet.
      Package java6-sdk is not installed.
      Package oracle-java7-installer which provides java6-sdk is not configured yet.
      Package openjdk-6-jdk which provides java6-sdk is not installed.
      Package java7-sdk is not installed.
      Package oracle-java7-installer which provides java7-sdk is not configured yet.
    dpkg: error processing netbeans (--configure):
     dependency problems - leaving unconfigured

  5. #5
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Package install-remove problems

    That article is fantastically more difficult than installing Oracle Java needs to be. I would avoid it.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  6. #6
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Package install-remove problems

    Can you tell me what instructions you were using to try to install Java? Perhaps a URL?

    Were you using instructions at Oracle's website?
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  7. #7
    Join Date
    Aug 2012
    Beans
    12

    Re: Package install-remove problems

    Quote Originally Posted by QIII View Post
    Can you tell me what instructions you were using to try to install Java? Perhaps a URL?

    Were you using instructions at Oracle's website?
    Yes sure, I followed these two articles:

    http://www.webupd8.org/2011/09/how-t...-7-jdk-in.html

    http://www.webupd8.org/2012/01/insta...buntu-via.html

    They are actually doing same thing but they both failed and made trouble for me, so I used both of them to learn.

  8. #8
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Package install-remove problems

    They are actually different. We'll have to do some cleanup in a minute.

    What method were you using to install Netbeans?
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  9. #9
    Join Date
    Aug 2012
    Beans
    12

    Re: Package install-remove problems

    Quote Originally Posted by QIII View Post
    They are actually different. We'll have to do some cleanup in a minute.

    What method were you using to install Netbeans?
    I used Ubuntu Software Center to install Netbeans.

  10. #10
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Package install-remove problems

    We need to try to get you back to a clean slate. Be very careful because I am giving you the rm command, which deletes files permanently and immediately.

    Do the following individually in order:

    Code:
     
    sudo apt-get purge netbeans
    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:nilarimogard/webupd8
    sudo ppa-purge ppa:webupd8team/java
    sudo rm /var/lib/dpkg/info/oracle-java7-installer*
    sudo apt-get purge oracle-java7-installer*
    sudo rm /etc/apt/sources.list.d/*java*
    sudo apt-get clean
    sudo apt-get update
    Post back the results of each command.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

Page 1 of 3 123 LastLast

Tags for this Thread

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
  •