Error on Frappe - Ubuntu 20.04 LTS Installation

Hi,
I am installing Frappe on my UBUNTU 20.04 lts, and I am facing below error, when I run -‘sudo apt-get install mariadb-server-10.3’ , can somebody help on this?

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:
mariadb-server-10.3 : Depends: galera-3 (>= 25.3) but it is not going to be installed
Depends: mariadb-client-10.3 (>= 1:10.3.27+maria~xenial) but it is not going to be installed
Depends: mariadb-server-core-10.3 (>= 1:10.3.27+maria~xenial) but it is not going to be installed
Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
Recommends: libhtml-template-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Try this…

sudo dpkg –configure -a

and the retry the installation

Try this with fresh installation Ubuntu 18…

Step 1: Login as a root user:

Login as a root user:

sudo -i

Enter the user password when it prompts you (System Password)

Step 2: Update and Upgrade apt

The sudo apt-get update command is used to download package information from all configured sources.

The sources often defined in /etc/apt/sources. list file and other files located in /etc/apt/sources. …

So when you run update command, it downloads the package information from the Internet.

You run sudo apt-get upgrade to install available upgrades of all packages currently installed on the system from the sources configured via sources. list file. New packages will be installed if required to satisfy dependencies, but existing packages will never be removed

sudo apt-get update && sudo apt-get upgrade

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

shutdown -r now

Step 3 Install Python prerequisite

sudo apt-get install python-minimal

Step 4 Download Installation Script

Execute following command to fetch ERPNext installation script file.

wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

Step 5: Setting up ERPNext development environment

You have to run the following installation script to install ERPNext on Ubuntu 18.04

python install.py --develop --user frappe

export LC_ALL=C.UTF-8

Execute: export LC_ALL=C.UTF-8

python3 -m pip install --upgrade pip

python –m pip install –upgrade pip

run

python3 install.py --develop --user frappe

It takes about 10 mins to 20 mins

During the script run you have to create and preserve a set of passwords for MariaDB root user and Frappe Administrator user.

• Please enter mysql root password: TVB2021$

• Re-enter mysql root password: TVB2021$

• Please enter the default Administrator user password: TVB2021$

• Re-enter Administrator password: TVB2021$

These passwords are saved at Passwords saved at ~/passwords.txt

We have seen the success message

Bench + Frappe + ERPNext has been successfully installed! Now the Dev Environment is ready for use.

Step 6 Install ERPNext application

A bench is a tool used to install and manage ERPNext on your Ubuntu system. We will create a user that will run the ERPNext system, then configure the system.

sudo su - frappe -s /bin/bash

cd frappe-bench

Step 7 Install ERPNext application

Create new website

bench new-site your site name

Provide your mysql password here

Set Administrator password for your site: password

Install ERPNext on to the site

bench --site your site name install-app erpnext

bench use your site name

bench start

Bench start will initiate a real-time monitoring console showing you various messages relating to your webserver and other services. When you see items-dashboard.min Open a web browser and navigate to localhost:8000 (for local installations).