Bug 430256 - Discover does not install updates for some packages reporting them as being 0 B
Summary: Discover does not install updates for some packages reporting them as being 0 B
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (interactive) (show other bugs)
Version: 5.20.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 11:42 UTC by Riccardo Robecchi
Modified: 2024-07-09 19:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the issue (56.75 KB, image/png)
2020-12-11 11:42 UTC, Riccardo Robecchi
Details
waydroid 0B (50.20 KB, image/png)
2022-02-09 04:53 UTC, johnathan
Details
waydroid repo (82.41 KB, image/png)
2022-02-09 04:53 UTC, johnathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2020-12-11 11:42:31 UTC
Created attachment 134001 [details]
Screenshot of the issue

SUMMARY
Discover presents the user with the availability of updates for some packages, like Waterfox or Palemoon, but then reports them as being 0 B and does not update them when asked to.

STEPS TO REPRODUCE
1. install Waterfox or Palemoon through their PPAs on Ubuntu (or derivatives, such as Neon)
2. wait for an update to be offered
3. try to update it

OBSERVED RESULT
The package is not updated.

EXPECTED RESULT
The package is updated.

SOFTWARE/OS VERSIONS
Linux: KDE Neon Focal
KDE Plasma Version: 5.20.4 
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
The packages are correctly updated when using apt or Muon. The problem seems to be that the version stays the same, for whatever reason, and Discover then refuses to update them.
Comment 1 Nate Graham 2020-12-17 17:30:21 UTC
A few questions:

1. Are all PPA-originated packages listed as 0B, or just this one, or just some?
2. If you wait a little while, does the real size get populated?
3. If the real size is eventually populated, does the update succeed if you tell it to update after that has happened?
Comment 2 Riccardo Robecchi 2020-12-18 10:39:08 UTC
(In reply to Nate Graham from comment #1)
> A few questions:
> 
> 1. Are all PPA-originated packages listed as 0B, or just this one, or just
> some?
> 2. If you wait a little while, does the real size get populated?
> 3. If the real size is eventually populated, does the update succeed if you
> tell it to update after that has happened?

So far only Waterfox and Palemoon have exhibited this behaviour on my install. PPAs are fine, while these packages are hosted on OpenSUSE's infrastructure.
The real size is never populated and the update never succeeds, so I need to use either the terminal or Muon to carry out the update. I've been observing this bug for a while (months) and in the past I tried waiting for a few days for the correct size to appear and for the update to go through, but that never happened.
Comment 3 Nate Graham 2020-12-18 17:20:47 UTC
So these packages don't come from PPAs but rather an OBS repo? What is the URL?
Comment 4 Riccardo Robecchi 2020-12-18 19:11:45 UTC
(In reply to Nate Graham from comment #3)
> So these packages don't come from PPAs but rather an OBS repo? What is the
> URL?

Yes, sorry, I got confused... The URLs are as follows:
- Waterfox: https://build.opensuse.org/repositories/home:hawkeye116477:waterfox
- Palemoon: https://software.opensuse.org//download.html?project=home%3Astevenpusser&package=palemoon
Comment 5 Nate Graham 2020-12-18 19:13:18 UTC
Thanks. How did you add these repos?
Comment 6 Riccardo Robecchi 2020-12-19 15:26:11 UTC
(In reply to Nate Graham from comment #5)
> Thanks. How did you add these repos?

Following the instructions provided there (so add-apt-repository etc).
Comment 7 Bug Janitor Service 2021-01-03 04:34:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Riccardo Robecchi 2021-01-03 12:17:14 UTC
Provided information above.
Comment 9 johnathan 2022-02-09 04:53:18 UTC
i am having the same issues. screenshots attached. my problem app is waydroid
Comment 10 johnathan 2022-02-09 04:53:38 UTC
Created attachment 146477 [details]
waydroid 0B
Comment 11 johnathan 2022-02-09 04:53:56 UTC
Created attachment 146478 [details]
waydroid repo
Comment 12 Aleix Pol 2022-02-09 17:31:02 UTC
Is it possible that these files are already downloaded? That would be a reason for packagekit to report 0B.
Comment 13 Riccardo Robecchi 2022-02-09 17:47:29 UTC
(In reply to Aleix Pol from comment #12)
> Is it possible that these files are already downloaded? That would be a
> reason for packagekit to report 0B.

I wouldn't bet on it. Installing them through Muon, as an example, downloads them from scratch, and the same happens downloading them with apt-get from the terminal. Incidentally, on my tablet I have had the same issue with Waydroid as Johnathan above.
Marking the bug as "confirmed" since it affects more people than just myself.