You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 20.04安装Neo4j=3.5.5时sudo apt update报错求助

解决Ubuntu 20.04安装Neo4j 3.5.5时apt update的签名冲突错误

出现该错误是因为Neo4j源的签名密钥配置存在冲突,按以下步骤修复:

  • 删除所有冲突的Neo4j源配置文件:

    sudo rm /etc/apt/sources.list.d/neo4j.list
    sudo rm /etc/apt/sources.list.d/neo4j.list.save
    
  • 重新导入Neo4j官方GPG密钥:

    wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/neo4j.gpg
    
  • 添加指定版本的Neo4j源配置:

    echo "deb [signed-by=/usr/share/keyrings/neo4j.gpg] https://debian.neo4j.com stable 3.5" | sudo tee /etc/apt/sources.list.d/neo4j.list
    
  • 重新更新源并安装目标版本:

    sudo apt update
    sudo apt install neo4j=3.5.5
    

内容的提问来源于stack exchange,提问作者Moavia Hassan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.17 02:25:27