https://bugs.kde.org/show_bug.cgi?id=436171

            Bug ID: 436171
           Summary: Double commented line in Discover hides all valid
                    entries from sources.list
           Product: Discover
           Version: 5.21.4
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: k...@istiophorus.org
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY
plasma-discover does not handle commented lines in /etc/apt/sources.list
properly.

STEPS TO REPRODUCE
1. add the following line to your sources.list:
# deb file://archive.local/user/pervert_penguin ./ # test
2. Start `plasma-discover` from command line, switch to settings

OBSERVED RESULT
No sources are shown (besides snap, flatpak, ...)
Get the terminal-message «Transaction error: 
PackageKit::Transaction::ErrorFailedConfigParsing "E: Syntax error in line #
deb file://archive.local/user/pervert_panda ./ # test\nW: Ignoring invalid
record(s) in sources.list file!\nE: Cannot read vendors.list file\n"
PackageKit::Transaction(0x5634082d97b0)»


EXPECTED RESULT
The tool should ignore any line beginning with #

SOFTWARE/OS VERSIONS
Discover: 5.21.4
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The same behaviour occurs in Kubuntu 20.04 (Discover 5.18, KDE/Qt:
ancientstable ;) )

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to