On 4/6/2013 8:39 AM, Hanspeter Niederstrasser wrote:
> Trying to remove apache2.2-common, I get this error:
>
> $ fink remove apache2.2-common
> Information about 8065 packages read in 1 seconds.
> Reading buildlock packages...
>       All buildlocks accounted for.
> /sw/bin/dpkg-lockwait --remove apache2.2-common
> (Reading database ... 276513 files and directories currently installed.)
> Removing apache2.2-common ...
> No matching service found for "apache2", skipping.
> /sw/bin/dpkg: error processing apache2.2-common (--remove):
>    subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
>    apache2.2-common
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
>
> If I reinstall apache2.2-common, 'daemonic dump' shows an apache2
> service.  When I try the above command, the apache2 service disappears
> from the diagnostic, but the apache2.2-common package stays installed
> with the above error.

It seems to me that the command "daemonic disable apache2" currently at 
the end of PostRmScript for apache2.2-common should be moved to a 
PreRmScript.  In the current situation, all the apache2.2-common files 
have been removed and therefore the daemonic command fails.  If you 
disable the daemon before removing the files, it should probably work.

Hanspeter


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to