plasma-discover updates cannot handle apt *.sources files

Bug #2059776 reported by Gordon Lack
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
plasma-discover (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Recent additional software sources from launchpad (e.g. grub-customizer, kubuntu backports) drop *.sources files into /etc/apt/sources.list.d/.

It seems that plasma-discover cannot handle these. They do not show up in the list of configurable sources.

And, even worse than that, it seems that if you have sufficient *.sources files (I had 5 on a newly installed 23.10 system) the entire Default source section is absent from the plasma-discover Settings page! (I got it back by copying over the older, mostly *.list entries and keys from an older system).

PS: I've had to report the package here as "don't know" as the search doesn't recognize plasma-discover, and ubuntu-bug doesn't let me choose "Other problem" as an option (-> You need to specify a package or a PID. See --help for more information.)

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Mar 29 13:33:50 2024
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2024-03-06 (23 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
SourcePackage: ubiquity
Symptom: installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gordon Lack (gordon-lack) wrote :
affects: ubuntu → plasma-discover (Ubuntu)
Revision history for this message
KDE (kde-community) wrote :

please tell me sudo dpkg -l plasma-discover
 output. I cannot reproduce in Jammy with backports enabled. Mantic will not get anymore updates so I need to see if there is a patch... Seems like a huge bug to have slipped past qa though.

Changed in plasma-discover (Ubuntu):
status: New → Incomplete
Revision history for this message
Gordon Lack (gordon-lack) wrote :

Note that this is being reported against mantic (23.10) so what Jammy can/cannot do is not really relevant.

The bit about the entire Default section disappearing seems to have sorted itself out, but the absence of any information about sources configured using *.sources files is still present.

This applies both to the list shown in "Settings/Default source" and the "Software Sources/Other Software" tab.

I'll attach the screenshots and the sources/list.d and trusted.gpg.d directories that led to them (these correspond to the same repositories, but Sources-1 just has 1 *.sources file (winehq) as it has been upgraded from Jammy with each 6-month release (just editing the release name in the *.list files) whereas Sources-5 is from a fresh install of Mantic on a new system with recent add-apt-repository runs (mostly form Launchpad), which now produces *.sources files.

The plasma-discover version is:

root@parent:/local/configs# dpkg -l plasma-discover | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-=================================-============-==================================
ii plasma-discover 5.27.10-0ubuntu1~ubuntu23.10~ppa1 amd64 Discover software management suite

Revision history for this message
Gordon Lack (gordon-lack) wrote :
Revision history for this message
Gordon Lack (gordon-lack) wrote :
summary: - Updates cannot handle apt *.sources files
+ plasma-discover updates cannot handle apt *.sources files
Revision history for this message
Janik Lehmann (thecrazygecko) wrote :

It seems to be the same on my side after the update to Ubuntu 24.04 (there is now the ubuntu.source also in this folder. With that I have also 5 files). The entire section is then not shown. (plasma-discover version: discover 5.27.11)

Revision history for this message
Mike Burgener (mbgeversys) wrote :

Hi, having the same issue.

This makes plasma-discover almost unusable under 24.04 .

For what reason the Bug has been marked Incomplete?

Revision history for this message
Mike Burgener (mbgeversys) wrote :

Confirmed by @thecrazygecko and @mbgeversys

Changed in plasma-discover (Ubuntu):
status: Incomplete → Confirmed
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.