No documentation about package blacklist syntax
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: unattended-upgrades
Hi
Thanks for your great work on Ubuntu.
The unattended-upgrades package is very useful, but there seems to be a lack of documentation
From the example I thought the syntax should be like this:
-------
Unattended-
};
-------
But that did not work, and kernel and libc packages were still being upgraded.
After some testing I now think it should be more like:
-------
Unattended-
"libc6";
};
-------
This makes the log file report:
-------
INFO Initial blacklisted packages: linux-image-
-------
Which at first glance doesn't look right, but does block those packages from being automatically upgraded.
So is this the correct syntax?
If so you would be able to update the example config file /etc/apt/
The lack of spaces in the log file could be fixed by this small change in the /usr/bin/
-------
- logging.
+ logging.
-------
I would be able to write a proper patch file for this and the config file if you need it.
My full config file is below:
-------
// allowed (origin, archive) pairs
Unattended-
"Ubuntu feisty-security";
"Ubuntu feisty-updates";
};
// never update the kernel or C library packages
Unattended-
"libc6";
};
// Send email if something happens
Unattended-
"<email address hidden>";
};
// These APT::Periodic settings should mean that /etc/cron.daily/apt
// will update package list and upgrade packages every day
APT::Periodic:
APT::Periodic:
APT::Periodic:
-------
It's might be worth noting that despite setting a mail address I've never received any email, although no serious failures have yet occurred.
The Unattended- Upgrade: :Mail line may also be in the wrong syntax, see bug136720: /bugs.launchpad .net/ubuntu/ +source/ unattended- upgrades/ +bug/136720
https:/