我之前在Ubuntu(虚拟机)中使用以下命令成功安装了Indigo eclipse:
sudo apt-get install eclipse
sudo apt-get install eclipse-cdt
然而,当我从“安装新软件”选项卡进行更新时,它搞砸了。运行以下命令后,我完全删除了eclipse。
sudo apt-get remove --purge eclipse
sudo apt-get autoremove
sudo rm -rf /usr/bin/eclipse /usr/lib/eclipse/ /usr/share/eclipse /usr/share/man/man1/eclipse.1.gz /etc/eclipse.ini
但是,现在我想再次在我的Ubuntu中安装eclipse。当我运行上面的命令时,它根本不顺利并且在执行后停止:
milind@milind-VirtualUbuntuOneiric:~$ sudo apt-get install eclipse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eclipse
0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.
Need to get 0 B/17.3 kB of archives.
After this operation, 131 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
eclipse
Install these packages without verification [y/N]? y
Selecting previously deselected package eclipse.
(Reading database ... 133931 files and directories currently installed.)
Unpacking eclipse (from .../eclipse_3.7.0-0ubuntu1_all.deb) ...
Setting up eclipse (3.7.0-0ubuntu1) ...
milind@milind-VirtualUbuntuOneiric:~$
尝试了这么久(多次重启VBox),但没有运气。你能帮我一下:
答案 0 :(得分:0)
我最近从apt安装了一些问题(Ubuntu 11.10)。我最终最终从here下载了一个版本,然后安装到自定义位置[/ home / usrname / programs / eclipse]。这是我让市场发挥作用的唯一方式。