我正在尝试安装运行该命令的 deb 包
dpkg -i 代码/mydeb.deb
它给出了错误的说法
dpkg: dependency problems prevent configuration of openmrs:
openmrs depends on mysql-server (>= 5.0); however:
Package mysql-server is not installed.
我的操作系统上运行着 lampp。运行类似 mysql 命令
mysql
不会sudo mysql
出现任何错误。
我怎样才能克服这个错误。
更新
root@ubuntu:/home/ankit# apt-cache policy mysql-server
mysql-server:
Installed: (none)
Candidate: 5.5.35-0ubuntu0.12.10.2
Version table:
5.5.35-0ubuntu0.12.10.2 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
5.5.35-0ubuntu0.12.10.1 0
500 http://security.ubuntu.com/ubuntu/ quantal-security/main i386 Packages
5.5.27-0ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
更新
正如评论中所建议的那样,我安装了 mysql-server,并且的输出apt-cache policy mysql-server
现已更改为,但我仍然收到相同的错误
mysql-server:
Installed: 5.5.35-0ubuntu0.12.10.2
Candidate: 5.5.35-0ubuntu0.12.10.2
Version table:
*** 5.5.35-0ubuntu0.12.10.2 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
100 /var/lib/dpkg/status
5.5.35-0ubuntu0.12.10.1 0
500 http://security.ubuntu.com/ubuntu/ quantal-security/main i386 Packages
5.5.27-0ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages