Apache2 installation error
![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
I am getting the following errors while installing apache2
on Ubuntu .
dpkg: unrecoverable fatal error, aborting:
unknown group 'mlocate' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I think , I've messed up with apache-data .
14.04 server apache2
add a comment |Â
up vote
1
down vote
favorite
I am getting the following errors while installing apache2
on Ubuntu .
dpkg: unrecoverable fatal error, aborting:
unknown group 'mlocate' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I think , I've messed up with apache-data .
14.04 server apache2
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Please run and post the output ofsudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.
â AlexP
May 28 at 8:51
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am getting the following errors while installing apache2
on Ubuntu .
dpkg: unrecoverable fatal error, aborting:
unknown group 'mlocate' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I think , I've messed up with apache-data .
14.04 server apache2
I am getting the following errors while installing apache2
on Ubuntu .
dpkg: unrecoverable fatal error, aborting:
unknown group 'mlocate' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I think , I've messed up with apache-data .
14.04 server apache2
edited May 28 at 7:56
![](https://i.stack.imgur.com/ubzwC.png?s=32&g=1)
![](https://i.stack.imgur.com/ubzwC.png?s=32&g=1)
Kulfy
927423
927423
asked May 28 at 7:47
![](https://lh3.googleusercontent.com/-aZ_D5skNj6c/AAAAAAAAAAI/AAAAAAAAAA0/Ow6Hq6c40oo/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-aZ_D5skNj6c/AAAAAAAAAAI/AAAAAAAAAA0/Ow6Hq6c40oo/photo.jpg?sz=32)
Raja Hassan
63
63
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Please run and post the output ofsudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.
â AlexP
May 28 at 8:51
add a comment |Â
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Please run and post the output ofsudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.
â AlexP
May 28 at 8:51
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Please run and post the output of
sudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.â AlexP
May 28 at 8:51
Please run and post the output of
sudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.â AlexP
May 28 at 8:51
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Well I think you should uninstall it.
Type the following command in you terminal to remove all the packages associated to it
and after re-install it "it takes less than a 5 minutes".
sudo apt-get purge apache2
sudo apt-get autoremove
sudo apt-get install apache2
In case you wanna go ahead check out this link: install-apache-mysql-php-on Ubuntu. Am currently relying on it to a little bit how these guys are configured and debugged. It will do you good I believe.
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
add a comment |Â
up vote
0
down vote
Googling for the error message comes up with this, which suggests this is a dpkg problem rather than an apache problem. Further googling revelas that mlocate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output. See also updatedb. In other words, this is looks to be a database problem.
Adding the mlocate group (using the 'addgroup' command may help (although this should not be necessary on most Ubuntu versions) and have a look at https://linux.die.net/man/8/updatedb. This may point you in the right direction.
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Well I think you should uninstall it.
Type the following command in you terminal to remove all the packages associated to it
and after re-install it "it takes less than a 5 minutes".
sudo apt-get purge apache2
sudo apt-get autoremove
sudo apt-get install apache2
In case you wanna go ahead check out this link: install-apache-mysql-php-on Ubuntu. Am currently relying on it to a little bit how these guys are configured and debugged. It will do you good I believe.
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
add a comment |Â
up vote
1
down vote
Well I think you should uninstall it.
Type the following command in you terminal to remove all the packages associated to it
and after re-install it "it takes less than a 5 minutes".
sudo apt-get purge apache2
sudo apt-get autoremove
sudo apt-get install apache2
In case you wanna go ahead check out this link: install-apache-mysql-php-on Ubuntu. Am currently relying on it to a little bit how these guys are configured and debugged. It will do you good I believe.
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Well I think you should uninstall it.
Type the following command in you terminal to remove all the packages associated to it
and after re-install it "it takes less than a 5 minutes".
sudo apt-get purge apache2
sudo apt-get autoremove
sudo apt-get install apache2
In case you wanna go ahead check out this link: install-apache-mysql-php-on Ubuntu. Am currently relying on it to a little bit how these guys are configured and debugged. It will do you good I believe.
Well I think you should uninstall it.
Type the following command in you terminal to remove all the packages associated to it
and after re-install it "it takes less than a 5 minutes".
sudo apt-get purge apache2
sudo apt-get autoremove
sudo apt-get install apache2
In case you wanna go ahead check out this link: install-apache-mysql-php-on Ubuntu. Am currently relying on it to a little bit how these guys are configured and debugged. It will do you good I believe.
edited May 28 at 10:58
![](https://i.stack.imgur.com/Lrlbx.jpg?s=32&g=1)
![](https://i.stack.imgur.com/Lrlbx.jpg?s=32&g=1)
pa4080
11.8k52255
11.8k52255
answered May 28 at 9:50
Onesmus.A
362
362
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
add a comment |Â
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
both these commands say 'Package ' apache2' is not installed '.
â Raja Hassan
May 28 at 10:30
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
It means apache2 is not installed. What you do, type sudo apt-get install apache2 to install it.
â Onesmus.A
May 28 at 10:54
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
after executing apt-get install apache2 . I get the above error , which I have asked in question.
â Raja Hassan
May 28 at 11:03
add a comment |Â
up vote
0
down vote
Googling for the error message comes up with this, which suggests this is a dpkg problem rather than an apache problem. Further googling revelas that mlocate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output. See also updatedb. In other words, this is looks to be a database problem.
Adding the mlocate group (using the 'addgroup' command may help (although this should not be necessary on most Ubuntu versions) and have a look at https://linux.die.net/man/8/updatedb. This may point you in the right direction.
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
add a comment |Â
up vote
0
down vote
Googling for the error message comes up with this, which suggests this is a dpkg problem rather than an apache problem. Further googling revelas that mlocate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output. See also updatedb. In other words, this is looks to be a database problem.
Adding the mlocate group (using the 'addgroup' command may help (although this should not be necessary on most Ubuntu versions) and have a look at https://linux.die.net/man/8/updatedb. This may point you in the right direction.
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Googling for the error message comes up with this, which suggests this is a dpkg problem rather than an apache problem. Further googling revelas that mlocate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output. See also updatedb. In other words, this is looks to be a database problem.
Adding the mlocate group (using the 'addgroup' command may help (although this should not be necessary on most Ubuntu versions) and have a look at https://linux.die.net/man/8/updatedb. This may point you in the right direction.
Googling for the error message comes up with this, which suggests this is a dpkg problem rather than an apache problem. Further googling revelas that mlocate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output. See also updatedb. In other words, this is looks to be a database problem.
Adding the mlocate group (using the 'addgroup' command may help (although this should not be necessary on most Ubuntu versions) and have a look at https://linux.die.net/man/8/updatedb. This may point you in the right direction.
answered May 28 at 11:22
Frank van Wensveen
1717
1717
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
add a comment |Â
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
sudo sed -i '/mlocate/d' /var/lib/dpkg/statoverride fixed my issue. Thanks all !
â Raja Hassan
May 29 at 5:44
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%2f1041111%2fapache2-installation-error%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
Have anyone faced the same issue before ?
â Raja Hassan
May 28 at 8:29
Please run and post the output of
sudo apt-get update && sudo apt-get --simulate dist-upgrade
. As far as I can tell, Apache has nothing to do with it.â AlexP
May 28 at 8:51