Comments (1)
Decided not to include this as it no longer seems to be an issue as of 20.04 LTS, which added a new Remove-New-Unused-Dependencies
options enabled by default which removes any packages made unnecessary due to an unattended-upgrades
run. Remove-Unused-Kernel-Packages
also seems to have been enabled by default at some point.
(The Ubuntu documentation lists these options as available and enabled by default since 16.04, but that doesn't match the behavior I'm seeing on 18.04 systems.)
Compare /etc/apt/apt.conf.d/50unattended-upgrades
on:
18.04:
...
// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "false";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
...
20.04:
// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
// Do automatic removal of newly unused dependencies after the upgrade
//Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
from ansible-roles.
Related Issues (13)
- Set max systemd journal size on VMs
- Increase default keyring quotas in Docker role
- Fix iptables rules in docker role HOT 1
- Add native support for CMGR_ENABLE_DISK_QUOTAS
- OS: add dist-upgrade option for upgrade_packages
- Support custom iptables rules in docker role HOT 1
- Support ECR credential helper in Docker role
- Add CloudWatch Agent role
- Support readonly DNS file mounts in docker role HOT 1
- cmgr role: host.docker.internal use in artifact server HOT 1
- Add Hacksport role
- Add rCDS role
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-roles.