linux - ubuntu14.04(e os)不能安装和卸载软件
天蓬老师
天蓬老师 2017-04-17 14:49:23
0
4
1437

终端和软件中心都不行。错误提示
Reading database ... 245043 files and directories currently installed.)
Preparing to unpack .../sogoupinyin_2.0.0.0072_amd64.deb ...
Unpacking sogoupinyin (2.0.0.0072) over (2.0.0.0068) ...
/var/lib/dpkg/info/sogoupinyin.postrm: 7: local: OS": bad variable name
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 7: local: OS": bad variable name
dpkg: error processing archive /var/cache/apt/archives/sogoupinyin_2.0.0.0072_amd64.deb (--unpack):
subprocess new post-removal script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: 7: local: OS": bad variable name
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1+elementary2~ubuntu14.04.1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for libglib2.0-0:amd64 (2.42.2-0ubuntu1~14.04~ricotz0) ...
/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override org.gnome.settings-daemon.plugins.xsettings Gtk/IMModule
Errors were encountered while processing:
/var/cache/apt/archives/sogoupinyin_2.0.0.0072_amd64.deb
Error in function:

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回复(4)
黄舟

是安装包的问题,他没有对 elementary os 优化,
解决方案
http://ubuntuforums.org/showthread.php?t=2282121

黄舟
  • sudo apt-get update

  • sudo apt-get install node

洪涛

1、可能的原因:权限足够?网络畅通??
2、是否有其他用户、进程正在安装、升级、卸载软件???
3、sudo apt-get update...

小葫芦

dpkg: error processing archive /var/cache/apt/archives/sogoupinyin_2.0.0.0072_amd64.deb (--unpack):

缓存的这个包没办法处理、解压。删了试试。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板