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

Clash Royale CLAN TAG#URR8PPP 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
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
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