Unable to install apache2 on Ubuntu Server (VM)

Questions about virtualization software
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 1
Joined: Tue Oct 04, 2022 4:30 pm

Unable to install apache2 on Ubuntu Server (VM)

Post by MaguMagu »

Hello, this is my first post, as a result, I may be unexperienced in the matter of asking this kind of question, I am open to answer any kind of questions if it is needed.

I have one VM with Ubuntu Server 20.04, and I tried to install SSH

apt get-install ssh-server
It succeeded

But later, I tried to Install Apache2

sudo apt-get install apache2

But it shows this error mainly:

When I try to sudo apt-get update, it also shows the same error...

it shows this error


I am just practicing computer science, and I am not able to recognize in what I am failing, I am a newbie tbh.

Is it a local mirror problem?
Should I change something in the source list?

Thanks in advance
Level 20
Level 20
Posts: 11250
Joined: Sun Aug 09, 2015 10:00 am

Re: Unable to install apache2 on Ubuntu Server (VM)

Post by deepakdeshp »

A better place to post
https://ubuntuforums.org/ The server section of the forums.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.

Mint 20.3 Cinnamon 64 bit with AMD A6 / 8GB
Mint 20.3 Cinnamon AMD Ryzen3500U/8gb
Post Reply

Return to “Virtual Machines”