libncurses.so.5 這些依賴呢都是放到/user/lib目錄下的 進去看之后其實可以發現有很多 但是 安裝mysql5.7.26的client端的時候 會一直報
警告:mysql-community-client-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY
錯誤:依賴檢測失敗:libncurses.so.5
()(64bit
) 被 mysql-community-client-5.7.26-1.el7.x86_64 需要libtinfo.so.5
()(64bit
) 被 mysql-community-client-5.7.26-1.el7.x86_64 需要
這個其實是兩種原因
第一種是系統中的確沒有這個libtinfo.so.5()(64bit)這個包第二種是系統中的這個libtinfo.so.5()(64bit)沒有被檢測到
所以嘗試著用 ln -s libtinfo.so.5 /usr/lib/libncurses.so.5.9創建軟鏈接在當前的 software目錄下
[root@master software
]
以為這樣會找到 但是安裝之后還是沒有
dnf
install ncurses-compat-libs
之后用這行命令 安裝了 ncurses-compat-libs
安裝之后呢 再嘗試安裝 mysql-community-client-5.7.26-1.el7.x86_64.rpm 和 mysql-community-server-5.7.26-1.el7.x86_64.rpm 這些的時候就直接可以安裝好了
[root@master software
]
警告:mysql-community-client-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY
Verifying
...
準備中
...
正在升級/安裝
...1:mysql-community-client-5.7.26-1.e
[root@master software
]
警告:mysql-community-server-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY
Verifying
...
準備中
...
正在升級/安裝
...1:mysql-community-server-5.7.26-1.e
[/usr/lib/tmpfiles.d/libgpod.conf:1
] Line references path below legacy directory /var/run/, updating /var/run/libgpod → /run /libgpod
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/libstoragemgmt.conf:1
] Line references path below legacy directory /var/run/, updating /var/run/lsm → / run/lsm
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/libstoragemgmt.conf:2
] Line references path below legacy directory /var/run/, updating /var/run/lsm/ipc → /run/lsm/ipc
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/mdadm.conf:1
] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mda dm
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/mysql.conf:16
] Line references path below legacy directory /var/run/, updating /var/run/mysqld → /run/m ysqld
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/radvd.conf:1
] Line references path below legacy directory /var/run/, updating /var/run/radvd → /run/rad vd
; please update the tmpfiles.d/ drop-in
file accordingly.
[/usr/lib/tmpfiles.d/spice-vdagentd.conf:2
] Line references path below legacy directory /var/run/, updating /var/run/spice-v dagentd → /run/spice-vdagentd
; please update the tmpfiles.d/ drop-in
file accordingly.
[root@master software
]
2020-01-12T03:08:18.202215Z 0
[Warning
] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_ for_timestamp server option
(see documentation
for more details
).
2020-01-12T03:08:18.205248Z 0
[ERROR
] --initialize specified but the data directory has files
in it. Aborting.
2020-01-12T03:08:18.205310Z 0
[ERROR
] Aborting
使用mysql 正常
總結
以上是生活随笔為你收集整理的解决centos8 中安装mysql5.7.26时 libtinfo.so.5()(64bit)被依赖的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。