免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2155 | 回复: 2

求助:CentOS5的添加删除软件的那个菜单丢失! [复制链接]

论坛徽章:
0
发表于 2008-05-19 15:09 |显示全部楼层
刚刚安装了pygtk2,安装完毕出现了一个错误提示,没理会。
结果重启之后,那个add/remove 的菜单消失了,
如下图所示。

使用
yum clean all之后,

yum install yumex

yum update yumex
无效,提示如下:

----------------------------------------------
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
------------------------------------------------

怎么给弄回来呢?

或者敲那个命令可以启动那个图形化的add/remove的程序呢?
Snap1.jpg

论坛徽章:
0
发表于 2008-05-20 00:09 |显示全部楼层
添加删除程序的命令叫 pirut

在CentOS 5中添加菜单方法:

在/usr/share/applications下建立pirut.desktop内容如下:


  1. [Desktop Entry]
  2. Name=Add/Remove Software
  3. Name[zh_CN]=添加/删除软件
  4. Name[zh_TW]=新增/移除軟體
  5. GenericName=Add/Remove Software
  6. GenericName[zh_CN]=添加/删除软件
  7. GenericName[zh_TW]=新增/移除軟體
  8. Comment=Change the software installed on the system
  9. Comment[zh_CN]=改变系统上已安装的软件包
  10. Comment[zh_TW]=改變系統上已安裝的軟體
  11. Categories=Application;System;X-Red-Hat-Base;X-Fedora;PackageManager;GNOME;GTK;
  12. Exec=/usr/bin/pirut
  13. Terminal=false
  14. Type=Application
  15. Icon=pirut.png
  16. Encoding=UTF-8
  17. StartupNotify=true
复制代码

论坛徽章:
0
发表于 2008-05-20 12:23 |显示全部楼层
谢谢~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP