kramer65
kramer65

Reputation: 53993

How to install unattended-upgrades on Debian Buster docker container?

I'm building a docker image based on Debian Buster, and I now want to use unattended-upgrades within the container.

Unfortunately, the package doesn't seem to be available:

root@0c5100b570a8:/# apt install unattended-upgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package unattended-upgrades

Does anybody know how I can install the unattended-upgrades package in the Debian Buster container?

Upvotes: 0

Views: 1537

Answers (1)

LinPy
LinPy

Reputation: 18608

you need to update first:

apt-get update && apt-get install -y unattended-upgrades

Upvotes: 2

Related Questions