Closed bryanray closed 4 months ago
How long did you wait? For me it took a pretty long time but it eventually finished.
Can you run:
MINTINSTALL_DEBUG=1 DEBUG=1 mintinstall
and paste the output when this happens.
Thanks
I am getting this as well. It appears to be running in a loop attempting to recover from a python library issue:
MINTINSTALL_DEBUG=1 DEBUG=1 mintinstall
MintInstall: Detected system architecture: 'x86_64'
Application.add_categories took 2.248 ms
mint-common (DEBUG): Installer._fp_remotes_have_changed took 7.008 ms
mint-common (DEBUG): Installer: User pkgcache is most recent, using it.
Application.do_activate took 135.228 ms
mint-common (DEBUG): PkgCache._load_cache took 240.598 ms
mint-common (DEBUG): PkgCache.__init__ took 240.653 ms
mint-common (DEBUG): Installer.initialize_appstream took 362.491 ms
mint-common (DEBUG): Installer.generate_uncached_pkginfos took 0.273 ms
Application.process_matching_packages took 39.387 ms
ReviewCache.__init__ took 266.171 ms
Loading error: 'NoneType' object has no attribute 'verified'
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1383, in on_installer_ready
self.load_landing_apps()
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1706, in load_landing_apps
self.load_banner()
File "/usr/lib/linuxmint/mintinstall/misc.py", line 16, in wrapper
res = func(*arg)
^^^^^^^^^^
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1456, in load_banner
if not pkginfo.verified:
^^^^^^^^^^^^^^^^
mint-common (DEBUG): Installer: Generating new pkgcache
mint-common (DEBUG): Installer: Processing Flatpaks for cache took 0.519 ms
MintInstall: No new reviews
ReviewCache._update_reviews_thread took 209.736 ms
mint-common (DEBUG): Installer: Processing APT packages for cache took 6107.393 ms
Application.add_categories took 2.389 ms
mint-common (DEBUG): Installer: User pkgcache is most recent, using it.
mint-common (DEBUG): PkgCache._load_cache took 336.195 ms
mint-common (DEBUG): PkgCache.__init__ took 336.266 ms
mint-common (DEBUG): Installer.initialize_appstream took 2.082 ms
mint-common (DEBUG): Installer.generate_uncached_pkginfos took 0.394 ms
mint-common (DEBUG): Full installer startup took 7744.194 ms
Application.process_matching_packages took 41.832 ms
ReviewCache.__init__ took 290.669 ms
Loading error: 'NoneType' object has no attribute 'verified'
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1383, in on_installer_ready
self.load_landing_apps()
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1706, in load_landing_apps
self.load_banner()
File "/usr/lib/linuxmint/mintinstall/misc.py", line 16, in wrapper
res = func(*arg)
^^^^^^^^^^
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1456, in load_banner
if not pkginfo.verified:
^^^^^^^^^^^^^^^^
mint-common (DEBUG): Installer: Generating new pkgcache
mint-common (DEBUG): Installer: Processing Flatpaks for cache took 0.993 ms
MintInstall: No new reviews
ReviewCache._update_reviews_thread took 127.078 ms
"Loading error: 'NoneType' object has no attribute 'verified'" appears to be what's behind this.
Ok - I guess I fixed it: I didn't have any flatpak repositories added to my flatpak configuration. I added flathub manually and tried mintinstall after that - now it works.
I have the same issue. I also do not have any Flatpak repositories, just fresh install of Mint 22.
It would be nice in the future, if Software Manager's correct functioning was not so tied down to Flatpak. Some of us don't like Flatpak and remove / disable it first thing after a fresh Mint install (not the case here, I have flatpak
and gir1.2-flatpak-1.0
still installed, haven't removed them).
Edit: after manually running
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
now SM launches correctly.
Edit 2: If I remove:
apt remove flatpak gir1.2-flatpak-1.0
then the bug comes back and SM becomes unusable again.
How can we have a Flatpak-free Software Manager? Is it possible at all? :confused:
Idea: On lines 1456 and 1637:
if not pkginfo.verified:
we can add a None
-check
if pkginfo is None or not pkginfo.verified:
although it doesn't fix the issue, just kicks it further down the road, now it complains Flatpak is not defined
.
How can we have a Flatpak-free Software Manager? Is it possible at all? 😕
Sometimes it's just a bug.
it never open, always stuck at "generating cache "
on cinnamon 21.1.3
software manager cannot open, stuck at "generating cache " fresh installation of default cinnamon and updated too, still not opening
Fresh installation and first time connect to internet, with no change in welcome page. waited for 5 minutes still not loading anything, stuck at this.