gpt4 book ai didi

php - libdb4.6-dev 与 libdb4.7-dev

转载 作者:太空狗 更新时间:2023-10-29 12:22:02 39 4
gpt4 key购买 nike

我想在 Ubuntu Intrepid 上安装 PHP 5.3。要安装apxs,我需要安装libaprutil1-dev,它依赖于libdb4.6-dev。当我查看安装时,apt-get 想要删除当前安装的 libdb-dev 和 libdb4.7-dev。关于如何进行的任何建议?

[root@server:/usr/local]
#> apt-get -s install libaprutil1-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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libaprutil1-dev: Depends: libdb4.6-dev but it is not going to be installed
E: Broken packages

[root@server:/usr/local]
#> apt-get -s install libdb4.6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
debhelper libltdl7-dev po-debconf intltool-debian libtool courier-ssl gettext libgdbm-dev libzip1 html2text autotools-dev libmail-sendmail-perl
Use 'apt-get autoremove' to remove them.
Suggested packages:
db4.6-doc
The following packages will be REMOVED:
libdb-dev libdb4.7-dev
The following NEW packages will be installed:
libdb4.6-dev
0 upgraded, 1 newly installed, 2 to remove and 54 not upgraded.
Remv libdb-dev [4.7.25.2ubuntu1]
Remv libdb4.7-dev [4.7.25-3]
Inst libdb4.6-dev (4.6.21-10 Ubuntu:8.10/intrepid)
Conf libdb4.6-dev (4.6.21-10 Ubuntu:8.10/intrepid)

最佳答案

听起来人们并没有很好地更新他们的包。尝试将这些行添加到 /etc/apt/sources.list :

deb http://archive.ubuntu.com/ubuntu lucid universe multiverse
deb-src http://archive.ubuntu.com/ubuntu lucid universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

然后尝试运行 sudo apt-get install <package name>/lucid

编辑:刚刚注意到您处于无畏状态...抱歉!不过,这仍然可能有效。

关于php - libdb4.6-dev 与 libdb4.7-dev,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2661107/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com