操作系统:在 XenServer 上运行的 Debian Squeeze x64
一直在谷歌上搜索这个错误,但是没有成功(或者我只是谷歌搜索失败了);有没有人能帮忙解决这个问题?非常感谢!- 也在 WebHostingTalk 上发帖,但是还没有成功(http://www.webhostingtalk.com/showthread.php?t=1177066)
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created or
been moved out of Incoming. The following information may help to
resolve the situation:
The following packages have unmet dependencies: libreadline6-dev :
Depends: libreadline6 (= 6.1-3) but 6.2-8 is to be installed E: Unable
to correct problems, you have held broken packages.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created or
been moved out of Incoming. The following information may help to
resolve the situation:
The following packages have unmet dependencies: libreadline5-dev :
Depends: libreadline5 (= 5.2-7) but 5.2-11 is to be installed E:
Unable to correct problems, you have held broken packages.
# apt-get install libreadline5 Reading package lists... Done Building dependency tree Reading state information... Done libreadline5 is
already the newest version. The following packages were automatically
installed and are no longer required: dbconfig-common g++-4.4
libace-5.7.7 libgs8 libjpeg62 libjs-mootools liblcms1 liblqr-1-0
libmagickcore3 libmagickwand3 libmysqlclient16 librpmio1 libserf-0-0
libsqlite0 libstdc++6-4.4-dev libt1-5 Use 'apt-get autoremove' to
remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not
upgraded.
# apt-get install libreadline6 Reading package lists... Done Building dependency tree Reading state information... Done libreadline6 is
already the newest version. The following packages were automatically
installed and are no longer required: dbconfig-common g++-4.4
libace-5.7.7 libgs8 libjpeg62 libjs-mootools liblcms1 liblqr-1-0
libmagickcore3 libmagickwand3 libmysqlclient16 librpmio1 libserf-0-0
libsqlite0 libstdc++6-4.4-dev libt1-5 Use 'apt-get autoremove' to
remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not
upgraded.
还尝试过:尝试 sudo apt-get install lib32readline5-dev 使用 sudo apt-get install -f lib32readline5-dev 出现相同错误
#apt-get install lib32readline5-dev Reading package lists... Done Building dependency tree Reading state information... Done Some
packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
out of Incoming. The following information may help to resolve the
situation:
The following packages have unmet dependencies: lib32readline5-dev :
Depends: lib32ncurses5-dev but it is not going to be insta lled
Depends: libc6-dev-i386 but it is not going to be installe d E: Unable
to correct problems, you have held broken packages.
# apt-get install lib32ncurses5-dev Reading package lists... Done Building dependency tree Reading state information... Done Some
packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
out of Incoming. The following information may help to resolve the
situation:
The following packages have unmet dependencies: lib32ncurses5-dev :
Depends: lib32ncurses5 (= 5.7+20100313-5) but 5.9-10 is to be
installed Depends: lib32c-dev E: Unable to correct problems, you have
held broken packages.
# apt-get install libc6-dev-i386 Reading package lists... Done Building dependency tree Reading state information... Done Some
packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
out of Incoming. The following information may help to resolve the
situation:
The following packages have unmet dependencies: libc6-dev-i386 :
Depends: libc6-i386 (= 2.11.3-3) but 2.13-33 is to be installed
Depends: libc6-dev (= 2.11.3-3) but 2.13-33 is to be installed
Recommends: gcc-multilib but it is not going to be installed E: Unable
to correct problems, you have held broken packages.