The Packages page should only be shown if Ubiquity is installed.

Bug #1950865 reported by Cubic PPA
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
Low
Cubic PPA

Bug Description

Currently, Cubic always shows the Packages page.

(1)
This page creates configurations used by the Ubiquity installer:
- filesystem.manifest-remove
- filesystem.manifest-minimal-remove

If Ubiquity is not installed, it does not make sense to show this page.

Ubiquity is not installed in Ubuntu server, other flavors of Ubuntu may not use Ubiquity, and the user may chose to uninstall Ubiquity. In these cases the Packages page should not be shown. Furthermore, if the user installs Ubiquity, the Packages page should be shown.

Therefore, Cubic should check if Ubiquity is installed in the custom OS to determine if the Packages page should be shown.

(2)
Additionally, Cubic checks for the existence of filesystem.manifest-minimal-remove to decide if the 2nd column on the Packages page (used to select packages to be removed for a minimal install) should be shown.

Older versions of Ubiquity (<18.04) only supported removing packages for a typical install. The minimal install option was introduced in Ubuntu Bionic Beaver 18.04.

The user may install a newer version of Ubiquity (>= 18.04) or revert to an older version, so Cubic should not depend on the existence of filesystem.manifest-minimal-remove in order to show the check boxes for a minimal install.

Therefore, Cubic should check the version of Ubiquity installed in the custom OS to determine if the minimal install check boxes should be shown on the Packages page. If Ubiquity >= 18.04, the minimal install check boxes should be visible.

Cubic PPA (cubic-wizard)
Changed in cubic:
assignee: nobody → Cubic PPA (cubic-wizard)
importance: Undecided → Low
status: New → In Progress
Cubic PPA (cubic-wizard)
description: updated
Cubic PPA (cubic-wizard)
Changed in cubic:
status: In Progress → Fix Committed
Revision history for this message
Cubic PPA (cubic-wizard) wrote (last edit ):

Fix released in version 2021.11-62.

Changed in cubic:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.