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

apt-get and missing init scripts



I'm in the middle of building a custom squid package (on Sarge).

Long story short, there isn't a /etc/init.d/squid anymore and apt seems to think
there should be. When I run:

apt-get install squid

I get errors like:

apt-get install --reinstall squid
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up squid (2.5.9-10sarge2) ...
update-rc.d: /etc/init.d/squid: file does not exist
invoke-rc.d: unknown initscript, /etc/init.d/squid not found.
dpkg: error processing squid (--configure):
 subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
 squid


I've tried creating a dummy script and apt-get runs it when
I 'apt-get remove squid', but doesn't remove the init script or
replace it when I
apt-get install.

How do I tell apt to overwrite all files on install? That'd work I think.

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/



Reply to: