How to disable third party repositories in Ubuntu 16.04 LTS?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I want to install the latest updates of Ubuntu in my laptop, but while clicking on show updates... It is throwing a The package system is broken error, and it is asking me to disable the third party repositories.



I tried unchecked the third party repositories in the Other software tab in Software & Updates, but I am unable to disable them.



Now how to disable the third party repositories? Without disabling, it is not allowing me to install the latest updates.





I am facing the below error



=================================
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

virtualbox-5.2:i386: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.9 is installed
Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.110-1ubuntu10 is installed
Depends: libgcc1 (>= 1:4.2) but 1:6.0.1-0ubuntu1 is installed
Depends: libice6 (>= 1:1.0.0) but 2:1.0.9-1 is installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.8.dfsg-2ubuntu4.1 is installed
=================================









share|improve this question









New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
    – David Foerster
    2 hours ago










  • @heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
    – David Foerster
    38 mins ago














up vote
2
down vote

favorite












I want to install the latest updates of Ubuntu in my laptop, but while clicking on show updates... It is throwing a The package system is broken error, and it is asking me to disable the third party repositories.



I tried unchecked the third party repositories in the Other software tab in Software & Updates, but I am unable to disable them.



Now how to disable the third party repositories? Without disabling, it is not allowing me to install the latest updates.





I am facing the below error



=================================
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

virtualbox-5.2:i386: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.9 is installed
Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.110-1ubuntu10 is installed
Depends: libgcc1 (>= 1:4.2) but 1:6.0.1-0ubuntu1 is installed
Depends: libice6 (>= 1:1.0.0) but 2:1.0.9-1 is installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.8.dfsg-2ubuntu4.1 is installed
=================================









share|improve this question









New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
    – David Foerster
    2 hours ago










  • @heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
    – David Foerster
    38 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I want to install the latest updates of Ubuntu in my laptop, but while clicking on show updates... It is throwing a The package system is broken error, and it is asking me to disable the third party repositories.



I tried unchecked the third party repositories in the Other software tab in Software & Updates, but I am unable to disable them.



Now how to disable the third party repositories? Without disabling, it is not allowing me to install the latest updates.





I am facing the below error



=================================
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

virtualbox-5.2:i386: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.9 is installed
Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.110-1ubuntu10 is installed
Depends: libgcc1 (>= 1:4.2) but 1:6.0.1-0ubuntu1 is installed
Depends: libice6 (>= 1:1.0.0) but 2:1.0.9-1 is installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.8.dfsg-2ubuntu4.1 is installed
=================================









share|improve this question









New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I want to install the latest updates of Ubuntu in my laptop, but while clicking on show updates... It is throwing a The package system is broken error, and it is asking me to disable the third party repositories.



I tried unchecked the third party repositories in the Other software tab in Software & Updates, but I am unable to disable them.



Now how to disable the third party repositories? Without disabling, it is not allowing me to install the latest updates.





I am facing the below error



=================================
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

virtualbox-5.2:i386: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.9 is installed
Depends: libdevmapper1.02.1 (>= 2:1.02.97) but 2:1.02.110-1ubuntu10 is installed
Depends: libgcc1 (>= 1:4.2) but 1:6.0.1-0ubuntu1 is installed
Depends: libice6 (>= 1:1.0.0) but 2:1.0.9-1 is installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.8.dfsg-2ubuntu4.1 is installed
=================================






apt package-management dependencies ppa






share|improve this question









New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago









karel

52.9k11112134




52.9k11112134






New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









mulam srinivas

111




111




New contributor




mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






mulam srinivas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
    – David Foerster
    2 hours ago










  • @heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
    – David Foerster
    38 mins ago












  • 1




    Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
    – David Foerster
    2 hours ago










  • @heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
    – David Foerster
    38 mins ago







1




1




Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
– David Foerster
2 hours ago




Welcome to Ask Ubuntu! Could you please edit your question to include the output of sudo apt-get update; sudo apt-get dist-upgrade -f? Thanks.
– David Foerster
2 hours ago












@heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
– David Foerster
38 mins ago




@heynnema: I know. apt-get dist-upgrade doesn’t perform release upgrades in case you’re confused.
– David Foerster
38 mins ago










2 Answers
2






active

oldest

votes

















up vote
1
down vote













To workaround the problem (bug) of not being able to select/deselect repositories in Software & Updates, open Synaptic, enter your password, then select Repositories from the Settings menu.



But wait... do this first. In Synaptic, go to the Edit menu and select Fix Broken Packages. Do this twice. Then click the Reload icon, and if any errors appear, you need to fix those, to help solve your problem.



Once done, you probably won't need to disable repos, and you can continue with your Software Updater app.



Also, I'm guessing that you have a 64-bit computer, and virtualbox-5.2:i386 would be the wrong version of VB. You probably need to uninstall this version and install the 64-bit version. You can use Synaptic to do this.






share|improve this answer





























    up vote
    0
    down vote













    After trying to uncheck the third party repositories in the Other software tab in Software & Updates a new small window opens up with a Reload button that refreshes the list of available software. The Reload button is marked by the mouse cursor in the below screenshot. Maybe you didn't click the Reload button, so your list of available software did not get updated, and as a result the package system is broken.



    enter image description here



    The information about available software is out-of-date 

    To install software and updates from newly added or changed sources,
    you have to reload the information about available software.

    You need a working internet connection to continue.


    Run the following command in the terminal to refresh the list of available software.



    sudo apt update 


    After that you can download the VirtualBox .deb file for Ubuntu 16.04 from the official Oracle website and double-click the .deb file to install it, or follow the instructions for adding the Oracle VirtualBox repository to your software sources at the Oracle VM VirtualBox virtualbox.org webpage. Installing VirtualBox using the second option allows VirtualBox to be updated automatically, but this feature is not necessary because if you install VirtualBox using the first option you will be prompted in the VirtualBox application to update it to the latest version when an update is available.






    share|improve this answer






















    • The OP can't uncheck third party repos in the Software & Updates app. See my answer.
      – heynnema
      1 hour ago











    • The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
      – karel
      1 hour ago










    • Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
      – heynnema
      1 hour ago











    • Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
      – heynnema
      1 hour ago











    • Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
      – heynnema
      55 mins ago











    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    mulam srinivas is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1085830%2fhow-to-disable-third-party-repositories-in-ubuntu-16-04-lts%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    To workaround the problem (bug) of not being able to select/deselect repositories in Software & Updates, open Synaptic, enter your password, then select Repositories from the Settings menu.



    But wait... do this first. In Synaptic, go to the Edit menu and select Fix Broken Packages. Do this twice. Then click the Reload icon, and if any errors appear, you need to fix those, to help solve your problem.



    Once done, you probably won't need to disable repos, and you can continue with your Software Updater app.



    Also, I'm guessing that you have a 64-bit computer, and virtualbox-5.2:i386 would be the wrong version of VB. You probably need to uninstall this version and install the 64-bit version. You can use Synaptic to do this.






    share|improve this answer


























      up vote
      1
      down vote













      To workaround the problem (bug) of not being able to select/deselect repositories in Software & Updates, open Synaptic, enter your password, then select Repositories from the Settings menu.



      But wait... do this first. In Synaptic, go to the Edit menu and select Fix Broken Packages. Do this twice. Then click the Reload icon, and if any errors appear, you need to fix those, to help solve your problem.



      Once done, you probably won't need to disable repos, and you can continue with your Software Updater app.



      Also, I'm guessing that you have a 64-bit computer, and virtualbox-5.2:i386 would be the wrong version of VB. You probably need to uninstall this version and install the 64-bit version. You can use Synaptic to do this.






      share|improve this answer
























        up vote
        1
        down vote










        up vote
        1
        down vote









        To workaround the problem (bug) of not being able to select/deselect repositories in Software & Updates, open Synaptic, enter your password, then select Repositories from the Settings menu.



        But wait... do this first. In Synaptic, go to the Edit menu and select Fix Broken Packages. Do this twice. Then click the Reload icon, and if any errors appear, you need to fix those, to help solve your problem.



        Once done, you probably won't need to disable repos, and you can continue with your Software Updater app.



        Also, I'm guessing that you have a 64-bit computer, and virtualbox-5.2:i386 would be the wrong version of VB. You probably need to uninstall this version and install the 64-bit version. You can use Synaptic to do this.






        share|improve this answer














        To workaround the problem (bug) of not being able to select/deselect repositories in Software & Updates, open Synaptic, enter your password, then select Repositories from the Settings menu.



        But wait... do this first. In Synaptic, go to the Edit menu and select Fix Broken Packages. Do this twice. Then click the Reload icon, and if any errors appear, you need to fix those, to help solve your problem.



        Once done, you probably won't need to disable repos, and you can continue with your Software Updater app.



        Also, I'm guessing that you have a 64-bit computer, and virtualbox-5.2:i386 would be the wrong version of VB. You probably need to uninstall this version and install the 64-bit version. You can use Synaptic to do this.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 59 mins ago

























        answered 1 hour ago









        heynnema

        16.3k22048




        16.3k22048






















            up vote
            0
            down vote













            After trying to uncheck the third party repositories in the Other software tab in Software & Updates a new small window opens up with a Reload button that refreshes the list of available software. The Reload button is marked by the mouse cursor in the below screenshot. Maybe you didn't click the Reload button, so your list of available software did not get updated, and as a result the package system is broken.



            enter image description here



            The information about available software is out-of-date 

            To install software and updates from newly added or changed sources,
            you have to reload the information about available software.

            You need a working internet connection to continue.


            Run the following command in the terminal to refresh the list of available software.



            sudo apt update 


            After that you can download the VirtualBox .deb file for Ubuntu 16.04 from the official Oracle website and double-click the .deb file to install it, or follow the instructions for adding the Oracle VirtualBox repository to your software sources at the Oracle VM VirtualBox virtualbox.org webpage. Installing VirtualBox using the second option allows VirtualBox to be updated automatically, but this feature is not necessary because if you install VirtualBox using the first option you will be prompted in the VirtualBox application to update it to the latest version when an update is available.






            share|improve this answer






















            • The OP can't uncheck third party repos in the Software & Updates app. See my answer.
              – heynnema
              1 hour ago











            • The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
              – karel
              1 hour ago










            • Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
              – heynnema
              1 hour ago











            • Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
              – heynnema
              1 hour ago











            • Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
              – heynnema
              55 mins ago















            up vote
            0
            down vote













            After trying to uncheck the third party repositories in the Other software tab in Software & Updates a new small window opens up with a Reload button that refreshes the list of available software. The Reload button is marked by the mouse cursor in the below screenshot. Maybe you didn't click the Reload button, so your list of available software did not get updated, and as a result the package system is broken.



            enter image description here



            The information about available software is out-of-date 

            To install software and updates from newly added or changed sources,
            you have to reload the information about available software.

            You need a working internet connection to continue.


            Run the following command in the terminal to refresh the list of available software.



            sudo apt update 


            After that you can download the VirtualBox .deb file for Ubuntu 16.04 from the official Oracle website and double-click the .deb file to install it, or follow the instructions for adding the Oracle VirtualBox repository to your software sources at the Oracle VM VirtualBox virtualbox.org webpage. Installing VirtualBox using the second option allows VirtualBox to be updated automatically, but this feature is not necessary because if you install VirtualBox using the first option you will be prompted in the VirtualBox application to update it to the latest version when an update is available.






            share|improve this answer






















            • The OP can't uncheck third party repos in the Software & Updates app. See my answer.
              – heynnema
              1 hour ago











            • The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
              – karel
              1 hour ago










            • Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
              – heynnema
              1 hour ago











            • Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
              – heynnema
              1 hour ago











            • Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
              – heynnema
              55 mins ago













            up vote
            0
            down vote










            up vote
            0
            down vote









            After trying to uncheck the third party repositories in the Other software tab in Software & Updates a new small window opens up with a Reload button that refreshes the list of available software. The Reload button is marked by the mouse cursor in the below screenshot. Maybe you didn't click the Reload button, so your list of available software did not get updated, and as a result the package system is broken.



            enter image description here



            The information about available software is out-of-date 

            To install software and updates from newly added or changed sources,
            you have to reload the information about available software.

            You need a working internet connection to continue.


            Run the following command in the terminal to refresh the list of available software.



            sudo apt update 


            After that you can download the VirtualBox .deb file for Ubuntu 16.04 from the official Oracle website and double-click the .deb file to install it, or follow the instructions for adding the Oracle VirtualBox repository to your software sources at the Oracle VM VirtualBox virtualbox.org webpage. Installing VirtualBox using the second option allows VirtualBox to be updated automatically, but this feature is not necessary because if you install VirtualBox using the first option you will be prompted in the VirtualBox application to update it to the latest version when an update is available.






            share|improve this answer














            After trying to uncheck the third party repositories in the Other software tab in Software & Updates a new small window opens up with a Reload button that refreshes the list of available software. The Reload button is marked by the mouse cursor in the below screenshot. Maybe you didn't click the Reload button, so your list of available software did not get updated, and as a result the package system is broken.



            enter image description here



            The information about available software is out-of-date 

            To install software and updates from newly added or changed sources,
            you have to reload the information about available software.

            You need a working internet connection to continue.


            Run the following command in the terminal to refresh the list of available software.



            sudo apt update 


            After that you can download the VirtualBox .deb file for Ubuntu 16.04 from the official Oracle website and double-click the .deb file to install it, or follow the instructions for adding the Oracle VirtualBox repository to your software sources at the Oracle VM VirtualBox virtualbox.org webpage. Installing VirtualBox using the second option allows VirtualBox to be updated automatically, but this feature is not necessary because if you install VirtualBox using the first option you will be prompted in the VirtualBox application to update it to the latest version when an update is available.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 33 mins ago

























            answered 2 hours ago









            karel

            52.9k11112134




            52.9k11112134











            • The OP can't uncheck third party repos in the Software & Updates app. See my answer.
              – heynnema
              1 hour ago











            • The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
              – karel
              1 hour ago










            • Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
              – heynnema
              1 hour ago











            • Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
              – heynnema
              1 hour ago











            • Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
              – heynnema
              55 mins ago

















            • The OP can't uncheck third party repos in the Software & Updates app. See my answer.
              – heynnema
              1 hour ago











            • The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
              – karel
              1 hour ago










            • Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
              – heynnema
              1 hour ago











            • Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
              – heynnema
              1 hour ago











            • Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
              – heynnema
              55 mins ago
















            The OP can't uncheck third party repos in the Software & Updates app. See my answer.
            – heynnema
            1 hour ago





            The OP can't uncheck third party repos in the Software & Updates app. See my answer.
            – heynnema
            1 hour ago













            The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
            – karel
            1 hour ago




            The OP didn't say that he cant uncheck third party repositories in Software & Updates, he said he can't disable them.
            – karel
            1 hour ago












            Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
            – heynnema
            1 hour ago





            Same thing. OP can't uncheck/disable third party repos. It's an admin password bug.
            – heynnema
            1 hour ago













            Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
            – heynnema
            1 hour ago





            Replacing the sources.list file with a generic template will only LOSE some custom repos they've added. Most third party repos get added via the sources.list.d directory as *.list files.
            – heynnema
            1 hour ago













            Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
            – heynnema
            55 mins ago





            Oh no! Delete every file in sources.list.d?!? Not a good idea. Why take the sledgehammer approach when my answer solves the problem?
            – heynnema
            55 mins ago











            mulam srinivas is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            mulam srinivas is a new contributor. Be nice, and check out our Code of Conduct.












            mulam srinivas is a new contributor. Be nice, and check out our Code of Conduct.











            mulam srinivas is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1085830%2fhow-to-disable-third-party-repositories-in-ubuntu-16-04-lts%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery