应用程序菜单找不到安装的日食

应用程序菜单找不到安装的日食

我只是从公司版本的Eclipse切换到库存Ubuntu版本。

sudo apt-get remove eclipse

我发现我公司的 eclipse 仍然安装着。我猜想它安装在了软件包仓库之外,所以我尝试了:

which eclipse

返回

/usr/bin/eclipse

所以我确认了。Eclipse 的快捷方式仍保留在我的应用程序菜单中,但返回“无法启动应用程序”错误。然后我尝试

sudo apt-get install eclipse

返回成功,但是

which eclipse

没有返回任何内容,并且尝试启动 eclipse 时会出现与未安装 eclipse 时相同的“无法启动应用程序”错误。

如何让 ui/包管理器同意是否/在何处安装 eclipse?如果做不到这一点,我如何确定应用程序菜单试图启动什么,以及如何确定包管理器安装了什么?

编辑:

要求更多输出:

locate eclipse | grep bin/

给出

/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant.bat
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant.cmd
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/antRun
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/antRun.bat
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/antRun.pl
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/antenv.cmd
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/complete-ant-cmd.pl
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/envset.cmd
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/lcp.bat
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/runant.pl
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/runant.py
/other/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/runrc.cmd
/usr/bin/eclipse
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/ant
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/ant.cmd
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/antRun
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/antRun.pl
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/antenv.cmd
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/complete-ant-cmd.pl
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/envset.cmd
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/runant.pl
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/runant.py
/usr/lib/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/runrc.cmd

find /opt /usr/bin /usr/lib /usr/local/ -iname eclipse -type f

给出

/usr/lib/eclipse/eclipse

dpkg -S "bin/eclipse"

给出

eclipse-platform: /usr/bin/eclipse

谢谢您的帮助!

相关内容