问题描述,我按照网上的流程设置好了清华镜像源,但是在使用sudo apt-get install python3-pip命令安装pip的时候,报错。系统提示我使用sudo apt --fix-broken install命令,之后使用此命令,报错dpkg: warning: files list file for package。。。,然后我找到了一些案例方式,删除报错的文件,全部重新安装所有告警文件,之后都无法解决问题。之后无意又看到了一处清华镜像源,发现与我设置的地址略有不同,我于是重新设置镜像地址,问题得以解决。
这是我最后设置的清华源镜像,deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse。