Does not work with Ubuntu sources in deb822 format

Bug #2033949 reported by corrado venturini
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Committed
Undecided
Unassigned
Mantic
Won't Fix
Undecided
Unassigned
software-properties (Ubuntu)
Fix Released
Low
Julian Andres Klode
Mantic
Won't Fix
Low
Julian Andres Klode

Bug Description

On my Mantic I have sources in new deb822 format.
Starting software-properties-gtk seems my server is Main server, but from /etc/apt/sources.list.d/ubuntu.sources I see server from Italy and I software-properties-gtk seems unable to change.

corrado@corrado-n16-mm-0901:~$ cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb
URIs: http://it.archive.ubuntu.com/ubuntu
Suites: mantic mantic-updates mantic-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://it.archive.ubuntu.com/ubuntu
Suites: mantic-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

corrado@corrado-n16-mm-0901:~$

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: software-properties-gtk 0.99.39
ProcVersionSignature: Ubuntu 6.3.0-7.7-generic 6.3.5
Uname: Linux 6.3.0-7-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 2 10:33:12 2023
InstallationDate: Installed on 2023-09-01 (1 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230901)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
summary: - Doesnot work with sources in deb822 format
+ Does not work with sources in deb822 format
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Does not work with sources in deb822 format

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
tags: added: rls-mm-incoming
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/2033949

tags: added: iso-testing
Changed in software-properties (Ubuntu):
importance: Undecided → High
Revision history for this message
Nick Rosbrook (enr0n) wrote :

The support for deb822 in software-properties is actively being developed.

Changed in software-properties (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
tags: added: foundations-todo
removed: rls-mm-incoming
tags: added: fr-3189
Revision history for this message
corrado venturini (corradoventu) wrote :

According bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2036288
should i copy my sources.list from an old installation and remove sources.list.d/ubuntu.sources in deb822 format? Thanks.

Changed in software-properties (Ubuntu Mantic):
status: Confirmed → Fix Released
Revision history for this message
Julian Andres Klode (juliank) wrote :

For 23.10, we will support deb822 sources for third party sources, especially PPAs, but due to complex interactions did not fully manage to create a decent experience for ubuntu.sources so far..

So in my local git branches:

The bits I got working correctly still ended up splitting paragraphs into multiple ones and not merging them back again, so if you enabled a component and disabled it again, you suddenly had two paragraphs.

There's missing bits still were it writes to sources.list if you edit ubuntu.sources, actually generates duplicate entries and then stops working.

Changed in software-properties (Ubuntu Mantic):
status: Fix Released → In Progress
summary: - Does not work with sources in deb822 format
+ Does not work with Ubuntu sources in deb822 format
Revision history for this message
corrado venturini (corradoventu) wrote :

Installing from Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20231004) I see the sources.list in the old format and /etc/apt/sources.list.d/ubuntu.sources no longer exist, so I think this bug is to be changed to Invalid? or Fixed?

Revision history for this message
Julian Andres Klode (juliank) wrote :

Well the bug remains nonetheless, just the importance gets lower

Changed in software-properties (Ubuntu Mantic):
importance: High → Low
Revision history for this message
Julian Andres Klode (juliank) wrote :

Setting the mantic tasks to Won't Fix as the changes to python-apt to enable deb822 ubuntu.sources were larger than anticipated.

Changed in software-properties (Ubuntu):
status: In Progress → Fix Committed
Changed in python-apt (Ubuntu):
status: New → Fix Committed
Changed in software-properties (Ubuntu Mantic):
status: In Progress → Won't Fix
Changed in python-apt (Ubuntu Mantic):
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.99.42

---------------
software-properties (0.99.42) noble; urgency=medium

  * Support deb822 lists for Ubuntu sources (LP: #2033949)
  * Bump python3-apt dependency to 2.7.1~

 -- Julian Andres Klode <email address hidden> Tue, 05 Dec 2023 18:47:47 +0100

Changed in software-properties (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

This did not fix the issue, but the issue is now being tracked at LP: #2053228

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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