infinisynapse 使用清华源有问题的暂时解决方法:换回阿里云源并安装配置PPA
可以退回到原来的阿里云源的版本试试
手工修改infini_docker/docker/ 里面两个目录infini-sql和infini-synapse目录里的Dockerfile文件,
在清华源的部分修改成阿里云源,并在安装基础依赖后,安装PPA,当前的:
# 替换为清华源
RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \sed -i 's/security.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \apt-get update# 更新包列表并安装基础依赖
RUN apt-get install -y \curl \wget \unzip \git \build-essential # 安装Python 3.10+
修改成阿里云源并安装设置PPA后:
# 替换为阿里云源
RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \apt-get update# 更新包列表并安装基础依赖
RUN apt-get install -y \curl \wget \unzip \git \build-essential# 安装Python 3.10+ 前安装PPA
RUN apt-get install -y software-properties-common \&& add-apt-repository ppa:deadsnakes/ppa -y \&& apt-get update# 安装Python 3.10+