终端和软件中心都不行。错误提示
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:
是安裝套件的問題,他沒有對 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...
快取的這個包沒辦法處理、解壓縮。刪了試試。