collectd E: Sub-process /usr/bin/dpkg returned an error code (1)

Asked by Rajinder Sandhu, Bangalore

Dear Sir,
after upgrading to intrepid ubuntu 8.10 the following error is noticed.
 how to solve the problem ?
thanks in advance
Rajinder

dads@dadz-desktop:~$ sudo apt-get upgrade
sudo: unable to resolve host dadz-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up collectd (4.4.1-1ubuntu1) ...
Starting statistics collection and monitoring daemon: collectdinvoke-rc.d: initscript collectd, action "start" failed.
dpkg: error processing collectd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 collectd
E: Sub-process /usr/bin/dpkg returned an error code (1)
dads@dadz-desktop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
Rajinder Sandhu, Bangalore
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

it seems like this: https://answers.launchpad.net/ubuntu/+faq/93

Hope his helps

Revision history for this message
Rajinder Sandhu, Bangalore (sandy744-breakthru) said :
#2

Dear sir, link is for if sudo is not working but my sudo and update manager all are working fine only this error is showning and ktorrent is not working in intrepid after doing the update, whereas after upgrading to intrepid all the programs were working.

Revision history for this message
Rajinder Sandhu, Bangalore (sandy744-breakthru) said :
#3

including ktorrent with my pending downloads, now pending downloads are shown in the ktorrent but it is not downloading it is showning stalled...any help will be appreciated.
Thanks in advance
Rajinder

Revision history for this message
Rajinder Sandhu, Bangalore (sandy744-breakthru) said :
#4

dads@dadz-desktop:~$ sudo dpkg --configure -a
Setting up collectd (4.4.1-1ubuntu1) ...
Starting statistics collection and monitoring daemon: collectdinvoke-rc.d: initscript collectd, action "start" failed.
dpkg: error processing collectd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 collectd
dads@dadz-desktop:~$

Revision history for this message
Rajinder Sandhu, Bangalore (sandy744-breakthru) said :
#5

Chris Coulson <email address hidden>

This isn't a dpkg bug, so I'm closing that task. I don't quite
understand the relevance of the ktorrent crash report. If you're having
separate issues with ktorrent, please open a separate report for that.

Anyway, could you please try running the following:

sudo invoke-rc.d collectd stop
sudo dpkg --configure collectd

This should correct your issue

yes the problem is fixed with the above mentioned suggestion
thanks Chris Coulson <email address hidden>