【备忘】Ubuntu安装卸载qq(version number does not start with digit)
来源:互联网 发布:格洛纳斯 北斗知乎 编辑:程序博客网 时间:2024/05/16 11:29
错误描述:
dpkg:处理 ~/linuxqq_v1.0.2-beta1_i386.deb (–install)时出错:
parsing file ‘/var/lib/dpkg/tmp.ci/control’ near line 7 package ‘linuxqq’:
版本字符串 v1.0.2-beta1 中有错误: version number does not start with digit
parsing file ‘/var/lib/dpkg/tmp.ci/control’ near line 7 package ‘linuxqq’:
版本字符串 v1.0.2-beta1 中有错误: version number does not start with digit
解决办法:
解出下载的deb包:
# dpkg-deb -x linuxqq_v1.0.2-beta1_i386.deb qq# dpkg-deb -e linuxqq_v1.0.2-beta1_i386.deb qq/DEBIAN
修改DEBIAN里面的control文件,将v1.0.2-beta1的v删除。
# sudo vim /home/jason/Downloads/qq/DEBIAN/control
(press i to insert and then delete the v character, finally press ESC then :x to save and exit)
修改之后如下:
Package: linuxqqPriority: extraSection: InternetInstalled-Size: 6264Maintainer: Tencent Inc.Architecture: i386Version: 1.0.2-beta1Depends: gtk2.0-binver-2.10.0, libc6, libcairo2, libglib2.0-0, libgtk2.0-0, libpango1.0-0Description: QQ - The most popular free instant messaging program in China. * Chat with more than 590,000,000 people all over the world. * Free to download or distribute absolutely.
重新打包:
# dpkg-deb -b qq qq.deb
安装:
# sudo dpkg -i qq.deb
若要卸载,先找到qq的全名:
# dpkg -l | grep qq
显示qq安装全名是 linuxqq然后用如下命令卸载即可:
# sudo dpkg -r linuxqq
0 0
- 【备忘】Ubuntu安装卸载qq(version number does not start with digit)
- ubuntu 11.04 安装qq问题。version number does not start with digit
- [转]ubuntu 安装deb的qq的时候报错 version number does not start with digit
- [转]ubuntu 安装deb的qq的时候报错 version number does not start with digit
- ubuntu 安装deb QQ时报错version number does not start with gedit
- ubunt 系统上安装 deb 出错解决方法 version number does not start with digit
- Struts中应用Tiles时报does not start with a "/"
- java. lang. IllegalArgumentException: Path does not start with a "/" character
- Path does not start with a "/" character 问题的解决
- Path register.jsp does not start with a "/" character
- file does not start with RIFF id(python)
- Linux/ubuntu下安装QQ与卸载QQ
- version:99.0-does-not-exist
- Path does not start with a "/" character 问题的解决(2)
- the given port name does not start with COM/com异常解决办法
- java.lang.IllegalArgumentException: Path index does not start with a "/" character
- Visual C++ Tips: fatal error LNK1276: invalid directive 'ComMode.Obj' found; does not start with '/'
- 关于struts1.x Path xxx.xml does not start with a "/" character 异常的解决方式
- 微软系统下载
- 山理和山建大一新生友谊赛 D - We Love MOE Girls
- 黑马程序员-----类加载器ClassLoader
- kernel panic 分析解决方法
- JavaBean规范
- 【备忘】Ubuntu安装卸载qq(version number does not start with digit)
- CSharp学习笔记之十三 反射
- Base64编码
- java学习小记 高精度的相关方法
- 【温故而知新】C和C++4:STL概览
- 大数据处理---C++
- JavaBean的属性(Simple,Indexed,Bound,Constrained)
- 砍瓜切菜的第二遍
- hdu 1690 Bus System 最短路(Dijkstra算法)