在 ubuntu 12.10 中安装 xampp 1.8.1 时出错

use*_*282 5 xampp

sudo apt-get install xampp 在上述步骤后,显示以下错误

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:
 xampp:i386 : Depends: python-gtk2:i386 but it is not going to be installed
              Depends: python-glade2:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

小智 2

我有同样的错误消息。

试试这个链接:

http://daksh21ubuntu.blogspot.com/2012/01/how-to-install-xampp-in-ubuntu.html

我从这个链接下载了1.8.1版本:

http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar.gz

对我来说非常完美。

祝你好运。


小智 0

也许ubuntu repo没有附带xampp,您可以从源代码下载xampp并安装xampp

# wget http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.3/xampp-linux-1.8.3-4-installer.run
# chmod 755 xampp-linux*
./xampp-linux*
Run Code Online (Sandbox Code Playgroud)