如何获得“ apt-get update”以在无法访问互联网且手动分配IP地址的计算机上工作?
我已经apt-mirror在一台可以访问互联网的计算机上成功设置并下载了最新的ubuntu软件包。目标是在apt-get update无法访问Internet的目标计算机上进行操作时,将该计算机用作存储库。两台机器都设置了手动IP地址,并且两台机器都以Ubuntu 16.04作为操作系统运行。的etc/apt/sources.list在目标机器只有1行: deb http://<local_repo_IP>/ubuntu/ xenial main restricted multiverse universe 但是在sudo apt-get update目标计算机上执行操作时,出现以下错误: Ign:1 http://<local_repo_IP>/ubuntu/dists/xenial main InRelease Ign:2 http://<local_repo_IP>/ubuntu/dists/xenial main Release Ign:3 http://<local_repo_IP>/ubuntu/dists/xenial main/restricted amd64 Packages Ign:4 http://<local_repo_IP>/ubuntu/dists/xenial main/restricted i386 Packages Ign:5 http://<local_repo_IP>/ubuntu/dists/xenial main/restricted all Packages Ign:6 http://<local_repo_IP>/ubuntu/dists/xenial main/restricted Translation-en_HK Ign:7 http://<local_repo_IP>/ubuntu/dists/xenial main/restricted Translation-en Ign:8 http://<local_repo_IP>/ubuntu/dists/xenial main/multiverse amd64 Packages Ign:9 …