Verification
============
root@saas-landscape-jammy:~# dpkg -l | grep landscape
ii  landscape-client                23.02-0ubuntu1~22.04.7                  
amd64        Landscape administration system client
ii  landscape-common                23.02-0ubuntu1~22.04.7                  
amd64        Landscape administration system client - Common files

# Check for any .list files

root@saas-landscape-jammy:~# find /etc/apt/ -name "*.list"
/etc/apt/sources.list

# Check for any .sources files
root@saas-landscape-jammy:~# find /etc/apt/ -name "*.sources"

# Create a .sources file since there weren't any
root@saas-landscape-jammy:~# touch /etc/apt/sources.list.d/ubuntu.sources

# Create a repository profile called "test-profile" in the dashboard and
select "Associate to all instances" then wait a few minutes for the
profile to be distributed to the client. Eventually the profile appears
and the existing *.sources and *.list files move to *.sources.save and
*.list.save

root@saas-landscape-jammy:~# ls /etc/apt/
apt.conf.d  auth.conf.d  keyrings  preferences.d  sources.list  sources.list.d  
sources.list.save  trusted.gpg.d
root@saas-landscape-jammy:~# cat /etc/apt/sources.list
# Landscape manages repositories for this computer
# Original content of sources.list can be found in sources.list.save
root@saas-landscape-jammy:~# ls /etc/apt/sources.list.d/
landscape-test-profile.list  ubuntu.sources.save

# Remove profile and see that everything restores to previous state

root@saas-landscape-jammy:~# ls /etc/apt/
apt.conf.d  auth.conf.d  keyrings  preferences.d  sources.list  sources.list.d  
trusted.gpg.d
root@saas-landscape-jammy:~# cat /etc/apt/sources.list
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
...
root@saas-landscape-jammy:~# ls /etc/apt/sources.list.d/
ubuntu.sources


** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087852

Title:
  [FFe][SRU] Repository profiles only act on .list files and do not
  affect .source files

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2087852/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to