LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 868|回复: 1

apt错误

[复制链接]
发表于 2005-8-18 10:40:32 | 显示全部楼层 |阅读模式
上午(08.18)执行apt-get dist-upgrade错误;
执行apt-get -f install;
Show Below:
-------------------------------------------------------------------
apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libglu1-xorg x11-common
The following packages will be REMOVED:
  xlibmesa-glu
The following NEW packages will be installed:
  libglu1-xorg
The following packages will be upgraded:
  x11-common
1 upgraded, 1 newly installed, 1 to remove and 117 not upgraded.
42 not fully installed or removed.
Need to get 0B/1361kB of archives.
After unpacking 1516kB of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "zh_CN:zh:en_US:en",
        LC_ALL = (unset),
        LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ...
dpkg: serious warning: files list file for package `x11-common' missing, assuming package has no files currently installed.
18035 files and directories currently installed.)
Preparing to replace x11-common 6.8.2.dfsg.1-5 (using .../x11-common_6.8.2.dfsg.1-5_all.deb) ...
Unpacking replacement x11-common ...
dpkg: error processing /var/cache/apt/archives/x11-common_6.8.2.dfsg.1-5_all.deb (--unpack):
trying to overwrite `/etc/X11/Xsession', which is also in package xorg-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
usage error: replace_conffile_with_symlink_rollback() called with wrong
   number of arguments; expected 2, got 1
Please report a bug in the postrm script of the x11-common package,
   version 6.8.2.dfsg.1-5 to the Debian Bug Tracking System.
   Include all messages above that mention the x11-common package.
   Visit  <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
   instructions, read the file /usr/share/doc/debian/bug-reporting.txt from
   the doc-debian package, or install the reportbug package and use the
   command of the same name to file a report.
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 99
Errors were encountered while processing:
/var/cache/apt/archives/x11-common_6.8.2.dfsg.1-5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---------------------------------------------------------------------------

SOS
发表于 2005-8-30 01:12:24 | 显示全部楼层
我也遇到同样问题,你用dpkg --force-overwrite -i试试!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表