Skip to content

本地容器部署后,使用apt更新宿主机,出现未设置的源地址 #57

@wang-qa

Description

@wang-qa

apt update 报错
未设置过file:/home/kubunu/git/RunnerGo

echo '1' | sudo -S apt update ;sudo -S apt upgrade -y
获取:1 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ InRelease
忽略:1 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ InRelease
获取:2 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Release
忽略:2 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Release
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
忽略:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
获取:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
忽略:5 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-en
获取:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
忽略:6 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh_CN
获取:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
错误:3 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Packages
  无法找到文件 - /home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm/./Packages (2: No such file or directory)
获取:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
忽略:4 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm ./ Translation-zh
命中:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic InRelease                                        
获取:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates InRelease [109 kB]             
命中:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-backports InRelease                              
命中:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-security InRelease                    
获取:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/main amd64 Packages [311 kB]  
获取:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/main i386 Packages [161 kB]             
获取:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/main Translation-en [86.3 kB]           
获取:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/restricted amd64 Packages [228 kB]      
获取:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/restricted Translation-en [37.4 kB]     
获取:16 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]                                 
获取:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/universe i386 Packages [116 kB]         
获取:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates/universe amd64 Packages [287 kB]        
获取:19 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,078 B]                       
命中:20 https://linux.teamviewer.com/deb stable InRelease                             
已下载 1,338 kB,耗时 4秒 (298 kB/s)
正在读取软件包列表... 完成
E: 无法下载 file:/home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm/./Packages  无法找到文件 - /home/kubunu/git/RunnerGo/file/ubuntu_docker_rpm/./Packages (2: No such file or directory)
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions