A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Worry-free setup & maintenance.
Simple object storage.
Run managed Kubernetes clusters.
Easily distribute traffic.
Attach scalable volumes.
Deploy pre-built applications.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Justin Ellingwood
Hello, on try install mysql I get this:
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
Try these command they might help:
sudo apt-get install -f
sudo apt-get autoremove -y
sudo apt-get remove --purge mysql-*
Then try to install again.
sudo apt-get install -f: https://pastebin.com/4AT923ah
sudo apt-get autoremove -y and sudo apt-get remove --purge mysql-*: https://pastebin.com/wnbSDjMF
You have memory usage problems, how much memory does your server has?
Check current free memory with this command free -h
total used free shared buff/cache available
Mem: 996M 761M 98M 20M 136M 86M
Swap: 0B 0B 0B
You are almost out of memory try using the top -o +%MEM to get an idea of what is exhausting your memory.
top -o +%MEM
Stop clamd temporarily and try again.
I also noticed that in the installation of other programs I get this error:
Please, help me, i can't install applications =(
It sounds like your packages are out of date.
If you run the update and upgrade command before installing, does it work then?
sudo apt-get update
sudo apt-get upgrade
HELP ME! PLEASE!
After looking at your first error again I think you can find help here
sudo apt-get install -f, sudo apt-get autoremove -y: https://pastebin.com/4AT923ah
sudo apt-get remove --purge mysql-*: https://pastebin.com/JVKGtceW
Did not work
You still have this error
dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading: No such file or directory
sudo dpkg --clear-avail && sudo apt-get update
Now I can install other programs but mysql not: https://pastebin.com/JJ1n0nDj
Good solved one problem now
try this to solve the other one.
apt --fix-broken install: https://pastebin.com/hHid3rSN
@Mohsen47 Can you help me? =(
I had to sleep it was 1:30 AM.
Do you still have the same issue? I am sure it can be solved easily but it is hard to communicate like this, Do you have important data on the server? Can you give me access to it?
I format the machine