我不能运行apt-获取更新或任何涉及apt-获取命令。我试过dpkg -配置-a,它就是这么说的。
root@lxoric-AOD270:/home/lxoric# sudo dpkg --configure -a
Setting up google-chrome-stable (38.0.2125.122-1) ...
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up update-notifier-common (0.154.1ubuntu1) ...
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 28, in <module>
import apt
File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12: invalid ELF header
dpkg: error processing package update-notifier-common (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for menu (2.1.46ubuntu1) ...
In file "/usr/share/menu/libreoffice-impress", at (or in the definition that ends at) line 18:
[Desktop Entry]
^
Unexpected end of line.
Skipping file because of errors...
/usr/share/menu/ixconn_config: 1: /usr/share/menu/ixconn_config: Syntax error: word unexpected (expecting ")")
/usr/share/menu/ixconn_folder: 1: /usr/share/menu/ixconn_folder: Syntax error: word unexpected (expecting ")")
/usr/share/menu/ixconn: 1: /usr/share/menu/ixconn: Syntax error: word unexpected (expecting ")")
In file "/usr/share/menu/libreoffice-calc", at (or in the definition that ends at) line 2:
~\ekVL I٤��{S�9<f��}QL�Nm���@)�%8���
^
Unexpected end of line.
Skipping file because of errors...
In file "/usr/share/menu/libreoffice-calc", at (or in the definition that ends at) line 1:
command=" META-INF/��PPK��dEMETA-INF/MANIFEST.MFE�M
�0D������m-j�G{�" icon="" needs="PK" package="libreoffice-calc" sectio" title=""
^
Expected: """
install-menu: /etc/menu-methods/openbox: aborting
update-menus[15714]: Script /etc/menu-methods/openbox returned error status 1.
Errors were encountered while processing:
google-chrome-stable
update-notifier-common
root@lxoric-AOD270:/home/lxoric# 发布于 2014-11-16 16:42:03
启动(),键入- apt - in快速搜索框,在列表中看到- apt,右键单击并选择(安装标记),然后单击顶部的apply按钮,如果apt已经安装,请选择(标记为完全删除)并单击apply按钮,在完全删除后,您需要重新安装apt并重新启动系统。
https://askubuntu.com/questions/550169
复制相似问题