所以把apt-spy.list拷贝到/etc/apt/sources.list文件,就能把寻找到的源使用了,记得要备份你原来的sources.list文件。 随后就可以用apt-get update来更新镜像站点 这样,我们以后安装软件就很快了! 附: apt-spy [options] 选项: -d distribution 选择 debian 的发行版本,例如 stable 。除升级外,必须使用此参数。
/etc/apt/sources.list 安装包的配置文件 remove 删除的是一些程序 purge 删除软件的所有文件以及配置文件 apt-file search -x ###包已经装上才能查 (支持通配符,正则表达式) apt-file search -F /path/file apt instal -y ubuntu-desktop 安装图形化 apt upgrade 升级包,要升级系统,请首先更新软件包索引,在...
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse# sed 方法1sed-r-i.bak's#(.*)us\.archive\.ubuntu\.(com.*)$#\1mirrors.aliyun.\2#g'/etc/apt/sources.list# sed 方法2sed-i.bak's/us.archive.ubuntu.com/mirrors.aliyun.com/'/etc/apt/sourc...
举例:树莓派替换apt源sudo sed -i 's#://raspbian.raspberrypi.org#s://mirrors.ustc.edu.cn/raspbian#g' /etc/apt/sources.list sudo sed -i 's#://archive.raspberrypi.org/debian#s://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian#g' /etc/apt/sources.list.d/raspi.list ...
Context information: => ERROR [php-fpm 2/82] RUN if [ true = true ]; then sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list && sed -i 's/security.debian.org/mi 0.2s --- > [php-fpm 2/82] RUN if [ true = true...
apt-get build-dep emacs21 (编译emacs21所需) 2.使用cvs下载最新的source(注: emacs-unicode-2 is now obsolete (merged into the CVS trunk) set CVS RSH=”ssh” cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs ...
Replace Armbian sources Log in to the Armbian system → Enter the command: armbian-apt Choosing the appropriate software source for your country or region can improve software download speeds. For more details, see theHelp Document. Install Common Software ...