每次系统更新软件都会提示如下错误

系统安装、升级讨论
回复
lkf1100
帖子: 50
注册时间: 2011-04-06 15:24
送出感谢: 0
接收感谢: 1 次

每次系统更新软件都会提示如下错误

#1

帖子 lkf1100 » 2013-02-10 0:54

系统更新后提示错误 ,代码如下:

代码: 全选

installArchives() failed: (Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 327805 files and directories currently installed.)
Preparing to replace mountall 2.42ubuntu0.3 (using .../mountall_2.42ubuntu0.4_i386.deb) ...
Unpacking replacement mountall ...
Preparing to replace deja-dup 24.0-0ubuntu1 (using .../deja-dup_24.0-0ubuntu2_i386.deb) ...
Unpacking replacement deja-dup ...
Preparing to replace gstreamer0.10-plugins-bad:i386 0.10.23-7ubuntu1 (using .../gstreamer0.10-plugins-bad_0.10.23-7ubuntu1.1_i386.deb) ...
Unpacking replacement gstreamer0.10-plugins-bad:i386 ...
Preparing to replace libgstreamer-plugins-bad0.10-0:i386 0.10.23-7ubuntu1 (using .../libgstreamer-plugins-bad0.10-0_0.10.23-7ubuntu1.1_i386.deb) ...
Unpacking replacement libgstreamer-plugins-bad0.10-0:i386 ...
Preparing to replace firefox-globalmenu 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-globalmenu_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-globalmenu ...
Preparing to replace firefox 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox ...
Preparing to replace firefox-gnome-support 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-gnome-support_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-gnome-support ...
Preparing to replace firefox-locale-de 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-locale-de_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-locale-de ...
Preparing to replace firefox-locale-en 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-locale-en_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-locale-en ...
Preparing to replace firefox-locale-zh-hans 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-locale-zh-hans_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-locale-zh-hans ...
Preparing to replace firefox-locale-zh-hant 18.0.1+build1-0ubuntu0.12.10.1 (using .../firefox-locale-zh-hant_18.0.2+build1-0ubuntu0.12.10.1_i386.deb) ...
Unpacking replacement firefox-locale-zh-hant ...
Preparing to replace unity-greeter 12.10.4-0ubuntu5 (using .../unity-greeter_12.10.4-0ubuntu5.1_i386.deb) ...
Unpacking replacement unity-greeter ...
Preparing to replace x11-apps 7.7~2ubuntu1 (using .../x11-apps_7.7~2ubuntu1.1_i386.deb) ...
Unpacking replacement x11-apps ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up fcitx (1:4.2.4.1-7) ...
update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/fcitx doesn't exist
dpkg: error processing fcitx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of fcitx-table:
 fcitx-table depends on fcitx (>= 1:4.2.0); however:
  Package fcitx is not configured yet.

dpkg: error processing fcitx-table (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fcitx-table-wbpy:
 fcitx-table-wbpy depends on fcitx-table; however:
  Package fcitx-table is not configured yet.

dpkg: error processing fcitx-table-wbpy (--configure):
 dependency problems - leaving unconfigured
Setting up mountall (2.42ubuntu0.4) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Setting up deja-dup (24.0-0ubuntu2) ...
Setting up libgstreamer-plugins-bad0.10-0:i386 (0.10.23-7ubuntu1.1) ...
Setting up gstreamer0.10-plugins-bad:i386 (0.10.23-7ubuntu1.1) ...
Setting up firefox (18.0.2+build1-0ubuntu0.12.10.1) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-globalmenu (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up firefox-gnome-support (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up firefox-locale-de (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up firefox-locale-en (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up firefox-locale-zh-hans (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up firefox-locale-zh-hant (18.0.2+build1-0ubuntu0.12.10.1) ...
Setting up unity-greeter (12.10.4-0ubuntu5.1) ...
Setting up x11-apps (7.7~2ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 fcitx
 fcitx-table
 fcitx-table-wbpy
Error in function: 
Setting up fcitx (1:4.2.4.1-7) ...
update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/fcitx doesn't exist
dpkg: error processing fcitx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of fcitx-table:
 fcitx-table depends on fcitx (>= 1:4.2.0); however:
  Package fcitx is not configured yet.

dpkg: error processing fcitx-table (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fcitx-table-wbpy:
 fcitx-table-wbpy depends on fcitx-table; however:
  Package fcitx-table is not configured yet.

dpkg: error processing fcitx-table-wbpy (--configure):
 dependency problems - leaving unconfigured
请问这是怎么回事,
头像
eehightech
帖子: 100
注册时间: 2007-12-18 14:25
送出感谢: 0
接收感谢: 0

Re: 每次系统更新软件都会提示如下错误

#2

帖子 eehightech » 2013-02-10 14:03

代码: 全选

update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/fcitx doesn't exist
dpkg: error processing fcitx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of fcitx-table:
 fcitx-table depends on fcitx (>= 1:4.2.0); however:
  Package fcitx is not configured yet.

dpkg: error processing fcitx-table (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fcitx-table-wbpy:
 fcitx-table-wbpy depends on fcitx-table; however:
  Package fcitx-table is not configured yet.

dpkg: error processing fcitx-table-wbpy (--configure):
 dependency problems - leaving unconfigured
lkf1100
帖子: 50
注册时间: 2011-04-06 15:24
送出感谢: 0
接收感谢: 1 次

Re: 每次系统更新软件都会提示如下错误

#3

帖子 lkf1100 » 2013-02-12 11:37

eehightech 写了:

代码: 全选

update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/fcitx doesn't exist
dpkg: error processing fcitx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of fcitx-table:
 fcitx-table depends on fcitx (>= 1:4.2.0); however:
  Package fcitx is not configured yet.

dpkg: error processing fcitx-table (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fcitx-table-wbpy:
 fcitx-table-wbpy depends on fcitx-table; however:
  Package fcitx-table is not configured yet.

dpkg: error processing fcitx-table-wbpy (--configure):
 dependency problems - leaving unconfigured

代码: 全选

fcitx-table 已经是最新的版本了。
下列软件包是自动安装的并且现在不需要了:
  libqt4-core libqt4-gui libqt4-test libqt4-webkit
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
升级了 0 个软件包,新安装了 0 个软件包, 要卸载 0 个软件包,有 0 个软件包未被升级。
有 3 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0 B 的额外空间。
您希望继续执行吗?[Y/n] y
正在设置 fcitx (1:4.2.4.1-7) ...
update-alternatives: 错误: Alternativen-Pfad /etc/X11/xinit/xinput.d/fcitx existiert nicht
dpkg: Fehler beim Bearbeiten von fcitx (--configure):
 子进程 已安装 post-installation 脚本 返回了错误号 2
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von fcitx-table:
 fcitx-table 依赖于 fcitx (>= 1:4.2.0);然而:
  软件包 fcitx 尚未配置。

dpkg: Fehler beim Bearbeiten von fcitx-table (--configure):
 依赖关系问题 - 仍未被配置
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von fcitx-table-wbpy:
 fcitx-table-wbpy 依赖于 fcitx-table;然而:
  软件包 fcitx-table 尚未配置。

dpkg: Fehler beim Bearbeiten von fcitx-table-wbpy (--configure):
 依赖关系问题 - 仍未被配置
因为错误消息指示这是由于上一个问题导致的错误,没有写入 apport 报告。
                                                                    因为错误消息指示这是由于上一个问题导致的错误,没有写入 apport 报告。
                                                        E: Sub-process /usr/bin/dpkg returned an error code (1)
这些用户感谢了作者 lkf1100 于这个帖子:
TOI777 (2013-02-17 11:52)
评价: 3.7%
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
送出感谢: 1 次
接收感谢: 89 次
联系:

Re: 每次系统更新软件都会提示如下错误

#4

帖子 cuihao » 2013-02-12 12:03

为啥这么多德语信息……
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
lkf1100
帖子: 50
注册时间: 2011-04-06 15:24
送出感谢: 0
接收感谢: 1 次

Re: 每次系统更新软件都会提示如下错误

#5

帖子 lkf1100 » 2013-02-17 9:16

问题已经得到了解决 谢谢各位的帮助。


我的方法:

1、 cd /etc/X11/xinit/xinput.d/
2、sudo touch fcitx

创建一个fcitx 文件,在下次更新时系统会自动将fcitx的配置信息写入到此文件中,并能够正常升级。

昨天升级了一下系统,已不再出现错误提示

谢谢大家了
回复

回到 “系统安装和升级”