[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
This bug was fixed in the package ubuntu-release-upgrader - 1:25.10.4 --- ubuntu-release-upgrader (1:25.10.4) questing; urgency=medium * setup.cfg: xml-files -> xml_files to fix FTBFS -- Nick Rosbrook Tue, 03 Jun 2025 14:42:33 -0400 ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
Building for Questing requires replacing `xml-files` by `xml_files` in setup.cfg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
This bug was fixed in the package ubuntu-release-upgrader - 1:25.04.16 --- ubuntu-release-upgrader (1:25.04.16) plucky; urgency=medium * data: remove extraneous comma in data/DistUpgrade.cfg (LP: #2110594) * data: add KeyDependencies= section for ubuntustudio-desktop-core (LP: #2110970) -- Nick Rosbrook Fri, 16 May 2025 07:58:55 -0400 ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
Test #2: ubuntu@ubuntu:~$ do-release-upgrade --proposed --frontend DistUpgradeViewKDE [...] No error was shown during the upgrade. After: ubuntu@ubuntu:~$ grep -m1 need_server_mode /var/log/dist-upgrade/main.log 2025-05-16 12:46:20,347 DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps for 'ubuntustudio-desktop') ubuntu@ubuntu:~$ grep "failed to mark" /var/log/dist-upgrade/main.log ubuntu@ubuntu:~$ grep "guessing" /var/log/dist-upgrade/main.log ** Tags removed: verification-needed verification-needed-plucky ** Tags added: verification-done verification-done-plucky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
** Description changed: [Impact] There is a notion of "server" and "desktop" mode in upgrades. This is a historical concept, with little apparent difference in behavior today. When running an upgrade in e.g. a LXD container, one normally sees in the logs: DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode This is expected. On upgrades to plucky, however, we see: DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps for 'ubuntustudio-desktop-core') This is caused by the fact that DistUpgrade.cfg does not define ubuntustudio-desktop-core.KeyDependencies. This has no apparent impact on the result of the upgrade, but it is nonetheless wrong, and the key should be defined for consistency. [Test Plan] Test #1: Perform an upgrade in a LXD container from oracular to plucky: $ lxc launch ubuntu:oracular oracular $ lxc exec oracular bash # do-release-upgrade --proposed Walk through the steps of the upgrade. At the end, check /var/log/dist- upgrade/main.log and confirm that the following is found: DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode Test #2: Ensure that this change does not regress Studio upgrades. Perform an upgrade of an Ubuntu Studio desktop installation from oracular to plucky. Install the system on a VM in any method you wish. Run the upgrade: $ do-release-upgrade --proposed -f DistUpgradeViewKDE After the upgrade, confirm that the following log message is in /var/log/dist-upgrade/main.log: - DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg - 'ubuntustudio-desktop-core')" + DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps + for 'ubuntustudio-desktop') [Where problems could occur] The KeyDependencies list is used in two places. First is to determine the result of need_server_mode(). The absence of ubuntustudio-desktop- core.KeyDependencies *is* this bug, and is what this fix/test plan addresses. The other use is to guess the metapackage if it is not installed. This fix should also address a potential scenario where a Studio installation accidentally removed ubuntustudio-desktop-core. Future problems would be related to need_server_mode(), and the metapackage installation guessing. As with any configuration change like this, typos would mean the fix is incomplete. The test plans inspect logs to ensure consistency. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
Test #1: nr@zero:~$ lxc launch ubuntu:oracular oracular nr@zero:~$ lxc exec oracular bash root@oracular:~# do-release-upgrade --proposed [...] root@oracular:~# grep -m1 need_server_mode /var/log/dist-upgrade/main.log 2025-05-16 15:15:24,328 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
Hello Nick, or anyone else affected, Accepted ubuntu-release-upgrader into plucky-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:25.04.16 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- plucky to verification-done-plucky. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-plucky. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Status: Triaged => Fix Committed ** Tags added: verification-needed verification-needed-plucky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/485831 ** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/485832 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
This is hidden by https://bugs.launchpad.net/ubuntu/+source/ubuntu- release-upgrader/+bug/2110594, but when that is fixed, this needs to go along with it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2110970] Re: upgrade runs in desktop mode "because of key deps for ubuntustudio-desktop-core", on non-Studio
** Description changed: [Impact] There is a notion of "server" and "desktop" mode in upgrades. This is a historical concept, with little apparent difference in behavior today. When running an upgrade in e.g. a LXD container, one normally sees in the logs: DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode This is expected. On upgrades to plucky, however, we see: + DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps + for 'ubuntustudio-desktop-core') + + This is caused by the fact that DistUpgrade.cfg does not define + ubuntustudio-desktop-core.KeyDependencies. + + This has no apparent impact on the result of the upgrade, but it is + nonetheless wrong, and the key should be defined for consistency. + [Test Plan] Test #1: Perform an upgrade in a LXD container from oracular to plucky: $ lxc launch ubuntu:oracular oracular $ lxc exec oracular bash # do-release-upgrade --proposed - Walk through the steps of the upgrade. At the end, check the logs and - confirm that the following is found: + Walk through the steps of the upgrade. At the end, check /var/log/dist- + upgrade/main.log and confirm that the following is found: DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode Test #2: Ensure that this change does not regress Studio upgrades. Perform an upgrade of an Ubuntu Studio desktop installation from oracular to plucky. Install the system on a VM in any method you wish. Run the upgrade: $ do-release-upgrade --proposed -f DistUpgradeViewKDE After the upgrade, confirm that the following log message is in /var/log/dist-upgrade/main.log: DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntustudio-desktop-core')" [Where problems could occur] The KeyDependencies list is used in two places. First is to determine the result of need_server_mode(). The absence of ubuntustudio-desktop- core.KeyDependencies *is* this bug, and is what this fix/test plan addresses. The other use is to guess the metapackage if it is not installed. This fix should also address a potential scenario where a Studio installation accidentally removed ubuntustudio-desktop-core. Future problems would be related to need_server_mode(), and the metapackage installation guessing. As with any configuration change like this, typos would mean the fix is incomplete. The test plans inspect logs to ensure consistency. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110970 Title: upgrade runs in desktop mode "because of key deps for ubuntustudio- desktop-core", on non-Studio To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs