7

In addition to /etc/apt/sources.list I have a couple of origins defined in /etc/apt/sources.list.d/ How can I adjust /etc/apt/apt.conf.d/50unattended-upgrades so that all origins are allowed?

I tried setting an empty string as follows:

Unattended-Upgrade::Origins-Pattern {
  "";
}

but this results in an error message:

$ sudo unattended-upgrades -d
Initial blacklisted packages: 
Initial whitelisted packages: 
Starting unattended upgrades script
Allowed origins are: ['']
empty match string matches nothing
empty match string matches nothing
empty match string matches nothing
...
lofidevops
  • 2,967
  • 6
  • 39
  • 58

1 Answers1

11

See the README:

If you already configure what to install via apt pinning, you can simply use "origin=*", e.g.:

Unattended-Upgrade::Origins-Pattern {
    "origin=*";
};
Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164