You have not solved your issue. apt-get update cannot update the package list because your system is misconfigured. I cannot do much with this issue.
What I can help you with is to test on a clean raspberry pi, which I just did, and the OpenWISP 2 was installed successfully without any issues. Please read "OpenWISP 2 successfully installed on raspbian jessie (raspberry pi)" <https://groups.google.com/d/msg/openwisp/NuKeugcSsU4/6bjzAPBqCQAJ>. Federico On Monday, February 27, 2017 at 1:19:30 PM UTC+1, Nhựt Tân Trần wrote: > > - I do it, and i can update but it's still errror > - This is my Error: > TASK [openwisp.openwisp2 : Install system packages] > **************************** > failed: [localhost] (item=[u'sudo', u'python-software-properties', > u'build-essential', u'sqlite3', u'supervisor', u'nginx', u'openssl', > u'libssl-dev', u'libffi-dev', u'python-dev']) => {"cache_update_time": > 1487311337, "cache_updated": false, "failed": true, "item": ["sudo", > "python-software-properties", "build-essential", "sqlite3", "supervisor", > "nginx", "openssl", "libssl-dev", "libffi-dev", "python-dev"], "msg": > "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o > \"Dpkg::Options::=--force-confold\" install 'sudo' > 'python-software-properties' 'supervisor' 'libffi-dev'' failed: E: There > are problems and -y was used without --force-yes\n", "stderr": "E: There > are problems and -y was used without --force-yes\n", "stdout": "Reading > package lists...\nBuilding dependency tree...\nReading state > information...\nThe following extra packages will be installed:\n libffi6 > python-meld3\nThe following NEW packages will be installed:\n libffi-dev > python-meld3 python-software-properties supervisor\nThe following packages > will be upgraded:\n libffi6 sudo\n2 upgraded, 4 newly installed, 0 to > remove and 622 not upgraded.\nNeed to get 815 kB of archives.\nAfter this > operation, 2118 kB of additional disk space will be used.\nWARNING: The > following packages cannot be authenticated!\n libffi6 sudo > python-software-properties libffi-dev\n", "stdout_lines": ["Reading package > lists...", "Building dependency tree...", "Reading state information...", > "The following extra packages will be installed:", " libffi6 > python-meld3", "The following NEW packages will be installed:", " > libffi-dev python-meld3 python-software-properties supervisor", "The > following packages will be upgraded:", " libffi6 sudo", "2 upgraded, 4 > newly installed, 0 to remove and 622 not upgraded.", "Need to get 815 kB of > archives.", "After this operation, 2118 kB of additional disk space will be > used.", "WARNING: The following packages cannot be authenticated!", " > libffi6 sudo python-software-properties libffi-dev"]} > - Please help me fix it > - Thank you very much !!! > Vào 18:09:59 UTC+7 Thứ Hai, ngày 27 tháng 2 năm 2017, Federico Capoano đã > viết: >> >> Hi, >> >> I'm assuming you are installing on your laptop now. >> >> The following command is failing on your laptop: >> >> sudo apt-get update >> >> This happens because you have some misconfiguration in the package source >> list on your side. >> Try to run it manually on the command line, see what error you get, look >> it on google or ask in the ubuntu forums how to solve it. >> Once that command runs without errors, run the playbook again. >> >> Federico >> >> On Mon, Feb 27, 2017 at 11:26 AM Nhựt Tân Trần <[email protected]> >> wrote: >> >>> - I'm very sorry because send the question to your private email >>> - Please help me. Today when i install it can't update packet >>> - This is my error :fatal: [localhost]: FAILED! => {"changed": false, >>> "failed": true, "msg": "Failed to update apt cache."} >>> >>> Thank you very much!! >>> >>> Vào 17:56:46 UTC+7 Thứ Năm, ngày 23 tháng 2 năm 2017, Federico Capoano >>> đã viết: >>>> >>>> Please read Install OpenWISP2 locally (laptop, desktop pc) >>>> <https://github.com/openwisp/ansible-openwisp2#install-openwisp2-locally-laptop-desktop-pc>. >>>> >>>> I hope it's clear, if you don't understand something, please let me know. >>>> >>>> PS: I just added that bit of documentation now. >>>> >>>> Federico >>>> >>>> On Thu, Feb 23, 2017 at 10:20 AM Nhựt Tân Trần <[email protected]> >>>> wrote: >>>> >>>>> _No I haven't tried install ansible-openwsip 2 on my raspberry. I just >>>>> install ansible-openwsip2 on my laptop(ubuntu 14.04) but it didn't >>>>> success. >>>>> I don't know the Value of "openwisp2_shared_secret: <PLEASE_CHANGE_ME>". >>>>> Si i change it like the video and run but it's error(the error is in my >>>>> picture ). You can help me fix it(i want to test on my lap before install >>>>> in my raspberry ) >>>>> _Thank you very much! >>>>> >>>>> >>>>> >>>>> Vào 15:41:07 UTC+7 Thứ Năm, ngày 23 tháng 2 năm 2017, Federico Capoano >>>>> đã viết: >>>>>> >>>>>> Hi and welcome, >>>>>> >>>>>> I did buy a raspberry pi 3 to test this a while ago but I never >>>>>> proceeded unfortunately. >>>>>> >>>>>> If you are using the raspbian OS you could try using the same >>>>>> procedure described in ansible-openwisp2 >>>>>> <https://github.com/openwisp/ansible-openwisp2>, it may work or it >>>>>> may not, I'm not 100% sure. Have you tried this yet? >>>>>> >>>>>> Federico >>>>>> >>>>>> On Thu, Feb 23, 2017 at 9:02 AM Nhựt Tân Trần <[email protected]> >>>>>> wrote: >>>>>> >>>>> - Hi! >>>>>>> - I have a raspberry pi 2 and i want install Openwisp on this to >>>>>>> control my Wireless but i don't know how to install. Can you help me! >>>>>>> - Thank you very much! >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "OpenWISP" group. >>>>>>> >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>> >>>>>> >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OpenWISP" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "OpenWISP" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
