* Users trying to apply changes to package profiles through landscape will get
an error in the activity. This will result in incomplete apt source list on
those clients.
[Test Case]
* install landscape-server-quickstart and landscape-api
* Create a package profile "minimum packages" and add basic packages (byobu, vim, ubuntu-cloud-keyring). Enable for all computers
* create a xenial container or machine and install/configure landscape-client
Note that the apply package profile gets stuck and doesn't progress. On the container that was created, running apt update shows:
sudo apt update
Get:1 file:/var/lib/landscape/client/package/binaries ./ InRelease
Ign:1 file:/var/lib/landscape/client/package/binaries ./ InRelease
Get:2 file:/var/lib/landscape/client/package/binaries ./ Release
Err:2 file:/var/lib/landscape/client/package/binaries ./ Release
File not found - /var/lib/landscape/client/package/binaries/./Release (2: No such file or directory)
Get:3 http://mirror/ubuntu xenial InRelease [247 kB]
Hit:4 http://mirror/ubuntu xenial-updates InRelease
Hit:5 http://mirror/ubuntu xenial-backports InRelease
Hit:6 http://mirror/ubuntu xenial-security InRelease
Reading package lists... Done
E: The repository 'file:/var/lib/landscape/client/package/binaries ./ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
This can be easily worked around by:
* Remove the file /etc/apt/sources.list.d/_landscape-internal-facade.list
* add-apt-repository ppa:landscape/19.01
* apt install landscape-client
[Impact]
* Users trying to apply changes to package profiles through landscape will get
an error in the activity. This will result in incomplete apt source list on
those clients.
[Test Case] server- quickstart and landscape-api cloud-keyring) . Enable for all computers
* install landscape-
* Create a package profile "minimum packages" and add basic packages (byobu, vim, ubuntu-
* create a xenial container or machine and install/configure landscape-client
Note that the apply package profile gets stuck and doesn't progress. On the container that was created, running apt update shows:
sudo apt update lib/landscape/ client/ package/ binaries ./ InRelease lib/landscape/ client/ package/ binaries ./ InRelease lib/landscape/ client/ package/ binaries ./ Release lib/landscape/ client/ package/ binaries ./ Release landscape/ client/ package/ binaries/ ./Release (2: No such file or directory) mirror/ ubuntu xenial InRelease [247 kB] mirror/ ubuntu xenial-updates InRelease mirror/ ubuntu xenial-backports InRelease mirror/ ubuntu xenial-security InRelease var/lib/ landscape/ client/ package/ binaries ./ Release' does not have a Release file.
Get:1 file:/var/
Ign:1 file:/var/
Get:2 file:/var/
Err:2 file:/var/
File not found - /var/lib/
Get:3 http://
Hit:4 http://
Hit:5 http://
Hit:6 http://
Reading package lists... Done
E: The repository 'file:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
apt-cache policy landscape-client 16.04.7 16.04.7 16.04.7 500 mirror/ ubuntu xenial-updates/main amd64 Packages dpkg/status mirror/ ubuntu xenial/main amd64 Packages
landscape-client:
Installed: 16.03-0ubuntu2.
Candidate: 16.03-0ubuntu2.
Version table:
*** 16.03-0ubuntu2.
500 http://
100 /var/lib/
16.03-0ubuntu2 500
500 http://
This can be easily worked around by: sources. list.d/ _landscape- internal- facade. list
* Remove the file /etc/apt/
* add-apt-repository ppa:landscape/19.01
* apt install landscape-client
apt-cache policy landscape-client git.8e52e1d~ ubuntu16. 04.1 git.8e52e1d~ ubuntu16. 04.1 git.8e52e1d~ ubuntu16. 04.1 500 ppa.launchpad. net/landscape/ 19.01/ubuntu xenial/main amd64 Packages dpkg/status 03-0ubuntu2. 16.04.7 500 mirror. glacier. dev/ubuntu xenial-updates/main amd64 Packages mirror. glacier. dev/ubuntu xenial/main amd64 Packages
landscape-client:
Installed: 18.03~1070~
Candidate: 18.03~1070~
Version table:
*** 18.03~1070~
500 http://
100 /var/lib/
16.
500 http://
16.03-0ubuntu2 500
500 http://