1

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
...
2

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=*";
};

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.