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
|
@ -66,7 +66,7 @@ files = {
|
||||||
|
|
||||||
actions = {
|
actions = {
|
||||||
'apt_update': {
|
'apt_update': {
|
||||||
'command': 'apt-get update -o APT::Update::Error-Mode=any',
|
'command': 'apt-get update',
|
||||||
'needed_by': {
|
'needed_by': {
|
||||||
'pkg_apt:',
|
'pkg_apt:',
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,11 @@ defaults = {
|
||||||
'Post-Invoke': {
|
'Post-Invoke': {
|
||||||
'/bin/rm -f /var/cache/apt/archives/*.deb || true',
|
'/bin/rm -f /var/cache/apt/archives/*.deb || true',
|
||||||
},
|
},
|
||||||
|
'Options': {
|
||||||
|
# https://unix.stackexchange.com/a/642541/357916
|
||||||
|
'--force-confold',
|
||||||
|
'--force-confdef',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'APT': {
|
'APT': {
|
||||||
'NeverAutoRemove': {
|
'NeverAutoRemove': {
|
||||||
|
@ -30,6 +35,10 @@ defaults = {
|
||||||
'tasks',
|
'tasks',
|
||||||
},
|
},
|
||||||
'Move-Autobit-Sections': 'oldlibs',
|
'Move-Autobit-Sections': 'oldlibs',
|
||||||
|
'Update': {
|
||||||
|
# https://unix.stackexchange.com/a/653377/357916
|
||||||
|
'Error-Mode': 'any',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'sources': {},
|
'sources': {},
|
||||||
|
|
Loading…
Reference in a new issue