https://bugs.kde.org/show_bug.cgi?id=414368

            Bug ID: 414368
           Summary: pkcon incorrectly assumes no network is available
           Product: apper
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dantt...@gmail.com
          Reporter: edfoundkde...@galaxy.za.net
  Target Milestone: ---

SUMMARY

Apology if this not "apper" related, but I could not find pkcon KDE NEON app in
the drop-down. Please let the 
correct people know. (Richard Hughes?) http://www.packagekit.org.

pkcon does not look at active network interfaces and ASSUMES incorrectly that
network is unavailable.

root@mymachine-bash ~ # pkcon refresh
\Refreshing cache              [=========================]         
Waiting for authentication    [=========================]         
Loading cache                 [=========================]         
Finished                      [=========================]  

Fatal error: Cannot refresh cache whilst offline


root@mymachine-bash ~ # ifconfig 
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.56.1  netmask 255.255.255.0  broadcast 192.168.56.255


STEPS TO REPRODUCE
1. have a static network IP unmanaged by Network-Manager
2. run pkcon refresh .. or pkcon update
3. sit back in dismay, and then rather run apt dist-upgrade which works.

OBSERVED RESULT
it breaks

EXPECTED RESULT
Expected it to work like APT.. (it just works).
It should not rely on high-level monstrous apps like Network-Manager, go lower.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon User Edition 5.17
(available in About System)
KDE Plasma Version: n/a, its a command line issue.
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Perhaps related to Bug 412914

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to