Ubuntu 14.04 - icedtea-6-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1)












1















First of all, I'm a noob on ubuntu.
I needed to run a Java application and installed latest version.
After that, tried to run .jar file, it worked, but when I try to run the installed files, they give me an error sayin' that the application is 32bits and my java (and ubuntu) installation is 64bits.
After googling a while, found that I needed to install icedtea. Tried to do so, but couldn't succeed.



sudo apt-get clean
sudo apt-get autoremove


Gives me



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-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1) but it is not installable
E: Unmet dependencies. Try using -f.


Then tried



sudo apt-get -f autoremove


And returns me



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
icedtea-netx:i386
The following NEW packages will be installed:
icedtea-netx:i386
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
1 not fully installed or removed.
Need to get 19,5 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http:// ec. archive. ubuntu. com/ ubuntu/ trusty/main icedtea-netx i386 1.5-1ubuntu1 [19,5 kB]
Fetched 19,5 kB in 15s (1.231 B/s)
(Reading database ... 187313 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5-1ubuntu1_i386.deb ...
Unpacking icedtea-netx:i386 (1.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/bin/policyeditor', which is different from other instances of package icedtea-netx:i386
Errors were encountered while processing:
/var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive. canonical. com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http:// archive. canonical. com /ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive. canonical .com_ ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)


(Added some spaces to links since I couldn't post it exactly like I copied it from terminal)



Tried



sudo apt-get update


And still same issue.



Any ideas on how to remove this package and it's dependencies via console? Or if it's not possible, how to remove them mannualy?



Thanks in advance!
Pablo










share|improve this question























  • The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

    – saiarcot895
    May 9 '14 at 22:27






  • 2





    On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

    – saiarcot895
    May 9 '14 at 22:30
















1















First of all, I'm a noob on ubuntu.
I needed to run a Java application and installed latest version.
After that, tried to run .jar file, it worked, but when I try to run the installed files, they give me an error sayin' that the application is 32bits and my java (and ubuntu) installation is 64bits.
After googling a while, found that I needed to install icedtea. Tried to do so, but couldn't succeed.



sudo apt-get clean
sudo apt-get autoremove


Gives me



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-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1) but it is not installable
E: Unmet dependencies. Try using -f.


Then tried



sudo apt-get -f autoremove


And returns me



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
icedtea-netx:i386
The following NEW packages will be installed:
icedtea-netx:i386
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
1 not fully installed or removed.
Need to get 19,5 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http:// ec. archive. ubuntu. com/ ubuntu/ trusty/main icedtea-netx i386 1.5-1ubuntu1 [19,5 kB]
Fetched 19,5 kB in 15s (1.231 B/s)
(Reading database ... 187313 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5-1ubuntu1_i386.deb ...
Unpacking icedtea-netx:i386 (1.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/bin/policyeditor', which is different from other instances of package icedtea-netx:i386
Errors were encountered while processing:
/var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive. canonical. com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http:// archive. canonical. com /ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive. canonical .com_ ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)


(Added some spaces to links since I couldn't post it exactly like I copied it from terminal)



Tried



sudo apt-get update


And still same issue.



Any ideas on how to remove this package and it's dependencies via console? Or if it's not possible, how to remove them mannualy?



Thanks in advance!
Pablo










share|improve this question























  • The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

    – saiarcot895
    May 9 '14 at 22:27






  • 2





    On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

    – saiarcot895
    May 9 '14 at 22:30














1












1








1








First of all, I'm a noob on ubuntu.
I needed to run a Java application and installed latest version.
After that, tried to run .jar file, it worked, but when I try to run the installed files, they give me an error sayin' that the application is 32bits and my java (and ubuntu) installation is 64bits.
After googling a while, found that I needed to install icedtea. Tried to do so, but couldn't succeed.



sudo apt-get clean
sudo apt-get autoremove


Gives me



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-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1) but it is not installable
E: Unmet dependencies. Try using -f.


Then tried



sudo apt-get -f autoremove


And returns me



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
icedtea-netx:i386
The following NEW packages will be installed:
icedtea-netx:i386
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
1 not fully installed or removed.
Need to get 19,5 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http:// ec. archive. ubuntu. com/ ubuntu/ trusty/main icedtea-netx i386 1.5-1ubuntu1 [19,5 kB]
Fetched 19,5 kB in 15s (1.231 B/s)
(Reading database ... 187313 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5-1ubuntu1_i386.deb ...
Unpacking icedtea-netx:i386 (1.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/bin/policyeditor', which is different from other instances of package icedtea-netx:i386
Errors were encountered while processing:
/var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive. canonical. com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http:// archive. canonical. com /ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive. canonical .com_ ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)


(Added some spaces to links since I couldn't post it exactly like I copied it from terminal)



Tried



sudo apt-get update


And still same issue.



Any ideas on how to remove this package and it's dependencies via console? Or if it's not possible, how to remove them mannualy?



Thanks in advance!
Pablo










share|improve this question














First of all, I'm a noob on ubuntu.
I needed to run a Java application and installed latest version.
After that, tried to run .jar file, it worked, but when I try to run the installed files, they give me an error sayin' that the application is 32bits and my java (and ubuntu) installation is 64bits.
After googling a while, found that I needed to install icedtea. Tried to do so, but couldn't succeed.



sudo apt-get clean
sudo apt-get autoremove


Gives me



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-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1) but it is not installable
E: Unmet dependencies. Try using -f.


Then tried



sudo apt-get -f autoremove


And returns me



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
icedtea-netx:i386
The following NEW packages will be installed:
icedtea-netx:i386
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
1 not fully installed or removed.
Need to get 19,5 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http:// ec. archive. ubuntu. com/ ubuntu/ trusty/main icedtea-netx i386 1.5-1ubuntu1 [19,5 kB]
Fetched 19,5 kB in 15s (1.231 B/s)
(Reading database ... 187313 files and directories currently installed.)
Preparing to unpack .../icedtea-netx_1.5-1ubuntu1_i386.deb ...
Unpacking icedtea-netx:i386 (1.5-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/bin/policyeditor', which is different from other instances of package icedtea-netx:i386
Errors were encountered while processing:
/var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive. canonical. com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http:// archive. canonical. com /ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive. canonical .com_ ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)


(Added some spaces to links since I couldn't post it exactly like I copied it from terminal)



Tried



sudo apt-get update


And still same issue.



Any ideas on how to remove this package and it's dependencies via console? Or if it's not possible, how to remove them mannualy?



Thanks in advance!
Pablo







java software-installation icedtea






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 9 '14 at 21:46









PabloPablo

190215




190215













  • The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

    – saiarcot895
    May 9 '14 at 22:27






  • 2





    On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

    – saiarcot895
    May 9 '14 at 22:30



















  • The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

    – saiarcot895
    May 9 '14 at 22:27






  • 2





    On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

    – saiarcot895
    May 9 '14 at 22:30

















The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

– saiarcot895
May 9 '14 at 22:27





The application error makes no sense. Java bytecode is designed to run on any OS and architecture the JVM supports. Assuming it is in Java, I would consider the application to be poorly written if it expects to run only on 32-bit Java.

– saiarcot895
May 9 '14 at 22:27




2




2





On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

– saiarcot895
May 9 '14 at 22:30





On the more important note here, you can't install both icedtea-netx (which you presumably already have installed) and icedtea-netx:i386, since both packages install different binary files in the same location (/usr/bin/policyeditor). These packages, unlike most library packages, aren't multiarch (since it's assumed you'll want applications that are for your architecture), and so can't be installed simultaneously.

– saiarcot895
May 9 '14 at 22:30










2 Answers
2






active

oldest

votes


















0














It clearly says that "sudo apt-get -f install" without giving anything after that.
That'll automatically clear the unwanted packages and you'll be good to go.
Trust me it worked for me.






share|improve this answer
























  • Already tried, but didn't work.

    – Pablo
    Sep 16 '14 at 18:27











  • Still the same problem

    – ismail
    Sep 30 '14 at 13:12



















0














try this




sudo -i



dpkg -i --force-overwrite /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb

apt-get autoremove

apt-get update

apt-get upgrade






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f463616%2fubuntu-14-04-icedtea-6-plugini386-depends-icedtea-netxi386-1-5-1ubuntu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It clearly says that "sudo apt-get -f install" without giving anything after that.
    That'll automatically clear the unwanted packages and you'll be good to go.
    Trust me it worked for me.






    share|improve this answer
























    • Already tried, but didn't work.

      – Pablo
      Sep 16 '14 at 18:27











    • Still the same problem

      – ismail
      Sep 30 '14 at 13:12
















    0














    It clearly says that "sudo apt-get -f install" without giving anything after that.
    That'll automatically clear the unwanted packages and you'll be good to go.
    Trust me it worked for me.






    share|improve this answer
























    • Already tried, but didn't work.

      – Pablo
      Sep 16 '14 at 18:27











    • Still the same problem

      – ismail
      Sep 30 '14 at 13:12














    0












    0








    0







    It clearly says that "sudo apt-get -f install" without giving anything after that.
    That'll automatically clear the unwanted packages and you'll be good to go.
    Trust me it worked for me.






    share|improve this answer













    It clearly says that "sudo apt-get -f install" without giving anything after that.
    That'll automatically clear the unwanted packages and you'll be good to go.
    Trust me it worked for me.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 9 '14 at 17:09









    user3404692user3404692

    1




    1













    • Already tried, but didn't work.

      – Pablo
      Sep 16 '14 at 18:27











    • Still the same problem

      – ismail
      Sep 30 '14 at 13:12



















    • Already tried, but didn't work.

      – Pablo
      Sep 16 '14 at 18:27











    • Still the same problem

      – ismail
      Sep 30 '14 at 13:12

















    Already tried, but didn't work.

    – Pablo
    Sep 16 '14 at 18:27





    Already tried, but didn't work.

    – Pablo
    Sep 16 '14 at 18:27













    Still the same problem

    – ismail
    Sep 30 '14 at 13:12





    Still the same problem

    – ismail
    Sep 30 '14 at 13:12













    0














    try this




    sudo -i



    dpkg -i --force-overwrite /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb

    apt-get autoremove

    apt-get update

    apt-get upgrade






    share|improve this answer




























      0














      try this




      sudo -i



      dpkg -i --force-overwrite /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb

      apt-get autoremove

      apt-get update

      apt-get upgrade






      share|improve this answer


























        0












        0








        0







        try this




        sudo -i



        dpkg -i --force-overwrite /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb

        apt-get autoremove

        apt-get update

        apt-get upgrade






        share|improve this answer













        try this




        sudo -i



        dpkg -i --force-overwrite /var/cache/apt/archives/icedtea-netx_1.5-1ubuntu1_i386.deb

        apt-get autoremove

        apt-get update

        apt-get upgrade







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 21 '15 at 7:41









        Nguyễn Mạnh HùngNguyễn Mạnh Hùng

        12




        12






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f463616%2fubuntu-14-04-icedtea-6-plugini386-depends-icedtea-netxi386-1-5-1ubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            Touch on Surface Book