[SRU] Software Sources is not compatible with deb822
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Critical
|
Simon Quigley | ||
Noble |
Fix Committed
|
Critical
|
Simon Quigley | ||
software-properties-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
Ubuntu 24.04 now uses deb822 to represent software sources for deb packages, instead of /etc/apt/
software-properties has two graphical frontends for editing these software sources, one is GTK-based and the other is Qt-based. When the underlying change to deb822 sources was made, the GTK-based frontend and the DBus backend interface gained support.
The original bug report shown below informed us of the lack of deb822 support in the Qt frontend, which results in a broken, non-functional interface when attempting to view or edit most values on the first two tabs. The fix for this is to implement a Qt dialog for deb822 sources that somewhat matches the existing GTK interface.
[ Test Plan ]
Install software-
Reproducing the bug:
1. From the menu, open Software Sources. Alternatively, run `sudo -E software-
2. Observe that all four checkboxes on the Ubuntu Software tab (main, universe, restricted, and multiverse) are unchecked.
3. Move to the Other Software tab and observe that there are no items in the list.
Upgrade to software-
Intended functionality:
1. From the menu, open Software Sources. Alternatively, run `sudo -E software-
2. Observe that one or more checkboxes on the Ubuntu Software tab (representing main, universe, restricted, or multiverse) are checked. Toggle one or more of the checkboxes.
3. Using a text editor of some kind (perhaps Vim), confirm that /etc/apt/
4. Switch to the Other Software tab, there should be one item in the list.
5. Select that item, then click Edit at the bottom of the dialog. Make a modification to every field on the screen, or a combination of fields you would like to test. All fields should work.
6. Click the OK button at the bottom of the dialog to confirm the changes, then click Edit for that item again. The changes you made should be reflected (meaning, the changes were saved.)
7. Using a text editor of some kind (perhaps Vim), confirm that /etc/apt/
[ Where problems could occur ]
This is well-tested code. That being said, the following small edge cases exist:
- If you create a very large amount of rows, it infinitely expands the dialog without a scroll wheel. This is the same functionality as the GTK frontend.
- Error validation is not performed on the deb822 lines, they are simply written to the ubuntu.sources file. This is good as a starting point, but also relies on the appropriate update notifier handling these errors. This is the same functionality as the GTK frontend.
In a future update, this functionality could be broken by one or more of the following underlying changes:
- Changes to the software-properties backend which are only implemented for the GTK frontend.
- Changes to the location or formatting of the ubuntu.sources file.
- Regressions in the Python bindings for Qt 5, which are rare but possible.
- Regressions in Python itself.
[ Other Info ]
Ubuntu Studio's live ISO and installed system are affected by this. Only Lubuntu's installed system is affected by this.
[ Original Report ]
Upgrading Lubuntu Jammy to Lubuntu Noble using TUI results in "Software sources" not correctly updated after upgrade. Prompt= shows normal and not LTS
Used command sudo do-release-upgrade -d
Otherwise the upgrade is good
see attached screenshot
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: software-
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: LXQt
Date: Sat Apr 13 11:44:28 2024
InstallationDate: Installed on 2024-04-13 (0 days ago)
InstallationMedia: Lubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240331)
PackageArchitec
SourcePackage: software-properties
UpgradeStatus: Upgraded to noble on 2024-04-13 (0 days ago)
mtime.conffile.
description: | updated |
tags: | added: dist-upgrade jammy-to-noble |
tags: | added: rls-nn-incmong |
tags: |
added: rls-nn-incoming removed: rls-nn-incmong |
Changed in software-properties (Ubuntu): | |
status: | Incomplete → New |
summary: |
- Software sources not correctly updated after upgrade + Software sources not correctly updated after upgrade and/or new installs |
Changed in software-properties (Ubuntu): | |
assignee: | nobody → Simon Quigley (tsimonq2) |
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
Changed in software-properties (Ubuntu): | |
importance: | Undecided → Critical |
summary: |
- Software sources not correctly updated after upgrade and/or new installs + [SRU] Software Sources is not compatible with deb822 |
summary: |
- [SRU] Software Sources is not compatible with deb822 + Software Sources is not compatible with deb822 |
summary: |
- Software Sources is not compatible with deb822 + [SRU] Software Sources is not compatible with deb822 |
description: | updated |
Changed in software-properties (Ubuntu Noble): | |
milestone: | none → noble-updates |
tags: | removed: rls-nn-incoming |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/2061214
http://