Package apache2 has no installation candidate (Kali Linux)

I’ve been trying for the past few days to install Apache2 on Kali Linux. No matter what I’ve tried, when I do sudo apt install apache2 it says that there’s no installation candidate for the package. I’m fairly new to Linux. Please help.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package apache2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apache2' has no installation candidate

Go to Source
Author: bl4d3

Can’t upgrade OS Install (MATE); How to solve, please?

I have seen similar issues but am not being able to quite solve the issue…

Probably easy I guess…

W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/vivaldi.list:3

Appreciate a lot!

Go to Source
Author: Risen