Avahi-dnsconfd new pre-removal script throws an error when updating

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








up vote
6
down vote

favorite
4












I am using MATE 16.04 on an ASUS X550LA with 12 GB RAM, single user, FIREFOX 59.0.1 64 bit with DuckDuckGo.



Running Ubuntu Software Updater gave me following:-



E: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb: subprocess new pre-removal script returned error exit status 1


After running Synaptic Package Manager to update, I also keep getting this message.



There do not appear to any problems with running any applications or in using the internet.



I shut down completely and did a cold reboot, but no change.



Can anyone help me resolve this and explain what the problem is please?










share|improve this question



















  • 1




    Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
    – hal_v
    Mar 23 at 22:40











  • Same problem here.
    – Paulo Coghi
    Apr 5 at 20:10










  • Also here during 'apt update'
    – Nelstaar
    Apr 6 at 6:41






  • 1




    Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
    – Doubidou
    Apr 6 at 11:39















up vote
6
down vote

favorite
4












I am using MATE 16.04 on an ASUS X550LA with 12 GB RAM, single user, FIREFOX 59.0.1 64 bit with DuckDuckGo.



Running Ubuntu Software Updater gave me following:-



E: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb: subprocess new pre-removal script returned error exit status 1


After running Synaptic Package Manager to update, I also keep getting this message.



There do not appear to any problems with running any applications or in using the internet.



I shut down completely and did a cold reboot, but no change.



Can anyone help me resolve this and explain what the problem is please?










share|improve this question



















  • 1




    Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
    – hal_v
    Mar 23 at 22:40











  • Same problem here.
    – Paulo Coghi
    Apr 5 at 20:10










  • Also here during 'apt update'
    – Nelstaar
    Apr 6 at 6:41






  • 1




    Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
    – Doubidou
    Apr 6 at 11:39













up vote
6
down vote

favorite
4









up vote
6
down vote

favorite
4






4





I am using MATE 16.04 on an ASUS X550LA with 12 GB RAM, single user, FIREFOX 59.0.1 64 bit with DuckDuckGo.



Running Ubuntu Software Updater gave me following:-



E: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb: subprocess new pre-removal script returned error exit status 1


After running Synaptic Package Manager to update, I also keep getting this message.



There do not appear to any problems with running any applications or in using the internet.



I shut down completely and did a cold reboot, but no change.



Can anyone help me resolve this and explain what the problem is please?










share|improve this question















I am using MATE 16.04 on an ASUS X550LA with 12 GB RAM, single user, FIREFOX 59.0.1 64 bit with DuckDuckGo.



Running Ubuntu Software Updater gave me following:-



E: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb: subprocess new pre-removal script returned error exit status 1


After running Synaptic Package Manager to update, I also keep getting this message.



There do not appear to any problems with running any applications or in using the internet.



I shut down completely and did a cold reboot, but no change.



Can anyone help me resolve this and explain what the problem is please?







apt ubuntu-mate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 5 at 19:42









Zanna

48k13119228




48k13119228










asked Mar 22 at 23:36









hal_v

7813




7813







  • 1




    Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
    – hal_v
    Mar 23 at 22:40











  • Same problem here.
    – Paulo Coghi
    Apr 5 at 20:10










  • Also here during 'apt update'
    – Nelstaar
    Apr 6 at 6:41






  • 1




    Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
    – Doubidou
    Apr 6 at 11:39













  • 1




    Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
    – hal_v
    Mar 23 at 22:40











  • Same problem here.
    – Paulo Coghi
    Apr 5 at 20:10










  • Also here during 'apt update'
    – Nelstaar
    Apr 6 at 6:41






  • 1




    Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
    – Doubidou
    Apr 6 at 11:39








1




1




Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
– hal_v
Mar 23 at 22:40





Command line :-dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Job for avahi-daemon.socket canceled. dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:
– hal_v
Mar 23 at 22:40













Same problem here.
– Paulo Coghi
Apr 5 at 20:10




Same problem here.
– Paulo Coghi
Apr 5 at 20:10












Also here during 'apt update'
– Nelstaar
Apr 6 at 6:41




Also here during 'apt update'
– Nelstaar
Apr 6 at 6:41




1




1




Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
– Doubidou
Apr 6 at 11:39





Same problem on Ubuntu Mate 16.04 :( EDIT: resolved with my answer below
– Doubidou
Apr 6 at 11:39











1 Answer
1






active

oldest

votes

















up vote
11
down vote



accepted










From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620



sudo systemctl disable avahi-daemon
sudo apt-get upgrade
sudo systemctl enable avahi-daemon





share|improve this answer






















    Your Answer







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

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

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1018391%2favahi-dnsconfd-new-pre-removal-script-throws-an-error-when-updating%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    11
    down vote



    accepted










    From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620



    sudo systemctl disable avahi-daemon
    sudo apt-get upgrade
    sudo systemctl enable avahi-daemon





    share|improve this answer


























      up vote
      11
      down vote



      accepted










      From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620



      sudo systemctl disable avahi-daemon
      sudo apt-get upgrade
      sudo systemctl enable avahi-daemon





      share|improve this answer
























        up vote
        11
        down vote



        accepted







        up vote
        11
        down vote



        accepted






        From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620



        sudo systemctl disable avahi-daemon
        sudo apt-get upgrade
        sudo systemctl enable avahi-daemon





        share|improve this answer














        From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768620



        sudo systemctl disable avahi-daemon
        sudo apt-get upgrade
        sudo systemctl enable avahi-daemon






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 9 at 6:39

























        answered Apr 6 at 11:41









        Doubidou

        22615




        22615



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018391%2favahi-dnsconfd-new-pre-removal-script-throws-an-error-when-updating%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491