rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

Avoid installing Nginx when it's already installed

Open chapit-nicolas opened this issue 2 years ago • 3 comments

Hello,

I tried to re-install rtorrent/rutorrent using your script, and it crashed because nginx was already installed. It seems that your script tries to install 1.14.0 over 1.21.4-1-bionic.

Maybe having a check before installing nginx could avoid this issue. Thoughts?

rtinst-log

chapit-nicolas avatar Nov 30 '21 16:11 chapit-nicolas

It will be the same for any apps the script will install

chapit-nicolas avatar Nov 30 '21 18:11 chapit-nicolas

hi @chapit-nicolas have you thought about upgrading to Ubuntu 20.04 LTS? This may resolve your problems.

stickz avatar Feb 06 '22 21:02 stickz

Hi @stickz ,

I got this issue because everything was already installed (manually), and I wanted to do a fresh install of rtorrent & rutorrent by using this script.

Let's say that I already installed those packages by myself, under Ubuntu 20.04, and I have nginx and not nginx-full (like in the script), would it do the same, unless if in Ubuntu 20.04 the package for nginx was renamed to nginx-full?

From what I saw, there are many flavors for installing nginx (https://askubuntu.com/questions/553937/what-is-the-difference-between-the-core-full-extras-and-light-packages-for-ngi). By doing apt install nginx, which one is installed?

chapit-nicolas avatar Feb 07 '22 15:02 chapit-nicolas