I was trying to install phpmyadmin on amazonlinux ec2 but i was getting this error: "packages excluded due to repository priority protections"
so end up trying sudo running yum erase yum-plugin-priorities
to disable plugin priorities so i could get that package.
After that i had no sudo access. And then I couldn't log in.
So I decided to "stop" and "start" the instance
So then i could log in... but everything is gone. i didnt back up :(
stopping ec2 should not have killed the ebs
Is there anyway to get my data back?
yum update --disableplugin=priorities