Synaptic Package Manager: Could not apply changes! Fix broken packages first.

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

up vote
2
down vote

favorite

Have been trying to fix it in various ways, but all these advices on the internet turned out useless for me. It was too strange to see when one instruction help other people, but don’t solve my problem.

When I mark the package in Synaptic Package Manager and press “Apply”, it says:

Could not apply changes!
Fix broken packages first.

Then i click Synaptic –> Edit –> Fix Broken Packages and i get this:

An error occurred
The following details are provided:

E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Is there any way to fix this issue?

share|improve this question

    up vote
    2
    down vote

    favorite

    Have been trying to fix it in various ways, but all these advices on the internet turned out useless for me. It was too strange to see when one instruction help other people, but don’t solve my problem.

    When I mark the package in Synaptic Package Manager and press “Apply”, it says:

    Could not apply changes!
    Fix broken packages first.
    

    Then i click Synaptic –> Edit –> Fix Broken Packages and i get this:

    An error occurred
    The following details are provided:
    
    E: Unable to correct problems, you have held broken packages.
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    

    Is there any way to fix this issue?

    share|improve this question

      up vote
      2
      down vote

      favorite

      up vote
      2
      down vote

      favorite

      Have been trying to fix it in various ways, but all these advices on the internet turned out useless for me. It was too strange to see when one instruction help other people, but don’t solve my problem.

      When I mark the package in Synaptic Package Manager and press “Apply”, it says:

      Could not apply changes!
      Fix broken packages first.
      

      Then i click Synaptic –> Edit –> Fix Broken Packages and i get this:

      An error occurred
      The following details are provided:
      
      E: Unable to correct problems, you have held broken packages.
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
      E: Unable to correct dependencies
      

      Is there any way to fix this issue?

      share|improve this question

      Have been trying to fix it in various ways, but all these advices on the internet turned out useless for me. It was too strange to see when one instruction help other people, but don’t solve my problem.

      When I mark the package in Synaptic Package Manager and press “Apply”, it says:

      Could not apply changes!
      Fix broken packages first.
      

      Then i click Synaptic –> Edit –> Fix Broken Packages and i get this:

      An error occurred
      The following details are provided:
      
      E: Unable to correct problems, you have held broken packages.
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
      E: Unable to correct dependencies
      

      Is there any way to fix this issue?

      debian dependencies synaptic

      share|improve this question

      share|improve this question

      share|improve this question

      share|improve this question

      asked Apr 27 ’15 at 12:40

      yulian

      91110

      91110

          4 Answers
          4

          active

          oldest

          votes

          up vote
          1
          down vote

          Same issue here when trying to build Barrier on Debian… Installing libcurl3-nss (by itself), followed by libcurl4-nss-dev gave me a successful build.

          (Already had libcurl3 and libcurl3-gnutls installed)

          share|improve this answer

            up vote
            1
            down vote

            accepted

            Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared:

            deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
            #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
            deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
            #deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
            

            Can’t tell you why exactly these, but it works. Synaptic isn’t capricious any more.

            If you have any explanation or simply have something to say about this issue, tell it, please! It may be very useful.

            share|improve this answer

              up vote
              0
              down vote

              In Mint 17.3 (KDE64), I ended up going to the settings menu and selected repositories. Trying many of the options since ‘Fix broken packages’ did not work as such. I used the restore default settings option. After which the system automatically had performed an update. Once completed it worked..somehow (I’m sure that I had installed something or changed things on my own without knowing or paying attention). Now unless you have SPECIFIC SETTINGS put into place I advise using caution maybe write down or take screenshots of your current setting before using the defaults option. Good Luck and again use caution.

              share|improve this answer

              • 1

                Good notice! Indeed.
                – yulian
                Mar 4 at 10:13

              up vote
              0
              down vote

              You can also try this:

              • rm /var/lib/apt/lists/lock
              • rm /var/cache/apt/archives/lock
              • rm /var/lib/dpkg/lock
              share|improve this answer

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

                Your Answer

                StackExchange.ready(function() {
                var channelOptions = {
                tags: “”.split(” “),
                id: “106”
                };
                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: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                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%2funix.stackexchange.com%2fquestions%2f198869%2fsynaptic-package-manager-could-not-apply-changes-fix-broken-packages-first%23new-answer’, ‘question_page’);
                }
                );

                Post as a guest

                Required, but never shown

                4 Answers
                4

                active

                oldest

                votes

                4 Answers
                4

                active

                oldest

                votes

                active

                oldest

                votes

                active

                oldest

                votes

                up vote
                1
                down vote

                Same issue here when trying to build Barrier on Debian… Installing libcurl3-nss (by itself), followed by libcurl4-nss-dev gave me a successful build.

                (Already had libcurl3 and libcurl3-gnutls installed)

                share|improve this answer

                  up vote
                  1
                  down vote

                  Same issue here when trying to build Barrier on Debian… Installing libcurl3-nss (by itself), followed by libcurl4-nss-dev gave me a successful build.

                  (Already had libcurl3 and libcurl3-gnutls installed)

                  share|improve this answer

                    up vote
                    1
                    down vote

                    up vote
                    1
                    down vote

                    Same issue here when trying to build Barrier on Debian… Installing libcurl3-nss (by itself), followed by libcurl4-nss-dev gave me a successful build.

                    (Already had libcurl3 and libcurl3-gnutls installed)

                    share|improve this answer

                    Same issue here when trying to build Barrier on Debian… Installing libcurl3-nss (by itself), followed by libcurl4-nss-dev gave me a successful build.

                    (Already had libcurl3 and libcurl3-gnutls installed)

                    share|improve this answer

                    share|improve this answer

                    share|improve this answer

                    answered Nov 29 at 0:05

                    chris.r

                    412

                    412

                        up vote
                        1
                        down vote

                        accepted

                        Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared:

                        deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                        #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                        deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                        #deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                        

                        Can’t tell you why exactly these, but it works. Synaptic isn’t capricious any more.

                        If you have any explanation or simply have something to say about this issue, tell it, please! It may be very useful.

                        share|improve this answer

                          up vote
                          1
                          down vote

                          accepted

                          Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared:

                          deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                          #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                          deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                          #deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                          

                          Can’t tell you why exactly these, but it works. Synaptic isn’t capricious any more.

                          If you have any explanation or simply have something to say about this issue, tell it, please! It may be very useful.

                          share|improve this answer

                            up vote
                            1
                            down vote

                            accepted

                            up vote
                            1
                            down vote

                            accepted

                            Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared:

                            deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                            #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                            deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                            #deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                            

                            Can’t tell you why exactly these, but it works. Synaptic isn’t capricious any more.

                            If you have any explanation or simply have something to say about this issue, tell it, please! It may be very useful.

                            share|improve this answer

                            Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared:

                            deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                            #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # 
                            deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                            #deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
                            

                            Can’t tell you why exactly these, but it works. Synaptic isn’t capricious any more.

                            If you have any explanation or simply have something to say about this issue, tell it, please! It may be very useful.

                            share|improve this answer

                            share|improve this answer

                            share|improve this answer

                            edited Nov 30 at 18:50

                            answered Apr 27 ’15 at 13:02

                            yulian

                            91110

                            91110

                                up vote
                                0
                                down vote

                                In Mint 17.3 (KDE64), I ended up going to the settings menu and selected repositories. Trying many of the options since ‘Fix broken packages’ did not work as such. I used the restore default settings option. After which the system automatically had performed an update. Once completed it worked..somehow (I’m sure that I had installed something or changed things on my own without knowing or paying attention). Now unless you have SPECIFIC SETTINGS put into place I advise using caution maybe write down or take screenshots of your current setting before using the defaults option. Good Luck and again use caution.

                                share|improve this answer

                                • 1

                                  Good notice! Indeed.
                                  – yulian
                                  Mar 4 at 10:13

                                up vote
                                0
                                down vote

                                In Mint 17.3 (KDE64), I ended up going to the settings menu and selected repositories. Trying many of the options since ‘Fix broken packages’ did not work as such. I used the restore default settings option. After which the system automatically had performed an update. Once completed it worked..somehow (I’m sure that I had installed something or changed things on my own without knowing or paying attention). Now unless you have SPECIFIC SETTINGS put into place I advise using caution maybe write down or take screenshots of your current setting before using the defaults option. Good Luck and again use caution.

                                share|improve this answer

                                • 1

                                  Good notice! Indeed.
                                  – yulian
                                  Mar 4 at 10:13

                                up vote
                                0
                                down vote

                                up vote
                                0
                                down vote

                                In Mint 17.3 (KDE64), I ended up going to the settings menu and selected repositories. Trying many of the options since ‘Fix broken packages’ did not work as such. I used the restore default settings option. After which the system automatically had performed an update. Once completed it worked..somehow (I’m sure that I had installed something or changed things on my own without knowing or paying attention). Now unless you have SPECIFIC SETTINGS put into place I advise using caution maybe write down or take screenshots of your current setting before using the defaults option. Good Luck and again use caution.

                                share|improve this answer

                                In Mint 17.3 (KDE64), I ended up going to the settings menu and selected repositories. Trying many of the options since ‘Fix broken packages’ did not work as such. I used the restore default settings option. After which the system automatically had performed an update. Once completed it worked..somehow (I’m sure that I had installed something or changed things on my own without knowing or paying attention). Now unless you have SPECIFIC SETTINGS put into place I advise using caution maybe write down or take screenshots of your current setting before using the defaults option. Good Luck and again use caution.

                                share|improve this answer

                                share|improve this answer

                                share|improve this answer

                                answered Feb 25 at 4:29

                                Sam

                                1

                                1

                                • 1

                                  Good notice! Indeed.
                                  – yulian
                                  Mar 4 at 10:13

                                • 1

                                  Good notice! Indeed.
                                  – yulian
                                  Mar 4 at 10:13

                                1

                                1

                                Good notice! Indeed.
                                – yulian
                                Mar 4 at 10:13

                                Good notice! Indeed.
                                – yulian
                                Mar 4 at 10:13

                                up vote
                                0
                                down vote

                                You can also try this:

                                • rm /var/lib/apt/lists/lock
                                • rm /var/cache/apt/archives/lock
                                • rm /var/lib/dpkg/lock
                                share|improve this answer

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

                                  up vote
                                  0
                                  down vote

                                  You can also try this:

                                  • rm /var/lib/apt/lists/lock
                                  • rm /var/cache/apt/archives/lock
                                  • rm /var/lib/dpkg/lock
                                  share|improve this answer

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

                                    up vote
                                    0
                                    down vote

                                    up vote
                                    0
                                    down vote

                                    You can also try this:

                                    • rm /var/lib/apt/lists/lock
                                    • rm /var/cache/apt/archives/lock
                                    • rm /var/lib/dpkg/lock
                                    share|improve this answer

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

                                    You can also try this:

                                    • rm /var/lib/apt/lists/lock
                                    • rm /var/cache/apt/archives/lock
                                    • rm /var/lib/dpkg/lock
                                    share|improve this answer

                                    New contributor
                                    Lovish 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 answer

                                    share|improve this answer

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

                                    answered Nov 30 at 21:00

                                    Lovish

                                    12

                                    12

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

                                    New contributor

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

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

                                        draft saved
                                        draft discarded

                                        Thanks for contributing an answer to Unix & Linux Stack Exchange!

                                        • 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%2funix.stackexchange.com%2fquestions%2f198869%2fsynaptic-package-manager-could-not-apply-changes-fix-broken-packages-first%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

                                        Related Post

                                        Leave a Reply

                                        Your email address will not be published. Required fields are marked *