Bug 373881 - Discover says cannot update no network connection
Summary: Discover says cannot update no network connection
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.8.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: triaged, usability
Depends on:
Blocks:
 
Reported: 2016-12-19 09:03 UTC by deadlydud
Modified: 2018-10-27 02:04 UTC (History)
0 users

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


Attachments
test file (887 bytes, text/x-csrc)
2016-12-19 12:25 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deadlydud 2016-12-19 09:03:50 UTC
Discover says cannot update no network connection, yet if I open bash I can
do sudo apt-get upgrade without problem.

Discover probably relying on knetworkmanager but system is configured with static network without knetworkmanager
Comment 1 Aleix Pol 2016-12-19 12:25:18 UTC
Created attachment 102873 [details]
test file

Discover uses PackageKit, that relies in GNetworkMonitor. The test attached will tell you whether it detects the internet connection to be present and whether it actually can find kde.org.
Comment 2 Aleix Pol 2016-12-19 12:26:07 UTC
Please report the output of this little program to figure out how to proceed on your issue.
Comment 3 Aleix Pol 2016-12-19 12:26:33 UTC
Thanks
Comment 4 deadlydud 2017-01-04 10:12:29 UTC
battles to compile it .. (had to install pkg-config libqtglib-2.0-0 glib-2.0 libglib2.0-dev)

eddie@mezzodud:~$ gcc `pkg-config --cflags --libs glib-2.0 gio-2.0` gnetworkmonitor-test.c -g -O0 -o test && ./test 
gnetworkmonitor-test.c: In function ‘main’:
gnetworkmonitor-test.c:14:2: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
  g_type_init ();
  ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from gnetworkmonitor-test.c:4:
/usr/include/glib-2.0/gobject/gtype.h:681:23: note: declared here
 void                  g_type_init                    (void);
                       ^
/tmp/ccpuJJ92.o: In function `main':
/home/eddie/gnetworkmonitor-test.c:14: undefined reference to `g_type_init'
/home/eddie/gnetworkmonitor-test.c:16: undefined reference to `g_network_monitor_get_default'
/home/eddie/gnetworkmonitor-test.c:17: undefined reference to `g_network_address_new'
/home/eddie/gnetworkmonitor-test.c:18: undefined reference to `g_network_monitor_get_network_available'
/home/eddie/gnetworkmonitor-test.c:19: undefined reference to `g_network_monitor_can_reach'
/home/eddie/gnetworkmonitor-test.c:22: undefined reference to `g_clear_error'
/home/eddie/gnetworkmonitor-test.c:25: undefined reference to `g_object_unref'
collect2: error: ld returned 1 exit status
Comment 5 Andrew Crouthamel 2018-09-26 22:18:59 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 set the bug status 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 6 Andrew Crouthamel 2018-10-27 02:04:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!