Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The folder


contains lots of files.


What are those 01, 10, ..., 99 numbers all about?

Do they imply "read 01 first, read 99 last and let 99 overrule settings made in earlier numbers"?

Let's for example say there is only one setting in 50unattended-upgrades, where I want to overrule the default setting with my own preference.

I could edit 50unattended-upgrades directly, but then it becomes messy if the maintainer updates that file - I have to merge the changes.

Could I also create 51unattended-upgrades with just the single value I prefer and therefore overrule the default in 50unattended-upgrades?

share|improve this question
up vote 9 down vote accepted


Directories ending in .d

Directories with a .d suffix are used more and more often. Each directory represents a configuration file which is split over multiple files. In this sense, all of the files in /etc/apt/apt.conf.d/ are instructions for the configuration of APT. APT includes them in alphabetical order, so that the last ones can modify a configuration element defined in one of the first ones.

For example 60unattended-upgrades should overrule 50unattended-upgrades.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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