0

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?

3
  • 2
    Are you sure it was an EBS backed instance? Did you accidentally terminate it instead of stopping it? Oct 26, 2018 at 18:30
  • yes im sure i pressed stop. however it didnt appear to go smoothly. Oct 28, 2018 at 0:02
  • The command уоu were looking for maybe was yum update --disableplugin=priorities
    – Max S.
    Mar 30, 2022 at 0:30

1 Answer 1

0

The problem was that this was actually a Beanstalk Application. I was treating it as if it was regular EC2 instance. That is what messed up when trying to install things, and when stopping it in the EC2 menu.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .