linuxmint / mint22-beta

BETA Bug Squash Rush
33 stars 1 forks source link

mintinstall: after installing an app flatpak cannot be launched #13

Closed haggen88 closed 4 months ago

haggen88 commented 4 months ago

after installing a flatpak app, it cannot be launched, either from mintinstall or the cinnamon menu: (tested in live usb mode - mint-common 2.3.3)

e.g flatseal:

mint@mint:~$ mintinstall MintInstall: low resolution detected (768px height), limiting window height. MintInstall: Detected system architecture: 'x86_64' MintInstall: Deleting old screenshots Mintinstall startup took 4691.304 ms MintInstall: No new reviews Launching app with Popen: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=com.github.tchx84.Flatseal com.github.tchx84.Flatseal bwrap: Creating new namespace failed: Permission denied error: ldconfig failed, exit status 256

mint@mint:~$ cinnamon-remove-application /var/lib/flatpak/exports/share/applications/com.github.tchx84.Flatseal.desktop dpkg-query: no path found matching pattern /var/lib/flatpak/exports/share/applications/com.github.tchx84.Flatseal.desktop Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mintcommon/installer/installer.py", line 316, in _idle_cache_load_done self._init_cb() File "/usr/lib/linuxmint/mintinstall/mintinstall-remove-app.py", line 49, in on_installer_ready print("Package '%s' is not installed" % self.pkginfo.name) ^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'name' ^CTraceback (most recent call last): File "/usr/lib/linuxmint/mintinstall/mintinstall-remove-app.py", line 125, in Gtk.main() File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1692, in main with register_sigint_fallback(Gtk.main_quit): File "/usr/lib/python3.12/contextlib.py", line 144, in exit next(self.gen) File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 237, in register_sigint_fallback signal.default_int_handler(signal.SIGINT, None) KeyboardInterrupt Traceback (most recent call last): Traceback (most recent call last): File "/usr/bin/mintinstall-remove-app", line 6, in File "/usr/bin/cinnamon-remove-application", line 195, in sys.exit(subprocess.call(["/usr/lib/linuxmint/mintinstall/mintinstall-remove-app.py"] + sys.argv[1:])) mainwin = MintRemoveWindow(path) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/cinnamon-remove-application", line 28, in init ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 391, in call if not self.try_remove_flatpak(desktopFile): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/cinnamon-remove-application", line 64, in try_remove_flatpak return p.wait(timeout=timeout) retcode = flatpak_remover.wait() ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 1264, in wait File "/usr/lib/python3.12/subprocess.py", line 1264, in wait return self._wait(timeout=timeout) return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 2053, in _wait File "/usr/lib/python3.12/subprocess.py", line 2053, in _wait (pid, sts) = self._try_wait(0) (pid, sts) = self._try_wait(0) ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 2011, in _try_wait File "/usr/lib/python3.12/subprocess.py", line 2011, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) (pid, sts) = os.waitpid(self.pid, wait_flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt KeyboardInterrupt