Installing Yeti-web im getting error!

Hi im new with yeti andim trying to install yeti.
Im at the point installing Yeti web interface. When i execute the following command:
apt install yeti-web nginx

Im getting the following output:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package yeti-web

This is my /etc/apt/sources.list content:

deb cdrom:[Debian GNU/Linux 9.11.0 Stretch - Official amd64 xfce-CD Binary-1 20190908-18:12]/ stretch main

deb cdrom:[Debian GNU/Linux 9.11.0 Stretch - Official amd64 xfce-CD Binary-1 20190908-18:12]/ stretch main

deb-src http://ftp.us.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

stretch-updates, previously known as ‘volatile’

deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main
deb http://pkg.yeti-switch.org/debian/stretch 1.9 main
deb http://ftp.us.debian.org/debian/ stretch-updates main
deb-src http://ftp.us.debian.org/debian/ stretch-updates main

I think i have added all repo lines in the file , but still i see it cannot find the package.

If you guys can help me it will be great.

Thank you in advance.

Have you run apt update to refresh local database?

Hi Dmitry i have did that and now im getting another error after i execute the command:
apt install yeti-web nginx

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
yeti-web : Depends: libpq5 (>= 10~~) but 9.6.15-0+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.

I tried to install libpq5 but it says is already installed and uptodate.
Then i tried the following:
apt install 9.6.15-0+deb9u1

and i got the following output:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package 9.6.15-0+deb9u1
E: Couldn’t find any package by glob ‘9.6.15-0+deb9u1’
E: Couldn’t find any package by regex ‘9.6.15-0+deb9u1’

Thank you in advance.

Your error states:

Try
apt-get -f install. It may help.

This is wrong. 9.6.15-0+deb9u1 is version number. you can’t do so. After fixing broken packages try apt update && apt upgrade. Then install yeti-web.

Hi Israr , thanks for your help , but i tried apt-get -f install and still getting same results.
I also tried : apt-get dist-upgrade and is the same issue… :frowning:

Well, You are right though. I just checked my system for latest available version of libpq5 and its 9.6.15-0+deb. I was facing the same error with yet-lb, it also requires dependencies with version higher than available. Welcome to the club. I hope Dmitry can provide help regarding this matter.

I just got some idea. You haven’t included PostgreSQL repositories. Include that and you will have the latest version 12.1. This may help.

try to add
deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main

as described at https://yeti-switch.org/docs/en/installation-1.9/repositories.html

Worked perfect! , thank you very much to israr and dmitry.s!!!
I have executed the command apt install yeti-web nginx and it started to install but at the end i getting this error:

…"
Setting up yeti-web (1.9.8) …
Created symlink /etc/systemd/system/multi-user.target.wants/yeti-web.service → /lib/systemd/system/yeti-web.service.
Created symlink /etc/systemd/system/multi-user.target.wants/yeti-delayed-job.service → /lib/systemd/system/yeti-delayed-job.service.
Created symlink /etc/systemd/system/multi-user.target.wants/yeti-cdr-billing@cdr_billing.service → /lib/systemd/system/yeti-cdr-billing@.service.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up nginx-full (1.10.3-1+deb9u3) …
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
invoke-rc.d: initscript nginx, action “start” failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-11-29 07:31:27 EST; 5ms ago
Docs: man:nginx(8)
Process: 28212 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 28208 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Nov 29 07:31:26 64-79-75-188 nginx[28212]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Nov 29 07:31:26 64-79-75-188 nginx[28212]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Nov 29 07:31:26 64-79-75-188 nginx[28212]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Nov 29 07:31:27 64-79-75-188 nginx[28212]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
Nov 29 07:31:27 64-79-75-188 nginx[28212]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
Nov 29 07:31:27 64-79-75-188 nginx[28212]: nginx: [emerg] still could not bind()
Nov 29 07:31:27 64-79-75-188 systemd[1]: nginx.service: Control process exited, code=exited status=1
Nov 29 07:31:27 64-79-75-188 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Nov 29 07:31:27 64-79-75-188 systemd[1]: nginx.service: Unit entered failed state.
Nov 29 07:31:27 64-79-75-188 systemd[1]: nginx.service: Failed with result ‘exit-code’.
dpkg: error processing package nginx-full (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.10.3-1+deb9u3.1~) | nginx-light (<< 1.10.3-1+deb9u3.1~) | nginx-extras (<< 1.10.3-1+deb9u3.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.10.3-1+deb9u3) | nginx-light (>= 1.10.3-1+deb9u3) | nginx-extras (>= 1.10.3-1+deb9u3); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.

dpkg: error processing package nginx (–configure):
dependency problems - leaving unconfigured
Processing triggers for rsyslog (8.24.0-1) …
Errors were encountered while processing:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
…"

Should i install first nginx-light nginx-extras ?

Thanks guys

nginx-light is enough.

nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)

looks like port 80 used by some other daemon.

All fixed now , i had another web service running , i just deleted it and reinstall and all went OK.

Thank you dmitry.s