Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Ubuntu: uninstall/purge doesn't work #80

Closed
rmoriz opened this issue May 13, 2015 · 1 comment
Closed

Ubuntu: uninstall/purge doesn't work #80

rmoriz opened this issue May 13, 2015 · 1 comment

Comments

@rmoriz
Copy link

rmoriz commented May 13, 2015

root@default-ubuntu-1404:~# apt-get install td-agent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  td-agent
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/61.1 MB of archives.
After this operation, 212 MB of additional disk space will be used.
Selecting previously unselected package td-agent.
(Reading database ... 53465 files and directories currently installed.)
Preparing to unpack .../td-agent_2.2.0-0_amd64.deb ...
Unpacking td-agent (2.2.0-0) ...
Setting up td-agent (2.2.0-0) ...
Installing default conffile /etc/td-agent/td-agent.conf ...
 * Starting td-agent  td-agent                                                                            [ OK ] 
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...


root@default-ubuntu-1404:~# apt-get purge td-agent 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  td-agent*
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 212 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 73265 files and directories currently installed.)
Removing td-agent (2.2.0-0) ...
 * Stopping td-agent td-agent                                                                             [ OK ] 
Purging configuration files for td-agent (2.2.0-0) ...
update-rc.d: /etc/init.d/td-agent exists during rc.d purge (use -f to force)
dpkg: error processing package td-agent (--purge):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
 td-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
@repeatedly
Copy link
Contributor

Sorry I missed this PR because we have already moved to omnibus-td-agent: https://github.com/treasure-data/td-agent#note

BTW, I did sudo apt-get purge td-agent with td-agent 2.3.1 and no errors.
I hope this is fixed with latest version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants