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

Moving init script from one package to another



As part of the shorewall package reorganization, the
/etc/init.d/shorewall init script (and the symlinks to it) has moved
from the shorewall-common package to the shorewall package.  However,
after the upgrade of shorewall-common (which has become a dummy
package), and the installation of the new shorewall binary package, it
is not possible to purge the shorewall-common package.

The error I get is this:

Purging configuration files for shorewall-common ...
update-rc.d: /etc/init.d/shorewall exists during rc.d purge (use -f to force)
dpkg: error processing shorewall-common (--remove):

Is there some magic I can put into a prerm/postrm script that will
handle that?

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: