我正在使用 Aptly 将 ubuntu (主) repo 的副本发布到 USB 记忆棒上,以供离线机器使用。(使用此视频作为参考:https://www.youtube.com/watch?v=rZsJZ_1vX3o)
但是,当我尝试使用以下命令发布快照时:
sudo aptly publish snapshot -skip-contents -skip-signing ubuntu_amd64 filesystem:packages:ubuntu-amd64
我收到此错误:
ERROR: published local storage packages not configured
我的 .aptly.conf 如下所示:
{
"rootDir": "$HOME/.aptly",
"downloadConcurrency": 16,
"downloadSpeedLimit": 0,
"architectures": ["amd64"],
"dependencyFollowSuggests": false,
"dependencyFollowRecommends": false,
"dependencyFollowAllVariants": false,
"dependencyFollowSource": false,
"dependencyVerboseResolve": false,
"gpgDisableSign": true,
"gpgDisableVerify": true,
"gpgProvider": "gpg",
"downloadSourcePackages": false,
"skipLegacyPool": true,
"ppaDistributorID": "ubuntu",
"ppaCodename": "",
"skipContentsPublishing": false,
"FileSystemPublishEndpoints": {
"packages": {
"rootDir": "/repo/public/packages",
"linkMethod": "hardlink"
}
},
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {}
}
有人能给我指明正确的方向吗?