arakasi72 / rtinst

seedbox installation script for Ubuntu and Debian systems
MIT License
1.22k stars 259 forks source link

Avoid installing Nginx when it's already installed #591

Open chapit-nicolas opened 2 years ago

chapit-nicolas commented 2 years ago

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 commented 2 years ago

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

stickz commented 2 years ago

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

chapit-nicolas commented 2 years ago

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?