<div dir="ltr">Thanks Sunil, your workaround is working.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 8:29 PM, Sunil Mohan <span dir="ltr"><<a href="mailto:sunil@medhas.org" target="_blank">sunil@medhas.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 08/31/2015 08:23 PM, Bharath Chava wrote:<br>
> Hi,<br>
><br>
> While installing deluge from Plinth page, i am getting the following error:<br>
><br>
> "Error installing packages: Cannot refresh cache whilst offline "<br>
><br>
> On searching the Internet, i did the following<br>
><br>
> Inserted "UseNetworkManager=false" in /etc/PackageKit/PackageKit.conf"<br>
><br>
> then restarted the PackageKit service by<br>
><br>
> sudo systemctl restart packagekit.service<br>
> sudo pkcon repair<br>
><br>
> But even then the error persisted.<br>
><br>
> Please let me know how to go around this problem.<br>
<br>
</span>We faced this before, having at least one network connection managed by<br>
NetworkManager is a workaround.  To do this, configure a network<br>
connection in Plinth, comment out the connection in<br>
/etc/network/interfaces and reboot.  It should work.<br>
<br>
Currently, all network connections in a FreedomBox images are configured<br>
using NetworkManager, so this hasn't been a big headache.  It would be<br>
nice to have a solution.  It sounds like your configuration change to<br>
PackageKit.conf should have worked.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sunil<br>
<br>
<br>
</font></span></blockquote></div><br></div>