Univention Bugzilla – Bug 57406
screen is no longer installed by default
Last modified: 2024-07-03 15:16:51 CEST
I installed a fresh UCS5-0-8 ucs-kt-instance-create -O UCS -A amd64 -i /mnt/omar/vmwares/iso-images/ucs/5.0-8/UCS_5.0-8-amd64.iso -s 20G -m 4GiB -N ucs-508-43-244 and updated to the latest errata root@sonne:~# univention-upgrade Starting univention-upgrade. Current UCS version is 5.0-8 errata1060 Checking for local repository: none Checking for package updates: found The following packages will be upgraded: univention-management-console,univention-management-console-web-server,univention-management-console-server,python3-univention-management-console,univention-management-console-login,univention-management-console-frontend,python-univention-management-console,univention-management-console-module-diagnostic,libcupsimage2,cups-common,cups-bsd,cups-client,libcups2,firefox-esr,univention-errata-level,univention-management-console-web-server-fix Do you want to continue [Y|n]?Y Starting package upgrade done Starting univention-upgrade. Current UCS version is 5.0-8 errata1068 Checking for local repository: none Checking for package updates: none Checking for app updates: none Checking for release updates: none Setting update/available and still screen is not available root@sonne:~# screen -bash: screen: Kommando nicht gefunden. This is important opening support reverse tunnel. We do expect this to be installed!
I suspect this package coming from $ apt show univention-updater | grep screen Recommends: screen This is still the case in 5.0-8. But indeed, it is not installed. Maybe we now create templates (which should already include univention-updater) with --no-install-recommends? Btw 1: I neither had the package in 5.0-7. Btw 2: It still counts as "maintained", as in: it is not listed in "univention-list-installed-unmaintained-packages"
(In reply to Dirk Wiesenthal from comment #1) > I suspect this package coming from > > $ apt show univention-updater | grep screen > Recommends: screen > > This is still the case in 5.0-8. But indeed, it is not installed. Maybe we > now create templates (which should already include univention-updater) with > --no-install-recommends? > > Btw 1: I neither had the package in 5.0-7. > Btw 2: It still counts as "maintained", as in: it is not listed in > "univention-list-installed-unmaintained-packages" Yes it was the case in 5.0-7, this was discussed in the chat, but nothing changed, so here is the bug
I added screen to the DVD again. Nightly tests show it is installed (00_checks.06_list_installed_packages). univention-dvd (5.0.5-2) 67250baa4127 | Bug #57406: Add screen to the DVD packages so that it can be installed as recommendation from univention-updater (useful for Support) It was a change done during 5.0-6 development in an effort to optimize DVD size. So all new machines with 5.0-6, 5.0-7, 5.0-8 will have this problem. 5.0-9 installations will be fine. (Interestingly, 5.2-0 was never affected) I will have a look if we can retro-actively install screen during univention-upgrade.
Package: univention-support-info Version: 6.0.0-7 Branch: 5.0-0 Scope: errata5.0-8 Added screen as "Recommends:" to univention-support-info. This should install it during univention-upgrade. QA: univention-support-info has its own repository. A cherry-pick to 5.2-0 is unnecessary as it is already Recommended by univention-updater. And because univention-support-info.git has no "UCS branches" anyway.
Added 00_checks/31_check_package_installations that currently only checks for screen so that this never happens again. ucs-test (10.0.22-14) 39771c53eb70 | Bug #57406: Add new test to verify screen is installed Cherry-picked to 5.2 as well
(In reply to Dirk Wiesenthal from comment #7) > Added 00_checks/31_check_package_installations that currently only checks With abyssal shell code: - no quoting - incorrect locale handling, e.g. none Searching for pre-existing code would have helped: `git grep -e checkpkg -e requiresoftware -- lib/base.sh`
*** Bug 57411 has been marked as a duplicate of this bug. ***
Thanks for the hint. I prettified 00_checks/31_check_package_installations
<https://errata.software-univention.de/#/?erratum=5.0x1080>