administrator@ubuntu:~$ sudo apt-get install mysql-server
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
mysql-server 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 2 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0B 的额外空间。
administrator@ubuntu:~$ sudo apt-get install mysql-server
正在设置 mysql-server-5.0 (5.0.67-0ubuntu6) ...
* Stopping MySQL database server mysqld [ OK ]
chown: 无法访问“/var/run/mysqld”: 没有该文件或目录
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: 没有该文件或目录
dpkg:处理 mysql-server-5.0 (--configure)时出错:
子进程 post-installation script 返回了错误号 1
dpkg:依赖关系问题使得 mysql-server 的配置工作不能继续:
mysql-server 依赖于 mysql-server-5.0;然而:
软件包 mysql-server-5.0 还没有被配置。
dpkg:处理 mysql-server (--configure)时出错:
依赖关系问题 - 仍未被配置
No apport report written because the error message indicates its a followup error from a previous failure.
在处理时有错误发生:
mysql-server-5.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
administrator@ubuntu:~$ sudo apt-get install mysql-server-5.0
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
mysql-server-5.0 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 2 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0B 的额外空间。
正在设置 mysql-server-5.0 (5.0.67-0ubuntu6) ...
* Stopping MySQL database server mysqld [ OK ]
chown: 无法访问“/var/run/mysqld”: 没有该文件或目录
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: 没有该文件或目录
dpkg:处理 mysql-server-5.0 (--configure)时出错:
子进程 post-installation script 返回了错误号 1
dpkg:依赖关系问题使得 mysql-server 的配置工作不能继续:
mysql-server 依赖于 mysql-server-5.0;然而:
软件包 mysql-server-5.0 还没有被配置。
dpkg:处理 mysql-server (--configure)时出错:
依赖关系问题 - 仍未被配置
No apport report written because the error message indicates its a followup error from a previous failure.
在处理时有错误发生:
mysql-server-5.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
在ubuntu8.10中安装mysql中出错,不知道如何解决
-
- 帖子: 9
- 注册时间: 2008-10-17 17:06
-
- 帖子: 3
- 注册时间: 2008-11-10 22:54
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
我是新手,我也遇到了同样问题,我是顺着安装依赖包的,但装到最后:
sun@OMG:~$ sudo apt-get install libdbi-perl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是不稳定(unstable)发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们还在新到(incoming)目录中。
您仅要求对单一软件包进行操作,这极有可能是因为该软件包安装不上,同时,
您最好提交一个针对这个软件包的故障报告。
下列的信息可能会对解决问题有所帮助:
下列的软件包有不能满足的依赖关系:
libdbi-perl: 依赖: perlapi-5.8.4
E: 无法安装的软件包
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,选取 perl-base 而非 perlapi-5.8.4
perl-base 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
期待高手解决
sun@OMG:~$ sudo apt-get install libdbi-perl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是不稳定(unstable)发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们还在新到(incoming)目录中。
您仅要求对单一软件包进行操作,这极有可能是因为该软件包安装不上,同时,
您最好提交一个针对这个软件包的故障报告。
下列的信息可能会对解决问题有所帮助:
下列的软件包有不能满足的依赖关系:
libdbi-perl: 依赖: perlapi-5.8.4
E: 无法安装的软件包
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,选取 perl-base 而非 perlapi-5.8.4
perl-base 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
期待高手解决
-
- 帖子: 3
- 注册时间: 2008-11-10 22:54
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
依赖: perlapi-5.8.8
但perlapi已经安装并已经是最新版本。
我从新立得里安装好多关于perl的还是一样的,最后提示这个,用apt-get remove perlapi-5.8.8 提示要卸载好多软件。
看来没办法了,只能暂时不用mysql了。
但perlapi已经安装并已经是最新版本。
我从新立得里安装好多关于perl的还是一样的,最后提示这个,用apt-get remove perlapi-5.8.8 提示要卸载好多软件。
看来没办法了,只能暂时不用mysql了。
-
- 帖子: 3
- 注册时间: 2008-11-10 22:54
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
问题解决了,是更新源的问题,换了一个8.1的更新源,现在已经成功安装上了
-
- 帖子: 1
- 注册时间: 2008-11-15 14:05
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
请问楼主换的哪个更新源?我也碰到类似的问题
-
- 帖子: 9
- 注册时间: 2008-10-17 17:06
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.2)]/ intrepid main restricted
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid main restricted
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates main restricted
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates restricted main multiverse universe #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid universe
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-security restricted main multiverse universe #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-backports main restricted universe multiverse #Added by software-properties
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-proposed main restricted universe multiverse #Added by software-properties
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid main restricted
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates main restricted
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates restricted main multiverse universe #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid universe
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-security restricted main multiverse universe #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-backports main restricted universe multiverse #Added by software-properties
deb http://mirror.lupaworld.com/ubuntu/archive/ intrepid-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ intrepid-proposed main restricted universe multiverse #Added by software-properties
我是个菜鸟
-
- 帖子: 18
- 注册时间: 2008-10-07 1:13
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
首先把编译环境配置好。
代码: 全选
sudo apt-get install build-essential
-
- 帖子: 73
- 注册时间: 2007-05-17 9:38
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
# newer versions of the distribution.
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
上面这个不是8.04的源吗?
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
上面这个不是8.04的源吗?
-
- 帖子: 8
- 注册时间: 2008-11-26 15:46
Re: 在ubuntu8.10中安装mysql中出错,不知道如何解决
真郁闷阿....要是一开始看到你的问题就好了。今天,在网上随便找了个一堆源,也没注意是8.04的。安装好多东西都安不了。看到你这里,突然才想起去看看源的版本。白费了一天.....现在ok了。
8.10源:
http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn
8.10源:
http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn