systemd-shim Doesn't Remove after rename this file org.freedesktop.systemd1.s‌​ervice.bak












1















Removing systemd-shim (6-2bzr1) ... 
dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
dpkg: error processing package systemd-shim (--remove):
subprocess installed pre-removal script returned error exit status 1
dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
systemd-shim
E: Sub-process /usr/bin/dpkg returned an error code (1)


Here below the mess situation





'like_so_'sudo dpkg -s systemd-shim
Package: systemd-shim
Status: deinstall ok half-configured
Priority: extra
Section: admin
Installed-Size: 80
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: armhf
Version: 6-2bzr1
Config-Version: 6-2bzr1
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3)
Suggests: pm-utils
Conffiles:
/etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf 8a52da330180c68389673f0301890ad4
Description: shim for systemd
This package emulates the systemd function that are required to run
the systemd helpers without using the init service
Original-Maintainer: Steve Langasek <vorlon@debian.org>


How do I continue my apt-get dist-update -f?



Thanks










share|improve this question





























    1















    Removing systemd-shim (6-2bzr1) ... 
    dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
    dpkg: error processing package systemd-shim (--remove):
    subprocess installed pre-removal script returned error exit status 1
    dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
    dpkg: error while cleaning up:
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    systemd-shim
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Here below the mess situation





    'like_so_'sudo dpkg -s systemd-shim
    Package: systemd-shim
    Status: deinstall ok half-configured
    Priority: extra
    Section: admin
    Installed-Size: 80
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Architecture: armhf
    Version: 6-2bzr1
    Config-Version: 6-2bzr1
    Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3)
    Suggests: pm-utils
    Conffiles:
    /etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf 8a52da330180c68389673f0301890ad4
    Description: shim for systemd
    This package emulates the systemd function that are required to run
    the systemd helpers without using the init service
    Original-Maintainer: Steve Langasek <vorlon@debian.org>


    How do I continue my apt-get dist-update -f?



    Thanks










    share|improve this question



























      1












      1








      1


      1






      Removing systemd-shim (6-2bzr1) ... 
      dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
      dpkg: error processing package systemd-shim (--remove):
      subprocess installed pre-removal script returned error exit status 1
      dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
      dpkg: error while cleaning up:
      subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
      systemd-shim
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Here below the mess situation





      'like_so_'sudo dpkg -s systemd-shim
      Package: systemd-shim
      Status: deinstall ok half-configured
      Priority: extra
      Section: admin
      Installed-Size: 80
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Architecture: armhf
      Version: 6-2bzr1
      Config-Version: 6-2bzr1
      Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3)
      Suggests: pm-utils
      Conffiles:
      /etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf 8a52da330180c68389673f0301890ad4
      Description: shim for systemd
      This package emulates the systemd function that are required to run
      the systemd helpers without using the init service
      Original-Maintainer: Steve Langasek <vorlon@debian.org>


      How do I continue my apt-get dist-update -f?



      Thanks










      share|improve this question
















      Removing systemd-shim (6-2bzr1) ... 
      dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
      dpkg: error processing package systemd-shim (--remove):
      subprocess installed pre-removal script returned error exit status 1
      dpkg-maintscript-helper: error: old-conffile 'debian/systemd-shim/etc/dbus-1/system.d/org.freedesktop.systemd1.conf' is not an absolute path
      dpkg: error while cleaning up:
      subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
      systemd-shim
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Here below the mess situation





      'like_so_'sudo dpkg -s systemd-shim
      Package: systemd-shim
      Status: deinstall ok half-configured
      Priority: extra
      Section: admin
      Installed-Size: 80
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Architecture: armhf
      Version: 6-2bzr1
      Config-Version: 6-2bzr1
      Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3)
      Suggests: pm-utils
      Conffiles:
      /etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf 8a52da330180c68389673f0301890ad4
      Description: shim for systemd
      This package emulates the systemd function that are required to run
      the systemd helpers without using the init service
      Original-Maintainer: Steve Langasek <vorlon@debian.org>


      How do I continue my apt-get dist-update -f?



      Thanks







      dpkg






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 10 '17 at 20:02









      Timo Kluck

      5,29811318




      5,29811318










      asked Jun 10 '17 at 19:41









      perfeitoanperfeitoan

      112




      112






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I had similar issue. My solution is similar to presented here http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/



          I had to remove systemd-shim package entry from /var/lib/dpkg/status



          After that sudo apt-get install -f started working






          share|improve this answer








          New contributor




          jmmk 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: "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%2f924143%2fsystemd-shim-doesnt-remove-after-rename-this-file-org-freedesktop-systemd1-se%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I had similar issue. My solution is similar to presented here http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/



            I had to remove systemd-shim package entry from /var/lib/dpkg/status



            After that sudo apt-get install -f started working






            share|improve this answer








            New contributor




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

























              0














              I had similar issue. My solution is similar to presented here http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/



              I had to remove systemd-shim package entry from /var/lib/dpkg/status



              After that sudo apt-get install -f started working






              share|improve this answer








              New contributor




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























                0












                0








                0







                I had similar issue. My solution is similar to presented here http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/



                I had to remove systemd-shim package entry from /var/lib/dpkg/status



                After that sudo apt-get install -f started working






                share|improve this answer








                New contributor




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










                I had similar issue. My solution is similar to presented here http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/



                I had to remove systemd-shim package entry from /var/lib/dpkg/status



                After that sudo apt-get install -f started working







                share|improve this answer








                New contributor




                jmmk 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




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









                answered 4 hours ago









                jmmkjmmk

                1




                1




                New contributor




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





                New contributor





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






                jmmk 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 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%2f924143%2fsystemd-shim-doesnt-remove-after-rename-this-file-org-freedesktop-systemd1-se%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

                    GameSpot

                    connect to host localhost port 22: Connection refused

                    Getting a Wifi WPA2 wifi connection