On Sat, Jul 11, 2026 at 06:41:36AM +0200, john doe wrote: > On 7/11/26 04:11, 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. > > > > Thanks! > > > > # 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. > > dpkg: error processing package vrfydmn (--purge): > > installed vrfydmn package pre-removal script subprocess returned error > > exit status 1 Starting vrfydmn > > You must specify at least one of --file, --ldap or --sql > > invoke-rc.d: initscript vrfydmn, action "start" failed. > > dpkg: error while cleaning up: > > installed vrfydmn package post-installation script subprocess returned > > error exit status 1 Removing tuptime (5.2.4) ... > > Stopping tuptime.... > > ERROR:root:Check DB path "/var/lib/tuptime": [Errno 13] Permission > > denied: '/var/lib/tuptime' invoke-rc.d: initscript tuptime, action "stop" > > failed. dpkg: error processing package tuptime (--purge): > > installed tuptime package pre-removal script subprocess returned error > > exit status 1 Errors were encountered while processing: > > vrfydmn > > tuptime > > Are you running as root, if no, please do so.
OP /is/ running as root: the error message would be different otherwise. > Also try: > > $ apt-get --autoremove purge <PKG-NAME> No. Autoremove is to remove packages which aren't "needed" anymore because they have been installed as dependencies of other packages that have been uninstalled in the meantime (for that, the tool has to have a notion of "this package has been installed manually vs. that one has been pulled in as dependency", which apt-get has but dpkg lacks, BTW). Cheers -- t
signature.asc
Description: PGP signature

