0

I have a docker container running debian linux (it's using the postgres image) that I'd like to install nano on so I can edit files. However, when I try

# apt-get install nano

the output I get is

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nano

I am following this documentation. What step am I missing here?

2

So apparently there was an easy solution to this. I just needed to update first:

# apt-get update
# apt-get install nano

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.