PDA

View Full Version : [SOLVED] problem reinstalling eclipse: missing /usr/lib/eclipse



noahlt
January 19th, 2010, 08:32 PM
After uninstalling Eclipse, I deleted /usr/lib/eclipse. When I reinstalled Eclipse, apt-get did not reinstall /usr/lib/eclipse.

In short:


$ sudo apt-get remove eclipse
...
$ sudo rm -rf /usr/lib/eclipse
$ rm -rf ~/.eclipse
$ rm -rf ~/workspace
$ sudo apt-get install eclipse
...
$ eclipse
/usr/bin/eclipse: 7: /usr/lib/eclipse/eclipse: not found


How do I get my /usr/lib/eclipse back?

noahlt
January 20th, 2010, 04:55 AM
Solved it -- the other eclipse packages weren't getting removed, so I ran this:


$ sudo apt-get remove eclipse
...
$ sudo apt-get autoremove
...
$ sudo apt-get install eclipse
...

and now eclipse works.