Issue with Hobbit Client package

Derek Broughton derek at pointerstop.ca
Thu Aug 27 19:18:18 UTC 2009


Chris Larson wrote:

> Some of my Ubuntu 6.06 systems did not properly install the hobbit-client
> package. Ubuntu606-hobbit-client_4.2.0-1_i386.deb is the package that I
> have used. Most of the systems work fine, but some did not install the
> client properly.
> 
> Every time these systems are rebooted, the hobbit client is not configured
> and it asks to configure the servers is /etc/default/hobbit-client. This
> also occurs when updating packages.
> 
> I have been unable to remove the package as I want to upgrade to the
> xymon-client. This is the error message:
> 
> Reading package lists... Done
> Building dependency tree... Done
> The following packages will be REMOVED:
>   hobbit-client
> 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 1848kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 123836 files and directories currently installed.)
> Removing hobbit-client ...
> Please configure HOBBITSERVERS in /etc/default/hobbit-client
> invoke-rc.d: initscript hobbit-client, action "stop" failed.
> dpkg: error processing hobbit-client (--remove):
>  subprocess pre-removal script returned error exit status 1
> Please configure HOBBITSERVERS in /etc/default/hobbit-client
> invoke-rc.d: initscript hobbit-client, action "start" failed.
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  hobbit-client
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Any idea how I can remove this client?

Delete /var/lib/dpkg/info/hobbit-client.postinst before purging (it hasn't 
managed to finish installing, so it can't remove).

For a cleaner method, you might try "sudo dpkg-reconfigure hobbit-client"
first, followed by removing it as above, but I can't guarantee that will
work.

-- 
derek






More information about the ubuntu-users mailing list