elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
542 stars 102 forks source link

Appcenter stays apparently doing nothing #2096

Closed Gabriel-p closed 3 hours ago

Gabriel-p commented 9 months ago

What Happened?

Appcenter says there are updates available so I opened it. App looks like this when in fact there are updates available (I checked in terminal)

Captura de pantalla de 2023-10-26 17 13 53

Steps to Reproduce

Open Appcenter when an update is informed as available

Expected Behavior

Updates should be shown

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

garzajual commented 9 months ago

Me too.

adrianosiqueira commented 9 months ago

Same here, but I am running it in VirtualBox 7.0.12.

xvelasqu commented 8 months ago

I solved this by running: flatpak repair --system flatpak repair --user

sauntor commented 8 months ago

I solved this by running: flatpak repair --system flatpak repair --user

It can't work for me

sauntor commented 8 months ago

But if you launch AppCenter from terminal, it may works sometimes.

io.elementary.appcenter --g-fatal-warnings -u
donnie-j commented 7 months ago

This appears to be a long running problem, I think perhaps related to threading model. If the processes it's running do something unexpected it just hangs, and the WM eventually asks if you want to kill it.

Fixing flatpak (IMHO, flatpak is yet another bad idea) might mitigate for a while, but the problem returns. This needs to be fixed as a high priority, I've had to revert to apt-get for just about everything.

JohnDumpling commented 6 months ago

flatpak-update currently shows no available updates, but AppCenter never shows any available updates anymore. Confirmed on 3 devices of various age including a virtual machine on my main laptop. I switched one device to Zorin OS (as it has to be reliable, it is for a relative), one I kept on eOS (for testing purposes). I'm patient, hopefully the proposed separation of flatpak & system updates will fix this high priority issue.

zeebok commented 5 months ago

I can confirm this issue and think I know the cause of it. It seems like if you go to the updates page while the little "Checking for Updates" tool tip at the bottom is still going, it should reveal it properly otherwise you will see what you describe. I am going to try a fix this weekend.

Gabriel-p commented 3 months ago

What @zeebok says appears to be right. I you wait until the update checking is finished, it won't show the available updates. You have to click the orange arrow icon to the top right while the checking is happening

zeebok commented 3 months ago

I do also notice that this isn't a present issue in OS8 with the newer iterations of AppCenter, and the portion of code I thought was the cause is not really changed between the versions. I will have to dive a little deeper to figure out what is happening.

diogopessoa commented 1 month ago

I also face this same problem in the stable 7.1 version of elementary. But in the development version 8, I haven't had this problem so far. I'll keep testing to see if this behavior happens again or not.

zeebok commented 2 days ago

I found a fix for this in OS 7 and if it gets merged will mean it will be patched for everyone

ryonakano commented 3 hours ago

Closing as fixed in #2205—it looks like the Fixes keyword in the PR didn't work here, maybe because the target branch is not main. Thank you @zeebok for the fix!