deb http://mirrors.aliyun.com/ubuntu/bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/bionic-backports main restricted universe multiverse
2.清华:
1 2 3 4 5 6 7 8 9 10
deb 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 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 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-updates main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-backports main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-security main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse
3.中科大:
1 2 3 4 5 6 7 8 9 10
deb https://mirrors.ustc.edu.cn/ubuntu/bionic main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/bionic-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/bionic-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/bionic-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/bionic main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/bionic-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/bionic-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/bionic-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/bionic-proposed main restricted universe multiverse
对于u18使用阿里源,u20使用清华源,kali使用中科大源,试试是否还能用
首先备份原来的源:
1 2
su mv /etc/apt/sources.list/etc/apt/sourses.list.backup
sudo apt-get install autoconf automake libtool git clone https://github.com/NixOS/patchelf.git cd patchelf ./bootstrap.sh ./configure make make check sudo make install