Can't add Repositories on Linux Mint











up vote
2
down vote

favorite












Just tried adding the 'multiverse-repo' only to get the following error:



sudo apt add-repository multiverse
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 19, in <module>
import requests
ModuleNotFoundError: No module named 'requests'


So I started searching about repository problems and found a solution which involved the Linux Software Manager, so I tried to open it and to my surprise it won't open!



I successfully opened Synaptic and tried to access the repository menu in an attempt to add it manually, but that menu won't open either.



I have already restarted and reinstalled certificates.



I haven't messed up any Linux files and haven't done any other changes to my PC, so I don't understand why this is happening.










share|improve this question




























    up vote
    2
    down vote

    favorite












    Just tried adding the 'multiverse-repo' only to get the following error:



    sudo apt add-repository multiverse
    Traceback (most recent call last):
    File "/usr/lib/linuxmint/mintSources/mintSources.py", line 19, in <module>
    import requests
    ModuleNotFoundError: No module named 'requests'


    So I started searching about repository problems and found a solution which involved the Linux Software Manager, so I tried to open it and to my surprise it won't open!



    I successfully opened Synaptic and tried to access the repository menu in an attempt to add it manually, but that menu won't open either.



    I have already restarted and reinstalled certificates.



    I haven't messed up any Linux files and haven't done any other changes to my PC, so I don't understand why this is happening.










    share|improve this question


























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Just tried adding the 'multiverse-repo' only to get the following error:



      sudo apt add-repository multiverse
      Traceback (most recent call last):
      File "/usr/lib/linuxmint/mintSources/mintSources.py", line 19, in <module>
      import requests
      ModuleNotFoundError: No module named 'requests'


      So I started searching about repository problems and found a solution which involved the Linux Software Manager, so I tried to open it and to my surprise it won't open!



      I successfully opened Synaptic and tried to access the repository menu in an attempt to add it manually, but that menu won't open either.



      I have already restarted and reinstalled certificates.



      I haven't messed up any Linux files and haven't done any other changes to my PC, so I don't understand why this is happening.










      share|improve this question















      Just tried adding the 'multiverse-repo' only to get the following error:



      sudo apt add-repository multiverse
      Traceback (most recent call last):
      File "/usr/lib/linuxmint/mintSources/mintSources.py", line 19, in <module>
      import requests
      ModuleNotFoundError: No module named 'requests'


      So I started searching about repository problems and found a solution which involved the Linux Software Manager, so I tried to open it and to my surprise it won't open!



      I successfully opened Synaptic and tried to access the repository menu in an attempt to add it manually, but that menu won't open either.



      I have already restarted and reinstalled certificates.



      I haven't messed up any Linux files and haven't done any other changes to my PC, so I don't understand why this is happening.







      linux linux-mint repository






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 21 at 16:07









      MMM

      11311




      11311










      asked Aug 21 at 16:00









      Steven Guerrero

      267




      267






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote














          ModuleNotFoundError: No module named 'requests'




          Your specific problem is a python error, saying that there is no python module requests. You can try to see if you can install the missing package python-requests



          apt-get install python-requests



          Sometimes you can find out if there are problems with your system state, i.e., missing packages, by running



          apt-get install -f / apt-get install --fix-broken






          share|improve this answer





















          • I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
            – Steven Guerrero
            Aug 23 at 15:17


















          up vote
          0
          down vote













          As I said, Software Manager was not working. Made me think A LOT of a recent installation I had done.



          Tried to install Microsoft SQL-Server, which required to downgrade the OpenSSL to 1.1.0 (ridiculous as it was already in that version), all the programs that depended on OpenSSL get uninstalled as well.



          That had happened four or five days ago, and 'til that moment it hadn't caused any issue, besides the fact I was off for weekend, so I didn't minded at that moment. But it did matter. A LOT.



          After wasting hours checking on other forums, opened Synaptics looking for the Software Manager package name and versions and found all the Programs that got uninstalled under the Status => 'Not Installed (Residual Config)' Section.



          Recovered all the programs and everything worked as usual. A reason more to install Synaptics, in case you are a novice on Linux or be a 'mess up master' like me.



          Thank you for your help.






          share|improve this answer




























            up vote
            0
            down vote













            "/usr/lib/linuxmint/mintSources/mintSources.py" requires python3
            so try:



            "sudo apt install python3-requests"



            It is working for me.






            share|improve this answer





















            • Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
              – fixer1234
              Dec 1 at 9:50











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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: 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%2fsuperuser.com%2fquestions%2f1351037%2fcant-add-repositories-on-linux-mint%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote














            ModuleNotFoundError: No module named 'requests'




            Your specific problem is a python error, saying that there is no python module requests. You can try to see if you can install the missing package python-requests



            apt-get install python-requests



            Sometimes you can find out if there are problems with your system state, i.e., missing packages, by running



            apt-get install -f / apt-get install --fix-broken






            share|improve this answer





















            • I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
              – Steven Guerrero
              Aug 23 at 15:17















            up vote
            1
            down vote














            ModuleNotFoundError: No module named 'requests'




            Your specific problem is a python error, saying that there is no python module requests. You can try to see if you can install the missing package python-requests



            apt-get install python-requests



            Sometimes you can find out if there are problems with your system state, i.e., missing packages, by running



            apt-get install -f / apt-get install --fix-broken






            share|improve this answer





















            • I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
              – Steven Guerrero
              Aug 23 at 15:17













            up vote
            1
            down vote










            up vote
            1
            down vote










            ModuleNotFoundError: No module named 'requests'




            Your specific problem is a python error, saying that there is no python module requests. You can try to see if you can install the missing package python-requests



            apt-get install python-requests



            Sometimes you can find out if there are problems with your system state, i.e., missing packages, by running



            apt-get install -f / apt-get install --fix-broken






            share|improve this answer













            ModuleNotFoundError: No module named 'requests'




            Your specific problem is a python error, saying that there is no python module requests. You can try to see if you can install the missing package python-requests



            apt-get install python-requests



            Sometimes you can find out if there are problems with your system state, i.e., missing packages, by running



            apt-get install -f / apt-get install --fix-broken







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 23 at 4:36









            ender.qa

            264




            264












            • I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
              – Steven Guerrero
              Aug 23 at 15:17


















            • I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
              – Steven Guerrero
              Aug 23 at 15:17
















            I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
            – Steven Guerrero
            Aug 23 at 15:17




            I have already done it, it didn't worked. The problem turned out to be deeper than I thought. Posting my solution
            – Steven Guerrero
            Aug 23 at 15:17












            up vote
            0
            down vote













            As I said, Software Manager was not working. Made me think A LOT of a recent installation I had done.



            Tried to install Microsoft SQL-Server, which required to downgrade the OpenSSL to 1.1.0 (ridiculous as it was already in that version), all the programs that depended on OpenSSL get uninstalled as well.



            That had happened four or five days ago, and 'til that moment it hadn't caused any issue, besides the fact I was off for weekend, so I didn't minded at that moment. But it did matter. A LOT.



            After wasting hours checking on other forums, opened Synaptics looking for the Software Manager package name and versions and found all the Programs that got uninstalled under the Status => 'Not Installed (Residual Config)' Section.



            Recovered all the programs and everything worked as usual. A reason more to install Synaptics, in case you are a novice on Linux or be a 'mess up master' like me.



            Thank you for your help.






            share|improve this answer

























              up vote
              0
              down vote













              As I said, Software Manager was not working. Made me think A LOT of a recent installation I had done.



              Tried to install Microsoft SQL-Server, which required to downgrade the OpenSSL to 1.1.0 (ridiculous as it was already in that version), all the programs that depended on OpenSSL get uninstalled as well.



              That had happened four or five days ago, and 'til that moment it hadn't caused any issue, besides the fact I was off for weekend, so I didn't minded at that moment. But it did matter. A LOT.



              After wasting hours checking on other forums, opened Synaptics looking for the Software Manager package name and versions and found all the Programs that got uninstalled under the Status => 'Not Installed (Residual Config)' Section.



              Recovered all the programs and everything worked as usual. A reason more to install Synaptics, in case you are a novice on Linux or be a 'mess up master' like me.



              Thank you for your help.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                As I said, Software Manager was not working. Made me think A LOT of a recent installation I had done.



                Tried to install Microsoft SQL-Server, which required to downgrade the OpenSSL to 1.1.0 (ridiculous as it was already in that version), all the programs that depended on OpenSSL get uninstalled as well.



                That had happened four or five days ago, and 'til that moment it hadn't caused any issue, besides the fact I was off for weekend, so I didn't minded at that moment. But it did matter. A LOT.



                After wasting hours checking on other forums, opened Synaptics looking for the Software Manager package name and versions and found all the Programs that got uninstalled under the Status => 'Not Installed (Residual Config)' Section.



                Recovered all the programs and everything worked as usual. A reason more to install Synaptics, in case you are a novice on Linux or be a 'mess up master' like me.



                Thank you for your help.






                share|improve this answer












                As I said, Software Manager was not working. Made me think A LOT of a recent installation I had done.



                Tried to install Microsoft SQL-Server, which required to downgrade the OpenSSL to 1.1.0 (ridiculous as it was already in that version), all the programs that depended on OpenSSL get uninstalled as well.



                That had happened four or five days ago, and 'til that moment it hadn't caused any issue, besides the fact I was off for weekend, so I didn't minded at that moment. But it did matter. A LOT.



                After wasting hours checking on other forums, opened Synaptics looking for the Software Manager package name and versions and found all the Programs that got uninstalled under the Status => 'Not Installed (Residual Config)' Section.



                Recovered all the programs and everything worked as usual. A reason more to install Synaptics, in case you are a novice on Linux or be a 'mess up master' like me.



                Thank you for your help.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 23 at 15:36









                Steven Guerrero

                267




                267






















                    up vote
                    0
                    down vote













                    "/usr/lib/linuxmint/mintSources/mintSources.py" requires python3
                    so try:



                    "sudo apt install python3-requests"



                    It is working for me.






                    share|improve this answer





















                    • Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                      – fixer1234
                      Dec 1 at 9:50















                    up vote
                    0
                    down vote













                    "/usr/lib/linuxmint/mintSources/mintSources.py" requires python3
                    so try:



                    "sudo apt install python3-requests"



                    It is working for me.






                    share|improve this answer





















                    • Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                      – fixer1234
                      Dec 1 at 9:50













                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    "/usr/lib/linuxmint/mintSources/mintSources.py" requires python3
                    so try:



                    "sudo apt install python3-requests"



                    It is working for me.






                    share|improve this answer












                    "/usr/lib/linuxmint/mintSources/mintSources.py" requires python3
                    so try:



                    "sudo apt install python3-requests"



                    It is working for me.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 1 at 9:14









                    dARw

                    1




                    1












                    • Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                      – fixer1234
                      Dec 1 at 9:50


















                    • Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                      – fixer1234
                      Dec 1 at 9:50
















                    Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                    – fixer1234
                    Dec 1 at 9:50




                    Thanks for trying to help with this question. The OP posted a self answer in August describing a different problem.
                    – fixer1234
                    Dec 1 at 9:50


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2fsuperuser.com%2fquestions%2f1351037%2fcant-add-repositories-on-linux-mint%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

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    RAC Tourist Trophy