“在Ubuntu 20.04上安装GridDB时出错”

0lvr5msh  于 2023-06-21  发布在  其他
关注(0)|答案(1)|浏览(175)

我在ubuntu上安装了很多次griddb服务器,但是总是出现同样的错误

sudo apt-get install -y apt-transport-https gnupg
wget -qO - https://griddb.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
echo "deb https://griddb.jfrog.io/artifactory/deb/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/griddb.list
sudo apt-get update
sudo apt-get install -y griddb-c griddb-c-dev griddb-java griddb-python griddb-server

我尝试使用提供的安装脚本在Ubuntu 20.04上安装GridDB,但遇到错误。脚本成功运行到某个点,但随后我收到以下错误消息:
[错误]无法在项目griddb-core上执行目标:无法解析项目com.toshiba.mwcloud.gs:griddb-core:jar:4.5.0的依赖项:无法在com.toshiba.mwcloud.gs:griddb-c-client:jar:4.5.0收集依赖项:无法读取com.toshiba.mwcloud.gs:griddb-c-client:jar:4.5.0的工件描述符:无法将项目com.toshiba.mwcloud.gs:griddb-c-client:pom:4.5.0从/到GridDB-Community(https://griddb.jfrog.io/griddb/GridDB-Community)传输:连接重置-> [帮助1]

4ktjp1zp

4ktjp1zp1#

请尝试以下方法:https://docs.griddb.net/gettingstarted/using-apt/

$ sudo sh -c 'echo "deb https://www.griddb.net/apt griddb/5.1 multiverse" >>  /etc/apt/sources.list.d/griddb.list'
$ wget -qO - https://www.griddb.net/apt/griddb.asc | sudo apt-key add -
$ sudo apt update
$ sudo apt install griddb-meta

相关问题