apt-get update出错,无法安装mysql
Tofloor
poster avatar
chahualao
deepin
2019-11-06 19:10
Author
  1. sudo apt-get update
  2. 命中:1 http://packages.deepin.com/deepin lion InRelease
  3. 忽略:2 https://yenole.gitee.io stable InRelease                    
  4. 忽略:3 https://yenole.gitee.io stable Release
  5. 忽略:4 https://yenole.gitee.io stable/main amd64 Packages
  6. 忽略:5 https://yenole.gitee.io stable/main i386 Packages
  7. 忽略:6 https://yenole.gitee.io stable/main all Packages
  8. 忽略:4 https://yenole.gitee.io stable/main amd64 Packages
  9. 忽略:5 https://yenole.gitee.io stable/main i386 Packages
  10. 忽略:6 https://yenole.gitee.io stable/main all Packages
  11. 忽略:4 https://yenole.gitee.io stable/main amd64 Packages
  12. 忽略:5 https://yenole.gitee.io stable/main i386 Packages
  13. 忽略:6 https://yenole.gitee.io stable/main all Packages
  14. 忽略:4 https://yenole.gitee.io stable/main amd64 Packages
  15. 忽略:5 https://yenole.gitee.io stable/main i386 Packages
  16. 命中:7 https://repo.mysql.com/apt/debian stretch InRelease
  17. 忽略:6 https://yenole.gitee.io stable/main all Packages            
  18. 忽略:4 https://yenole.gitee.io stable/main amd64 Packages         
  19. 忽略:5 https://yenole.gitee.io stable/main i386 Packages           
  20. 忽略:6 https://yenole.gitee.io stable/main all Packages
  21. 错误:4 https://yenole.gitee.io stable/main amd64 Packages
  22.   404  Not Found
  23. 忽略:5 https://yenole.gitee.io stable/main i386 Packages
  24. 忽略:6 https://yenole.gitee.io stable/main all Packages
  25. 命中:8 http://packages.microsoft.com/repos/vscode stable InRelease
  26. 正在读取软件包列表... 完成              
  27. W: 仓库 “https://yenole.gitee.io stable Release” 没有 Release 文件。
  28. N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
  29. N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
  30. E: 无法下载 https://yenole.gitee.io/dists/stable/main/binary-amd64/Packages  404  Not Found
  31. E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
Copy the Code
  1. sudo apt-get install mysql-server
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. mysql-server 已经是最新版 (8.0.18-1debian10)。
  6. 您也许需要运行“apt --fix-broken install”来修正上面的错误。
  7. 下列软件包有未满足的依赖关系:
  8. libmysqlclient21 : 依赖: libc6 (>= 2.28) 但是 2.24-11+deb9u3 正要被安装
  9.                     依赖: libssl1.1 (>= 1.1.1) 但是 1.1.0j-1~deb9u1 正要被安装
  10. mysql-community-client : 依赖: libc6 (>= 2.28) 但是 2.24-11+deb9u3 正要被安装
  11.                           依赖: libssl1.1 (>= 1.1.1) 但是 1.1.0j-1~deb9u1 正要被安装
  12. mysql-community-client-core : 依赖: libc6 (>= 2.28) 但是 2.24-11+deb9u3 正要被安装
  13.                                依赖: libncurses6 (>= 6) 但无法安装它
  14.                                依赖: libssl1.1 (>= 1.1.1) 但是 1.1.0j-1~deb9u1 正要被安装
  15.                                依赖: libtinfo6 (>= 6) 但无法安装它
  16. mysql-community-server-core : 依赖: libc6 (>= 2.28) 但是 2.24-11+deb9u3 正要被安装
  17.                                依赖: libmecab2 但是它将不会被安装
  18.                                依赖: libsasl2-2 (>= 2.1.27+dfsg) 但是 2.1.27~101-g0780600+dfsg-3 正要被安装
  19.                                依赖: libssl1.1 (>= 1.1.1) 但是 1.1.0j-1~deb9u1 正要被安装
  20.                                依赖: libstdc++6 (>= 7) 但是 6.3.0-18+deb9u1 正要被安装
  21.                                推荐: mecab-ipadic-utf8 但是它将不会被安装
  22. mysql-community-test : 依赖: libjson-perl 但是它将不会被安装
  23.                         依赖: mecab-ipadic-utf8 但是它将不会被安装
  24.                         依赖: libc6 (>= 2.28) 但是 2.24-11+deb9u3 正要被安装
  25.                         依赖: libssl1.1 (>= 1.1.1) 但是 1.1.0j-1~deb9u1 正要被安装
  26.                         依赖: libstdc++6 (>= 7) 但是 6.3.0-18+deb9u1 正要被安装
  27. E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
Copy the Code


Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2019-11-06 19:59
#1
恭喜瞎搞软件仓库导致依赖错乱,自求多福吧,建议重装
Reply View the author
avatar
ghostry
deepin
2019-11-06 21:29
#2
建议用docker装MySQL,隔离开发环境.

避免搞坏系统.
Reply View the author
avatar
chahualao
deepin
2019-11-06 23:03
#3
https://bbs.deepin.org/post/184766
建议用docker装MySQL,隔离开发环境.

避免搞坏系统.

那之前的那么多配置都白费了
Reply View the author
avatar
ghostry
deepin
2019-11-07 00:26
#4
https://bbs.deepin.org/post/184766
那之前的那么多配置都白费了

没有吧,摘抄过去就行了.

比重新上手快多了.
Reply View the author