How to resolve this error? apt-get install Software Updater

pkg%20error

Hi @satish_malkar,

this seems rather unrelated to ERPNext. The error originates from the ubuntu Software Updater and tells you about broken packages.

Try to run

$ sudo apt-get install -f

and follow the output. If you believe it is linked to ERPNext, can you please comment what happened just before?

2 Likes

Your answer is there in the message plus this would be more appropriate on a forum like Stack Overflow or Ask Ubuntu

1 Like

I will try this Command also but after trying this command another error will occured…

Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.7_5.7.22-0ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ok thanks

If you are trying to setup ERPNext then MariaDB is the correct DB to install

Here is the link for complete procedure:-

1 Like

ok i will try thanks

but my error not that when i open software updater in my system then the above error will occur.
ERROR :- the package system is broken
check if you are using third party repositiories.if so disable them ,since they are a common source of problem.
furthermore run run the following command in a terminal
sudo apt-get install -f
but when i try above command and i have another error
will above i will add

1 Like

In my system already mysql db installed but due to some updation there have an error like this so how to fix it tell mi ???

MariaDB or MySQL should not be the issue, but some issue with your packages…

Try

sudo dpkg --configure -a
1 Like

When i use this cmd get an error
_rrors were encountered while processing:
mysql-server

Is any another option to solve this issue???
number of CMD i will try but not get any result …
To solve this error…

Try this

$ sudo apt-get remove --purge mysql*
$ sudo apt-get update

Then install again…

1 Like

@lasalesi ohk thanks