终端和软件中心都不行。错误提示
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:
It’s a problem with the installation package, which is not optimized for elementary os.
Solution
http://ubuntuforums.org/showthread.php?t=2282121
sudo apt-get update
sudo apt-get install node
1. Possible reasons: Sufficient permissions? Is the network smooth? ?
2. Are there other users or processes installing, upgrading, or uninstalling software? ? ?
3. sudo apt-get update...
This cached package cannot be processed or decompressed. Try deleting it.