当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:09 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
使用的是apt-get install 安装的 然后报错了 下面我提交了错误信息,求解答


附件:
文件注释: 错误提示
QQ图片20160918161000.png
QQ图片20160918161000.png [ 9.43 KiB | 被浏览 1233 次 ]
页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:12 
头像

注册: 2008-12-20 15:43
帖子: 9349
地址: 心靈深處
系统: 家14.04,公司14.04
送出感谢: 13
接收感谢: 37
試試看終端命令下輸入
代码:
sudo apt-get -f install


_________________
[论坛版主行为规定]+[PITIVI簡易教程]+[CAD裝draftsight]+[酷我音乐裝kwplayer]+[ubuntu裝迅雷]
[releases.ubuntu.com]+[cdimage.ubuntu.com]+[old-releases.ubuntu.com]
[學ubuntu必須拜讀懶蝸牛"笨兔兔的故事"=viewtopic.php?f=112&t=162040][Linux明日的希望在中國]



_________________
评价: 3.7% 小怪兽
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:15 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
peteryeh64 写道:
試試看終端命令下輸入
代码:
sudo apt-get -f install

[email protected]:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libplymouth4 plymouth plymouth-theme-ubuntu-text
The following NEW packages will be installed:
libplymouth4 plymouth plymouth-theme-ubuntu-text
0 upgraded, 3 newly installed, 0 to remove and 89 not upgraded.
2 not fully installed or removed.
Need to get 0 B/197 kB of archives.
After this operation, 947 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up util-linux (2.25.2-4ubuntu3) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:17 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
peteryeh64 写道:
試試看終端命令下輸入
代码:
sudo apt-get -f install


附件:
文件注释: 你看下 谢谢了
QQ图片20160918161000.png
QQ图片20160918161000.png [ 33.77 KiB | 被浏览 1163 次 ]

页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:20 
头像

注册: 2011-03-20 13:12
帖子: 4546
地址: 山东省寿光县
系统: Debian
送出感谢: 106
接收感谢: 1007
小怪兽 写道:
ubuntu12.04 安装mysql报错

Ubuntu 12.04 (precise) 官方源中并不存在 mysql-server-5.6
从输出来看,是否存在较严重的混源现象
执行以下指令将结果全部复制贴上来,不要节选或截图
代码:
cat /etc/issue /etc/os-release
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户



_________________
评价: 3.7% 小怪兽
 
页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:25 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
vickycq 写道:
小怪兽 写道:
ubuntu12.04 安装mysql报错

Ubuntu 12.04 (precise) 官方源中并不存在 mysql-server-5.6
从输出来看,是否存在较严重的混源现象
执行以下指令将结果全部复制贴上来,不要节选或截图
代码:
cat /etc/issue /etc/os-release
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*

这是第一个命令
[email protected]:~$ cat /etc/issue /etc/os-release
Ubuntu 15.04 \n \l

NAME="Ubuntu"
VERSION="15.04 (Vivid Vervet)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 15.04"
VERSION_ID="15.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
这是第二个命令
[email protected]:~$ cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
这是第三个命令
[email protected]:~$ cat /etc/apt/sources.list.d/*
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/ubuntu/ vivid mysql-apt-config
# deb http://repo.mysql.com/apt/ubuntu/ vivid mysql-5.7

# deb-src http://repo.mysql.com/apt/ubuntu/ vivid mysql-5.7


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 16:26 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
vickycq 写道:
小怪兽 写道:
ubuntu12.04 安装mysql报错

Ubuntu 12.04 (precise) 官方源中并不存在 mysql-server-5.6
从输出来看,是否存在较严重的混源现象
执行以下指令将结果全部复制贴上来,不要节选或截图
代码:
cat /etc/issue /etc/os-release
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*

这是第一个命令
代码:
[email protected]:~$ cat /etc/issue /etc/os-release
Ubuntu 15.04 \n \l

NAME="Ubuntu"
VERSION="15.04 (Vivid Vervet)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 15.04"
VERSION_ID="15.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

这是第二个命令
代码:
[email protected]:~$ cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse

这是第三个命令
代码:
[email protected]:~$ cat /etc/apt/sources.list.d/*
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/ubuntu/ vivid mysql-apt-config
# deb http://repo.mysql.com/apt/ubuntu/ vivid mysql-5.7

# deb-src http://repo.mysql.com/apt/ubuntu/ vivid mysql-5.7


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 17:49 
头像

注册: 2011-03-20 13:12
帖子: 4546
地址: 山东省寿光县
系统: Debian
送出感谢: 106
接收感谢: 1007
小怪兽 写道:
ubuntu12.04 安装mysql报错
Ubuntu 15.04 \n \l
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse

猜测此处的 15.04(vivid) 由 12.04(precise) 升级而来。但 15.04(vivid) 生命周期已终结,不再提供支持与线上更新。软件源已没有 vivid 目录。
若不打算重装系统,可尝试升级到 16.04,但极可能出现的情况为漏洞过多,堵不胜堵,耗费大量精力除错而无果。故建议全新安装 Ubuntu 14.04 或 16.04。


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户



_________________
评价: 3.7% 小怪兽
 
页首
 用户资料  
 
9 楼 
 文章标题 : Re: ubuntu12.04 安装mysql报错,求帮助
帖子发表于 : 2016-09-18 19:55 

注册: 2016-09-18 16:04
帖子: 10
系统: win
送出感谢: 5
接收感谢: 0 次
vickycq 写道:
小怪兽 写道:
ubuntu12.04 安装mysql报错
Ubuntu 15.04 \n \l
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse

猜测此处的 15.04(vivid) 由 12.04(precise) 升级而来。但 15.04(vivid) 生命周期已终结,不再提供支持与线上更新。软件源已没有 vivid 目录。
若不打算重装系统,可尝试升级到 16.04,但极可能出现的情况为漏洞过多,堵不胜堵,耗费大量精力除错而无果。故建议全新安装 Ubuntu 14.04 或 16.04。

嗯嗯 谢谢 我换了新的 搞定了 :em11


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译