当前位置: 技术问答>linux和unix
Debian Linux 安装/卸载Mysql的问题。急
来源: 互联网 发布时间:2016-12-20
本文导语: Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done "mysql-server" exists...
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
"mysql-server" exists in the package database, but it is not a
real package and no package provides it.
The following packages are unused and will be REMOVED:
libboost-iostreams1.42.0 libc-bin libcwidget3 libdb4.8
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 4104kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Setting up libuuid1 (2.17.2-9) ...
getent: /lib/libc.so.6: version `GLIBC_2.10' not found (required by getent)
groupadd: invalid option -- K
usage: groupadd [-g gid [-o]] group
dpkg: error processing libuuid1 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libuuid1
W: Couldn't stat source package list http://ftp.jp.debian.org etch/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://packages.dotdeb.org dists/stable Packages (/var/lib/apt/lists/packages.dotdeb.org_dists_dists_stable_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.hansode.org ./ Packages (/var/lib/apt/lists/debian.hansode.org_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: ./ Packages (/var/lib/apt/lists/_usr_local_deb_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://packages.dotdeb.org dists/stable Packages (/var/lib/apt/lists/packages.dotdeb.org_dists_dists_stable_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.hansode.org ./ Packages (/var/lib/apt/lists/debian.hansode.org_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: ./ Packages (/var/lib/apt/lists/_usr_local_deb_._Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libuuid1 (2.17.2-9) ...
getent: /lib/libc.so.6: version `GLIBC_2.10' not found (required by getent)
groupadd: invalid option -- K
usage: groupadd [-g gid [-o]] group
dpkg: error processing libuuid1 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libuuid1
--------------------------
请各位帮帮忙看看哦!
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
"mysql-server" exists in the package database, but it is not a
real package and no package provides it.
The following packages are unused and will be REMOVED:
libboost-iostreams1.42.0 libc-bin libcwidget3 libdb4.8
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 4104kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Setting up libuuid1 (2.17.2-9) ...
getent: /lib/libc.so.6: version `GLIBC_2.10' not found (required by getent)
groupadd: invalid option -- K
usage: groupadd [-g gid [-o]] group
dpkg: error processing libuuid1 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libuuid1
W: Couldn't stat source package list http://ftp.jp.debian.org etch/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://packages.dotdeb.org dists/stable Packages (/var/lib/apt/lists/packages.dotdeb.org_dists_dists_stable_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.hansode.org ./ Packages (/var/lib/apt/lists/debian.hansode.org_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: ./ Packages (/var/lib/apt/lists/_usr_local_deb_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://packages.dotdeb.org dists/stable Packages (/var/lib/apt/lists/packages.dotdeb.org_dists_dists_stable_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/main Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/contrib Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.jp.debian.org etch-proposed-updates/non-free Packages (/var/lib/apt/lists/ftp.jp.debian.org_debian_dists_etch-proposed-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.hansode.org ./ Packages (/var/lib/apt/lists/debian.hansode.org_._Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: ./ Packages (/var/lib/apt/lists/_usr_local_deb_._Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libuuid1 (2.17.2-9) ...
getent: /lib/libc.so.6: version `GLIBC_2.10' not found (required by getent)
groupadd: invalid option -- K
usage: groupadd [-g gid [-o]] group
dpkg: error processing libuuid1 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libuuid1
--------------------------
请各位帮帮忙看看哦!
|
sudo apt-get update
|
如果是校园网ipv6
mirrors6.ustc.edu.cn
和
mirror6.bjtu.edu.cn
速度都能上5M
用法,可参见
mirrors.163.com
每个发行版都有个help
同时,163的镜像是非教育网速度最快的
|
试试ustc的镜像