I do not think the GTK version is fixed.

I am seeing the issue as seen in the screenshot.

Tell me to open a new bug if needed.

`sources.list`
```
# Ubuntu sources have moved to the /etc/apt/sources.list.d/ubuntu.sources
# file, which uses the deb822 format. Use deb822-formatted .sources files
# to manage package sources in the /etc/apt/sources.list.d/ directory.
# See the sources.list(5) manual page for details.
```

`ubuntu.sources`
```
```
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Ubuntu distribution repository
##
## The following settings can be adjusted to configure which packages to use 
from Ubuntu.
## Mirror your choices (except for URIs and Suites) in the security section 
below to
## ensure timely security updates.
##
## Types: Append deb-src to enable the fetching of source package.
## URIs: A URL to the repository (you may add multiple URLs)
## Suites: The following additional suites can be configured
##   <name>-updates   - Major bug fix updates produced after the final release 
of the
##                      distribution.
##   <name>-backports - software from this repository may not have been tested 
as
##                      extensively as that contained in the main release, 
although it includes
##                      newer versions of some applications which may provide 
useful features.
##                      Also, please note that software in backports WILL NOT 
receive any review
##                      or updates from the Ubuntu security team.
## Components: Aside from main, the following components can be added to the 
list
##   restricted  - Software that may not be under a free license, or protected 
by patents.
##   universe    - Community maintained packages.
##                 Software from this repository is only maintained and 
supported by Canonical
##                 for machines with Ubuntu Pro subscriptions. Without Ubuntu 
Pro, the Ubuntu
##                 community provides best-effort security maintenance.
##   multiverse  - Community maintained of restricted. Software from this 
repository is
##                 ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be 
under a free
##                 licence. Please satisfy yourself as to your rights to use 
the software.
##                 Also, please note that software in multiverse WILL NOT 
receive any
##                 review or updates from the Ubuntu security team.
##
## See the sources.list(5) manual page for further settings.
Types: deb
URIs: http://ports.ubuntu.com/ubuntu-ports/
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb
URIs: http://ports.ubuntu.com/ubuntu-ports/
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
```

** Attachment added: "Screenshot from 2024-04-24 23-18-46.png"
   
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2061214/+attachment/5770144/+files/Screenshot%20from%202024-04-24%2023-18-46.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/2061214

Title:
  [SRU] Software Sources is not compatible with deb822

Status in software-properties package in Ubuntu:
  Confirmed
Status in software-properties-qt package in Ubuntu:
  Fix Released
Status in software-properties source package in Noble:
  Confirmed
Status in software-properties-qt source package in Noble:
  Fix Released

Bug description:
  [ Impact ]

  Ubuntu 24.04 now uses deb822 to represent software sources for deb
  packages, instead of /etc/apt/sources.list. The complete rationale for
  this change can be found here: https://discourse.ubuntu.com/t/spec-
  apt-deb822-sources-by-default/29333

  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-properties-qt 0.99.48 or earlier.

  Reproducing the bug:
   1. From the menu, open Software Sources. Alternatively, run `sudo -E 
software-properties-qt` in a terminal.
   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-properties-qt 0.99.49.

  Intended functionality:
   1. From the menu, open Software Sources. Alternatively, run `sudo -E 
software-properties-qt` in a terminal.
   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/sources.list.d/ubuntu.sources reflects your changes.
   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/sources.list.d/ubuntu.sources reflects your changes.

  [ 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-properties-common 0.99.46
  ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
  Uname: Linux 6.8.0-22-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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)
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to noble on 2024-04-13 (0 days ago)
  mtime.conffile..etc.init.d.apport: 2024-02-22T14:20:00

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2061214/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to