some more apt configs, which used to be used on the fly
This commit is contained in:
parent
14715fdab7
commit
33a6e2a979
2 changed files with 10 additions and 1 deletions
bundles/apt
|
@ -66,7 +66,7 @@ files = {
|
|||
|
||||
actions = {
|
||||
'apt_update': {
|
||||
'command': 'apt-get update -o APT::Update::Error-Mode=any',
|
||||
'command': 'apt-get update',
|
||||
'needed_by': {
|
||||
'pkg_apt:',
|
||||
},
|
||||
|
|
|
@ -8,6 +8,11 @@ defaults = {
|
|||
'Post-Invoke': {
|
||||
'/bin/rm -f /var/cache/apt/archives/*.deb || true',
|
||||
},
|
||||
'Options': {
|
||||
# https://unix.stackexchange.com/a/642541/357916
|
||||
'--force-confold',
|
||||
'--force-confdef',
|
||||
},
|
||||
},
|
||||
'APT': {
|
||||
'NeverAutoRemove': {
|
||||
|
@ -30,6 +35,10 @@ defaults = {
|
|||
'tasks',
|
||||
},
|
||||
'Move-Autobit-Sections': 'oldlibs',
|
||||
'Update': {
|
||||
# https://unix.stackexchange.com/a/653377/357916
|
||||
'Error-Mode': 'any',
|
||||
},
|
||||
},
|
||||
},
|
||||
'sources': {},
|
||||
|
|
Loading…
Reference in a new issue