On jammy, this is fine, as the main sources are all in sources.list. On noble and newer, the main sources are in source.list.d/ubuntu.sources, and therefore wouldn't be restored when repo profile is unapplied.
This can definitely be considered a currently-existing bug in >= noble and should be fixed. I would prefer this be fixed as part of this SRU as it's intimately related to the changes already present here. Basically what I'm saying is that I'm okay with the "doesn't un-save files in sources.list.d" on focal and jammy, but I'm not okay with that behaviour in noble, plucky, and later versions. In other words, I think this passes validation for focal and jammy but fails validation for noble and plucky (and technically oracular, but it's out-of-support now, right). ** Tags removed: verification-needed-jammy verification-needed-noble verification-needed-oracular ** Tags added: verification-done-jammy verification-failed-noble verification-failed-oracular verification-failed-plucky ** Tags removed: verification-failed-plucky -- 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
