[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to remove pakages and then install new...!



Hello All,

          I am receiving error when i un-install the apache2 pakage ,
as i have given the following command i.e



debian:/home/neenix# apt-get remove apache2

Reading Package Lists... Done
Building Dependency Tree... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.31-3) ...
/var/lib/dpkg/info/apache.postinst: line 12:
/usr/share/apache/postinst.common: No such file or directory
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache
E: Sub-process /usr/bin/dpkg returned an error code (1)


also when i want to install its fresh copy as the old wont work i get
followin errors...i.e

debian:/home/neenix# apt-get install apache2

Reading Package Lists... Done
Building Dependency Tree... Done
Package apache2 is a virtual package provided by:
  apache2-mpm-worker 2.0.49-1
  apache2-mpm-threadpool 2.0.49-1
  apache2-mpm-prefork 2.0.49-1
  apache2-mpm-perchild 2.0.49-1
You should explicitly select one to install.
E: Package apache2 has no installation candidate

i am halted with this problem plz solve it.

regards,

-- 
Nayyar Ahmad

Lecturer
Faculty Of Computer Science,
Institute Of Management Sciences,
Hayat Abad Peshawar , Pakistan.
Office : 92-091-9217404 , 9217452
Cell     :  92-0333-9139461



Reply to: