Error when installing mailutils on Ubuntu 16.04
![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
1
down vote
favorite
When we try to install, remove, update mailutils we always have same error with status 'half-installed'. Can help me?
The output of:
sudo apt install mailutils
is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mailutils is already the newest version (1:2.99.99-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. 1 not fully installed or removed.
Need to get 0 B/90.4 kB of archives. After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package patch (--configure): package patch is not ready for configuration cannot configure (current status 'half-installed')
Errors were encountered while processing: patch
E: Sub-process /usr/bin/dpkg returned an error code (1)
software-installation dpkg mailutils
add a comment |Â
up vote
1
down vote
favorite
When we try to install, remove, update mailutils we always have same error with status 'half-installed'. Can help me?
The output of:
sudo apt install mailutils
is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mailutils is already the newest version (1:2.99.99-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. 1 not fully installed or removed.
Need to get 0 B/90.4 kB of archives. After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package patch (--configure): package patch is not ready for configuration cannot configure (current status 'half-installed')
Errors were encountered while processing: patch
E: Sub-process /usr/bin/dpkg returned an error code (1)
software-installation dpkg mailutils
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When we try to install, remove, update mailutils we always have same error with status 'half-installed'. Can help me?
The output of:
sudo apt install mailutils
is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mailutils is already the newest version (1:2.99.99-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. 1 not fully installed or removed.
Need to get 0 B/90.4 kB of archives. After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package patch (--configure): package patch is not ready for configuration cannot configure (current status 'half-installed')
Errors were encountered while processing: patch
E: Sub-process /usr/bin/dpkg returned an error code (1)
software-installation dpkg mailutils
When we try to install, remove, update mailutils we always have same error with status 'half-installed'. Can help me?
The output of:
sudo apt install mailutils
is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mailutils is already the newest version (1:2.99.99-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. 1 not fully installed or removed.
Need to get 0 B/90.4 kB of archives. After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package patch (--configure): package patch is not ready for configuration cannot configure (current status 'half-installed')
Errors were encountered while processing: patch
E: Sub-process /usr/bin/dpkg returned an error code (1)
software-installation dpkg mailutils
edited Apr 23 at 16:13
NerdOfLinux
1,499830
1,499830
asked Apr 23 at 15:28
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
áõÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
82
82
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20
add a comment |Â
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
In this case, I would try the following to attempt a repair:
First, try using apt
itself to repair the package.
sudo apt install -f
Then, try re-installing the package:
sudo apt install --reinstall mailutils
If this fails, the next step is to go one level below apt
, and use dpkg
:
sudo dpkg --configure -a
If all else fails, try removing with apt
, and then re-installing:
sudo apt purge mailutils
and be sure to back up any configs you want to keep, just in case.
If even that doesn't work, try dpkg
again:
sudo dpkg --remove mailutils
followed by apt
:
sudo apt install mailutils
Should that not work, you may have a corrupted .deb
file cached, or a broken dependency so run:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
and then re-start all the steps.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
In this case, I would try the following to attempt a repair:
First, try using apt
itself to repair the package.
sudo apt install -f
Then, try re-installing the package:
sudo apt install --reinstall mailutils
If this fails, the next step is to go one level below apt
, and use dpkg
:
sudo dpkg --configure -a
If all else fails, try removing with apt
, and then re-installing:
sudo apt purge mailutils
and be sure to back up any configs you want to keep, just in case.
If even that doesn't work, try dpkg
again:
sudo dpkg --remove mailutils
followed by apt
:
sudo apt install mailutils
Should that not work, you may have a corrupted .deb
file cached, or a broken dependency so run:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
and then re-start all the steps.
add a comment |Â
up vote
0
down vote
accepted
In this case, I would try the following to attempt a repair:
First, try using apt
itself to repair the package.
sudo apt install -f
Then, try re-installing the package:
sudo apt install --reinstall mailutils
If this fails, the next step is to go one level below apt
, and use dpkg
:
sudo dpkg --configure -a
If all else fails, try removing with apt
, and then re-installing:
sudo apt purge mailutils
and be sure to back up any configs you want to keep, just in case.
If even that doesn't work, try dpkg
again:
sudo dpkg --remove mailutils
followed by apt
:
sudo apt install mailutils
Should that not work, you may have a corrupted .deb
file cached, or a broken dependency so run:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
and then re-start all the steps.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
In this case, I would try the following to attempt a repair:
First, try using apt
itself to repair the package.
sudo apt install -f
Then, try re-installing the package:
sudo apt install --reinstall mailutils
If this fails, the next step is to go one level below apt
, and use dpkg
:
sudo dpkg --configure -a
If all else fails, try removing with apt
, and then re-installing:
sudo apt purge mailutils
and be sure to back up any configs you want to keep, just in case.
If even that doesn't work, try dpkg
again:
sudo dpkg --remove mailutils
followed by apt
:
sudo apt install mailutils
Should that not work, you may have a corrupted .deb
file cached, or a broken dependency so run:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
and then re-start all the steps.
In this case, I would try the following to attempt a repair:
First, try using apt
itself to repair the package.
sudo apt install -f
Then, try re-installing the package:
sudo apt install --reinstall mailutils
If this fails, the next step is to go one level below apt
, and use dpkg
:
sudo dpkg --configure -a
If all else fails, try removing with apt
, and then re-installing:
sudo apt purge mailutils
and be sure to back up any configs you want to keep, just in case.
If even that doesn't work, try dpkg
again:
sudo dpkg --remove mailutils
followed by apt
:
sudo apt install mailutils
Should that not work, you may have a corrupted .deb
file cached, or a broken dependency so run:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
and then re-start all the steps.
answered Apr 23 at 15:36
NerdOfLinux
1,499830
1,499830
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%2f1027497%2ferror-when-installing-mailutils-on-ubuntu-16-04%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
first, you need to run 'sudo apt-get update && sudo apt-get upgrade'
â Philippe Delteil
Apr 23 at 15:33
OP said the problem occurs when they install, remove, or update
â NerdOfLinux
Apr 23 at 15:41
Thank you! We used this commands: sudo apt clean sudo apt autoclean sudo apt autoremove And next command fix our problem sudo apt-get update && sudo apt-get upgrade
â Ã¡ÃµÃÂóÃÂù ÃÂýðÃÂþûÃÂùþòøÃÂ
Apr 23 at 17:20