| Summary: | Discover says cannot update no network connection | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | deadlydud <kdebugs> |
| Component: | discover | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | Keywords: | triaged, usability |
| Priority: | NOR | ||
| Version First Reported In: | 5.8.4 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | test file | ||
|
Description
deadlydud
2016-12-19 09:03:50 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.
Please report the output of this little program to figure out how to proceed on your issue. Thanks 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
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! 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! |