要设置 Passenger,必须安装一些软件包,例如 libcurl4-openssl-dev:
user@ubuntu:~$ sudo apt-get install libcurl4-openssl-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:
libcurl4-openssl-dev : Depends: libcurl3 (= 7.21.3-1ubuntu1) but 7.21.3-1ubuntu1.5 is to be installed
Depends: libkrb5-dev but it is not going to be installed or
hurd but it is not installable
E: Broken packages
该怎么办?如果我尝试手动安装它们,它们会显示它们自己未满足的依赖关系等等。
sudo apt-get update
没有帮助。
deb http://security.ubuntu.com/ubuntu maverick-security main universe restricted multiverse
在 Synaptic Package Manager 中,然后 sudo apt-get update 也没有帮助。
答案1
我必须安装最新版本的 Ubuntu。