我已经用 apt-mirror 制作了本地仓库(这个https://github.com/Stifler6996/apt-mirror)。因此,我加载了 amd64 和 i386,我的 mirror.list 如下所示
deb-amd64 http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
在我的电脑上无需网络连接sources.list 设置为从外部 USB HDD 驱动器读取文件夹,方式如下^
deb [trusted=yes] file:/media/$username$/$disk_name$/repo/mirror/archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
....
输入 sudo apt-get update 后我得到如下信息:
Get 1: blah-blah-blah
Ign 1: blah-blah-blah
and etc etc etc
还尝试使用 apache2 服务器,结果相同。我做错了什么?
PS 在 Google 上搜索了几天,但没有找到任何可以提供帮助的东西