[Solved] Error Installing Nginx Modules for Virtualmin on Ubuntu

home Forums Server Administration [Solved] Error Installing Nginx Modules for Virtualmin on Ubuntu

Tagged: ,

This topic contains 0 replies, has 1 voice, and was last updated by  Tharindu Kumara 1 year, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #6040

    Tharindu Kumara

    I was building a cloud server for a client this morning when I encountered following error,
    [shell]E: Unable to locate package webmin-virtualmin-nginx
    E: Unable to locate package webmin-virtualmin-nginx-ssl[/shell]

    I was building the server with my Ubuntu 16.04 LEMP stack tutorial. And I was trying to install nginx modules for Virtualmin with following command,
    [shell]apt-get install webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl[/shell]

    This is the first time I came across this error although it had been reported on comments section on a previous tutorial. The main reason for this error is that Virtualmin packages are missing on the sources list of the server. Adding them to sources.list file will fix the problem. So open it with nano text editor.

    [shell]nano /etc/apt/sources.list[/shell]
    Append the file with following,
    [shell]deb http://software.virtualmin.com/gpl/debian/ virtualmin-squeeze main
    deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main[/shell]

    Save (Ctrl + X) the file and update apt cache,
    [shell]apt-get update[/shell]

    Now run the command to install modules again.
    [shell]apt-get install webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl[/shell]

    Issue should be fixed now.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.