Avahi-dnsconfd new pre-removal script throws an error when updating
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
6
down vote
favorite
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
add a comment |Â
up vote
6
down vote
favorite
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
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
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
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
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
apt ubuntu-mate
edited Apr 5 at 19:42
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
edited Apr 9 at 6:39
answered Apr 6 at 11:41
![](https://i.stack.imgur.com/QrxXB.png?s=32&g=1)
![](https://i.stack.imgur.com/QrxXB.png?s=32&g=1)
Doubidou
22615
22615
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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