On Sat, 11 Jul 2026 06:59:14 +0200
<[email protected]> wrote:
> On Fri, Jul 10, 2026 at 10:11:58PM -0400, David Niklas wrote:
> > Hello,
> > I installed vrfydmn and tuptime, but they failed to configure. I don't
> > have to have them, so I decided to remove them, but I cannot uninstall
> > them either. I tried with apt and with dpkg --force-all.
> > 
> > A log is included below.
> > 
> > If someone could tell me how to tell the system that they're not
> > installed, I could remove them by hand.
> > 
> > Or maybe you have an idea how to uninstall them.  
> 
> If you look closely at the log below...
> 
> > # dpkg --purge --force-all vrfydmn tuptime
> > (Reading database ... 2636897 files and directories currently
> > installed.) Removing vrfydmn (0.11.0-4) ...
> > /etc/init.d/vrfydmn: line 46: stop_daemon: command not found
> > invoke-rc.d: initscript vrfydmn, action "stop" failed.  
> 
> ... /etc/init.d/vrfydmn is failing...
> 
> > dpkg: error processing package vrfydmn (--purge):
> >  installed vrfydmn package pre-removal script subprocess returned
> > error  
> 
> ...which is invoked by the package pre-remove script. Thus removal
> fails.
> 
> You find that pre-remove script here:
> 
>   /var/lib/dpkg/info/<your package>.prerm
> 
> so in your case it is
> 
>   /var/lib/dpkg/info/vrfydmn.prerm
> 
> One way to get out of that is to insert at the top of that script
> an "exit 0", which makes the script always succeed, then try your
> 
>   dpkg --purge vrfydmn
> 
> (same for your other package).
> 
> BTW: if anyone knows a more elegant "knob" for that, I'd like to
> know :-)
> 
> Cheers

Thanks! That worked!

Reply via email to