mapmint / ansible-roles

MapMint installer
0 stars 6 forks source link

Installation: error in downloading Libreoffice #2

Open omshinde opened 7 years ago

omshinde commented 7 years ago

I was facing some issues while installation of MapMint. Now, it has been installed successfully. The compiled points are as follows:

  1. In my KDE, postgresql-9.5 was installed, but the destination address was searching for postgresql-9.3 by using postgresql-{{pgvers}}. The variable {{pgvers}} was declared as 9.3. So, after changing pgvers to 9.5 in /mm-install/mapmint-setup/ubuntu/dependencies/vars/main.yml , the issue was solved. This is already solved in the previous conversations.

  2. While downloading Libreoffice, the code is searching for http://download.documentfoundation.org/libreoffice/stable/5.2.6/deb/x86_64/LibreOffice_5.2.6_Linux_x86_64_deb.tar.gz instead of http://download.documentfoundation.org/libreoffice/stable/5.2.6/deb/x86_64/LibreOffice_5.2.6_Linux_x86-64_deb.tar.gz Note the x86_64 and x86-64 in both links

    This url is defined in debian/mapmint/tasks/main.yml as:

    name: Download LibreOffice get_url:url=http://download.documentfoundation.org/libreoffice/stable/{{lo_version}}/deb/{{larch}}/Libre
    Office_{{lo_version}}_Linux_{{larch}}_deb.tar.gz dest={{srcdir}}

    I solved this issue by changing:

    • The url to:

      name: Download LibreOffice get_url:url=http://download.documentfoundation.org/libreoffice/stable/{{lo_version}}/deb/{{arch}}/Libre
      Office_{{lo_version}}_Linux_{{larch}}_deb.tar.gz dest={{srcdir}}
    • And the value of larch to x86-64 from x86_64 in ubuntu/dependencies/vars/main.yml .

Also, just for sharing the information, the final installation can be started in verbose view by executing:

 ansible-playbook -s server.yml -u root -vvv
gfenoy commented 7 years ago

Many thanks for your report. I feel that should be mentioned in the installation documentation. Note that the english version should require somebody to reread it and fix the small issue it contains, which are mainly syntaxe fixes. Nevertheless, looking at the issue opened lately it seems that the documentation also deserve some addition too.