kubuntu9.10 vi报gtk_form_set_static_gravity错误的解决

转自 http://www.diybl.com/course/6_system/linux/Linuxjs/20091204/184100.html


我的机器环境:kubuntu9.10 使用apt-get安装的gvim7.2

首先将下面的源添加到/etc/apt/sources.list
deb http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic main
deb-src http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic main

然后随便进入一个文件夹,输入
vi key
将下面的内容复制进去
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0EStwumQEEALZWmSxdQpavSde5mh2aL9CKIvf9cwsOI8Li9RRjE9uaqjcDfzBgj52BvByO
k8RsOhlueiX3mZhmA8+u261J47n5xLR9meHg2ouihonAPSq9PoMCL4kBUinqREpjpzQsuMDf
9jqFC84a/ipeagY3rL88f9mTjJMeCyBim0vvt2WbABEBAAG0HUxhdW5jaHBhZCBQUEEgZm9y
IEplcmVteSBLZXJyiLYEEwECACAFAkrcLpkCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAK
CRA0ixRvr7dns/IaBACI6aPD76r83H/TIfeSDtsYjZLUgwJUmpZfNdzfwV/pPZFzClJZBJ2U
MQYzo4qhGd+Z8x1O1+NX/DUMOjZVozUoHm0bRJjxNHzGGNzr1cP3in6pH811+EHHcm1+wl3E
CzHxL1Coy5x8pl91nb0OYarYpAKkyx9LkmR3RL4LsCt+uw==
=XMAz
-----END PGP PUBLIC KEY BLOCK-----

然后保存退出

之后启动 软件源管理(software sources)->身份验证->导入密钥文件
选择刚才的key,退出

然后在控制台输入:
sudo apt-get update
sudo apt-get dist-upgrade
问题解决~~

参考:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/402188
https://launchpad.net/~jk-ozlabs/+archive/vim

你可能感兴趣的:(html,linux,.net,ubuntu,vim)