Bug 405132 - Discover reports no updates No Internet connectivity
Summary: Discover reports no updates No Internet connectivity
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.15.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-06 04:13 UTC by Gene Soo
Modified: 2021-11-08 14:19 UTC (History)
4 users (show)

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


Attachments
attachment-2804-0.html (1.03 KB, text/html)
2019-03-16 22:01 UTC, Gene Soo
Details
Additional Screenshots to support Aleix's Ping question (102.51 KB, application/gzip)
2021-01-15 05:12 UTC, Gene Soo
Details
Additional Screenshots to support Aleix's Ping question (102.51 KB, application/gzip)
2021-01-15 05:17 UTC, Gene Soo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gene Soo 2019-03-06 04:13:06 UTC
SUMMARY


STEPS TO REPRODUCE
1. Launch Discover 
2. Click on No Updates under About
3) Click on Check for Updates


OBSERVED RESULT
4) Error message received "Cannot refresh cache whilst offline"

EXPECTED RESULT
I expected to see a list of packagaes to install.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
This is occurring on the Ubuntu Server 19.04 daily drop with Kubuntu installed on top.
Comment 1 Aleix Pol 2019-03-16 20:11:25 UTC
And you have proper internet connection?
Do you get a similar issue with apt or any other client?
Comment 2 Gene Soo 2019-03-16 22:01:31 UTC
Created attachment 118851 [details]
attachment-2804-0.html

Discover reported No Internet Connection. Web browsing completely worked
and SUDO APT commands worked to perform standard maintenance update and app
installs in spite of the negative connection report from Discover.

Gene

On Sat, Mar 16, 2019 at 3:11 PM Aleix Pol <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=405132
>
> --- Comment #1 from Aleix Pol <aleixpol@kde.org> ---
> And you have proper internet connection?
> Do you get a similar issue with apt or any other client?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Aleix Pol 2020-12-01 19:27:13 UTC
Can you check if you still get an error when running "pkcon refresh"? This is PackageKit not detecting your internet connection.

Are you not using network manager?
Comment 4 Aleix Pol 2021-01-14 19:32:11 UTC
Ping?
Comment 5 Gene Soo 2021-01-15 05:12:23 UTC
Created attachment 134877 [details]
Additional Screenshots to support Aleix's Ping question
Comment 6 Gene Soo 2021-01-15 05:17:08 UTC
Created attachment 134878 [details]
Additional Screenshots to support Aleix's Ping question

Answering Aleix's inquiry concerning Ping. 
Attaching another file with two screenshots for reference.
I had a little difficulty recreating the problem however I was able to recreate the issue following these precise steps.
1) Install Ubuntu Live Server Daily Build 21.04.
2) Install packages kubuntu-desktop kubuntu-restricted-extras kubuntu-restricted-addons
3) On First boot look for Discovery notification in system tray for updates. In this particular case, I had performed a apt Update/upgrade/dist-upgrade/autoremove before first 
boot into Kubuntu Desktop so there was no Discovery available update notification
4) Launch Discovery. First entry yielded screenshot "Check Internet Connectivity" screen.
5) Open Konsole and issue Ping. Ping results in the second screen shot.

Regarding my comment about difficulty in recreating, on a previous attempt, I launched Discovery and did not have the "Check Internet Connectivity" screen. There were updates available and were listed properly.
Comment 7 Bug Janitor Service 2021-01-30 04:33:15 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 Gene Soo 2021-01-30 04:51:50 UTC
Changing status to Reported based on 2021-01-15 posting.
Comment 9 Nate Graham 2021-04-07 20:28:43 UTC
Cannot reproduce currently (git master everything) but I know we have gotten many reports of this in the past.

Gene, which version of Discover are you using? Is it still 5.19.5, or a newer one?
Comment 10 Gene Soo 2021-04-10 03:40:54 UTC
I freshly installed Ubuntu Live Server Daily 21.04 with Kubuntu Desktop added and was able to recreate the problem. This was running under a Virtual Box guest machine. The About level reported in Discovery is 5.18.5.
Comment 11 gfunk 2021-11-07 09:33:25 UTC
Had the same issue, installed Arch with the entire KDE-Applications pack

Open discover and it says no internet connection

installed packagekit-qt5 which pulled 2 other dependencies now Discover works properly

Can packagekit be included in the KDE-Applications bundle? simple fix..
Comment 12 Nate Graham 2021-11-07 16:47:06 UTC
That's up to the Arch packagers. So far they have not been interested in doing so. :( Feel free to ask them again, though I suspect you'll get the same answer.
Comment 13 gfunk 2021-11-08 08:04:57 UTC
Ah ok.. How about a startup check and error handling, can you update the error message to say "packagekit-qt5 is not installed"?
Comment 14 Nate Graham 2021-11-08 14:19:22 UTC
It already does that, in the case that you don't also have the flatpak or snap backend installed. Because it is a valid use case to use Discover for snaps and flatpaks and addons, but not distro apps. We can't read the user's mind and know that they did this intentionally.