将存储库添加到 apt-mirror

将存储库添加到 apt-mirror

我使用以下配置设置 apt-mirror:

      GNU nano 2.5.3                                                                          File: /etc/apt/mirror.list

############# config ##################
#
# set base_path    /var/spool/apt-mirror
#
# set mirror_path  $base_path/mirror
# set skel_path    $base_path/skel
# set var_path     $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch  <running host architecture>
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads     20
set _tilde 0
#
############# end config ##############

deb-amd64 http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse

deb-i386 http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse

deb http://ubuntu.kurento.org xenial kms6

clean http://archive.ubuntu.com/ubuntu

但是,我似乎无法镜像 ubuntu.kurento.org

每当我这样做时

sudo apt-get update
sudo apt-get install kurento-media-server-6.0

我收到以下消息:

E:无法找到软件包 kurento-media-server-6.0 E:无法通过 glob 'kurento-media-server-6.0' 找到任何软件包 E:无法通过正则表达式 'kurento-media-server-6.0' 找到任何软件包

在客户端计算机上,我正在连接到本地镜像,并且可以获得更新等,但不能获取 kurento 包。我有什么遗漏的吗?

答案1

请在 set base_path 处设置路径并取消注释。

相关内容