Skip to content

Developer: Reset EGG installation

wizonesolutions edited this page Aug 1, 2012 · 5 revisions

Sometimes, you may want to clean up your Archipel agent installation. Easy Install is cool for installing, but not for uninstalling. You need to do some stuff manually. Here is the procedure

Flush the pth file

  • Open easy-install.pth (usually under /usr/lib/python2.X/site-packages or /usr/local/lib/python2.X/dist-packages)
  • Remove all lines containing archipel word

Cleanup eggs

Launch the command

    rm -rf /usr/lib/python2.X/site-packages/archipel*

(On Ubuntu: rm -rf /usr/local/lib/python2.X/dist-packages/archipel*)

Reinstall the agent

If you want to reinstall the beta version (published Eggs) do:

    easy_install archipel-agent

If you want to reinstall the agent from source or nightlies, do:

    cd /path/to/agent/nighly/or/source
    ./buildAgent -d

Restart Archipel

    /etc/init.d/archipel restart

All your configuration and virtual machine will be kept, no worries.

Clone this wiki locally