linuxmint / mint22-beta

BETA Bug Squash Rush
33 stars 1 forks source link

mintsources: Adding certain PPAs causes mintsources to not launch #29

Closed villamorrd closed 4 months ago

villamorrd commented 4 months ago

On a fresh install of Mint 22 Cinnamon, if you add a PPA like LibreOffice Fresh, mintsources does not launch at all.

Steps to Reproduce

  1. Add the PPA with sudo add-apt-repository ppa:libreoffice/ppa
  2. Run mintsources

Running mintsources from terminal returns this output: Screenshot_20240702_001549

haggen88 commented 4 months ago

I confirm the bug, in my case I tried to install a ppa {Proprietary GPU Drivers} and mintsources does not respond when launched from the menu or system configuration.

ppa: ppa:graphics-drivers/ppa
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

mint@mint:~$ mintsources Traceback (most recent call last): File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1896, in Application(os_codename).run() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 893, in init self.read_source_lists() File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1024, in read_source_lists source = Source(self, repo) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 408, in init self.ppa_owner, self.ppa_name = self.name.split("/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1)

scoson commented 4 months ago

Same.. I successfully added QMMP ppa and sources won't launch for me.

Traceback (most recent call last): File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1896, in <module> Application(os_codename).run() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 893, in __init__ self.read_source_lists() File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1024, in read_source_lists source = Source(self, repo) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 408, in __init__ self.ppa_owner, self.ppa_name = self.name.split("/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1)

kneekoo commented 4 months ago

Same problem for me, with these two PPAs:

ppa:libreoffice/ppa
ppa:minetestdevs/stable

Additionally, on refresh, Mint Update complains about the two PPAs using a weak algorithm (rsa1024).

MaravicMarko commented 4 months ago

Same for me:

marko@MintProBook:~$ mintsources Traceback (most recent call last): File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1896, in Application(os_codename).run() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 893, in init self.read_source_lists() File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1024, in read_source_lists source = Source(self, repo) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/linuxmint/mintSources/mintSources.py", line 408, in init self.ppa_owner, self.ppa_name = self.name.split("/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1)

Not posible to open Software Sources from Update Manager or from System Settings. I get elevation prompt, not nothing happens after I put password.

As for others, Mint update is complaning about PPAs for LibreOffice Fresh and Grub Customizer using weak algorithm. Those two are only PPAs added.

Fresh install of 22 Beta. Of additional programs, I only insatlled Nala, Vivaldi and Grub Customizer.

clefebvre commented 4 months ago

Crash fixed on github.

I still need to fix the key mechanism, it looks like it changed in Launchad.

clefebvre commented 4 months ago

Ok, regarding the signature issue, it's upstream on Launchpad and being addressed: https://answers.launchpad.net/launchpad/+question/809194.