Thursday, January 6, 2022

[SOLVED] Docker image rabbitmq, apt broke

Issue

when I try apt-get update, I get this error:

E: The method driver /usr/lib/apt/methods/https could not be found.

Solution:

sudo apt-get install apt-transport-https

But when I try that I get this error:

E: Unable to locate package apt-transport-https

Solution:

apt-get update

So I am in a loop...

Any ideas? Usually all this is installed but I am using rabbitmq docker image.

Thanks

Error


Solution

That docker image has problems

I have changed:

FROM rabbitmq:3.6.6-management

to

FROM rabbitmq:management

And now it works, I hope this helps others Thank you larsks



Answered By - Victor Callejas