Re: remove or install a broken package
Hi,
* Bill Moseley <moseley@hank.org> [021120 10:25]:
> Haste make waste, as it always turns out.
>
> I installed ipmasq and iptables. I then tried to remove both packages but
> ipmasq choked:
>
> # apt-get remove ipmasq
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
> ipmasq
> 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> 2 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 455kB will be freed.
> Do you want to continue? [Y/n] y
> (Reading database ... 10517 files and directories currently installed.)
> Removing ipmasq ...
> /var/lib/dpkg/info/ipmasq.prerm: /etc/init.d/ipmasq: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I think this is may be the important line.
Did you rm it?
Try
touch /etc/init.d/ipmasq
and then
apt-get remove ipmasq
again.
HTH,
Nick.
--
Debian testing/unstable
Linux onefish 2.4.19-lavienx #1 Sat Sep 21 19:58:12 EST 2002
i686 unknown unknown GNU/Linux
Reply to: