The pro client on a machine reports the following error as it seems to be adding the `/ubuntu` suffix to the URL:
["2024-05-07T13:31:38.632", "DEBUG", "ubuntupro.system", "subp", 718, "Failed running command '/usr/lib/apt/apt-helper download-file http://bearer:<redacted>@landscape.example.com/repository/standalone/esm.
ubuntu.com-cis/ubuntu/pool/ /tmp/tmpk0abvk3p/apt-helper-output' [exit(100)]. Message: W: Download is performed unsandboxed as root as file '/tmp/tmpk0abvk3p/apt-helper-output' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13
: Permission denied)\nE: Failed to fetch http://landscape.example.com/repository/standalone/esm.ubuntu.com-cis/ubuntu/pool/ 404 Not Found [IP: 10.18.2.10 80]\nE: Download Failed\n", {}]
["2024-05-07T13:31:38.633", "DEBUG", "ubuntupro.system", "subp", 719, "Retrying 3 more times.", {}]
Our directory structure is the following:
repository/standalone/esm.ubuntu.com-infra/
├── dists
├── pool
We've used a symlink for the ubuntu directory as a workaround for the time being i.e.
repository/standalone/esm.ubuntu.com-infra/
├── dists
├── pool
└── ubuntu -> repository/standalone/esm.ubuntu.com-infra
When using an on-prem contract server (ua-airgapped) with the following configuration for aptURL:
esm-infra: landscape. example. com/repository/ standalone/ esm.ubuntu. com-infra efault: true landscape. example. com/repository/ standalone/ esm.ubuntu. com-cis efault: true
directives:
aptURL: http://
obligations:
enableByD
cis:
directives:
aptURL: http://
obligations:
enableByD
The pro client on a machine reports the following error as it seems to be adding the `/ubuntu` suffix to the URL:
["2024- 05-07T13: 31:38.632" , "DEBUG", "ubuntupro.system", "subp", 718, "Failed running command '/usr/lib/ apt/apt- helper download-file http:// bearer:<redacted> @landscape. example. com/repository/ standalone/ esm. com-cis/ ubuntu/ pool/ /tmp/tmpk0abvk3 p/apt-helper- output' [exit(100)]. Message: W: Download is performed unsandboxed as root as file '/tmp/tmpk0abvk 3p/apt- helper- output' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13 landscape. example. com/repository/ standalone/ esm.ubuntu. com-cis/ ubuntu/ pool/ 404 Not Found [IP: 10.18.2.10 80]\nE: Download Failed\n", {}] 05-07T13: 31:38.633" , "DEBUG", "ubuntupro.system", "subp", 719, "Retrying 3 more times.", {}]
ubuntu.
: Permission denied)\nE: Failed to fetch http://
["2024-
Our directory structure is the following: standalone/ esm.ubuntu. com-infra/
repository/
├── dists
├── pool
We've used a symlink for the ubuntu directory as a workaround for the time being i.e. standalone/ esm.ubuntu. com-infra/ standalone/ esm.ubuntu. com-infra
repository/
├── dists
├── pool
└── ubuntu -> repository/
ua-airgapped:
Installed: 1.5
ubuntu- advantage- tools:
Installed: 31.2.2~22.04
Candidate: 31.2.2~22.04