Ubuntu 24.04应用商店打开后立即闪退问题求助
Hey there, sorry to hear you're dealing with this annoying crash issue on your Lenovo G560 laptop (installed on 5/6/2024). Let's go through some practical troubleshooting steps that often fix this kind of problem with the Ubuntu Software Center:
Reset the app's cache and data
Open your terminal (press Ctrl+Alt+T), then run these commands one by one:flatpak repairgnome-software --reset
After running these, close the terminal and try launching the Software Center again.Update your system packages
Outdated dependencies are a common culprit for app crashes. Run this in terminal to update everything:sudo apt update && sudo apt upgrade -y
Once the update finishes, restart your laptop and check if the app works normally.Reinstall the Flatpak version of the Software Center
If you're using the Flatpak variant, a corrupted installation might be the issue. Uninstall it first:sudo flatpak uninstall org.gnome.Software
Then reinstall it with:sudo flatpak install org.gnome.Software
Launch the app after reinstallation to test.Check crash logs for detailed clues
To get more info about why it's crashing, run this in terminal:journalctl -f | grep gnome-software
Keep the terminal open, then try opening the Software Center. When it crashes, you'll see error messages in the terminal. Sharing those logs can help pinpoint the exact problem if the above steps don't work.
Give these steps a shot one at a time, and let me know how it goes—happy to help further if needed!
备注:内容来源于stack exchange,提问作者Linux Gio

