如何更新 libstdc++6

如何更新 libstdc++6

我有一台 Ubuntu 16.04,需要安装乘客模块。命令sudo apt-get install -y libapache2-mod-passenger告诉

The following packages have unmet dependencies:
 libapache2-mod-passenger : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.4 is to be installed
E: Unable to correct problems, you have held broken packages.

我尝试使用sudo apt-get install libstdc++6sudo apt-get install libstdc++6=5.4.0-6ubuntu1~16.04.12

但首先它告诉我我已经有 lib 了,其次它又告诉我没有找到这样的版本。

我怎样才能执行命令sudo apt-get install -y libapache2-mod-passenger

相关内容