mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
cmds.distro.backend.debian.Util: Remove --fix-broken
--fix-broken is added to apt-get options in non-interactive mode, but seems to work only with apt-get install, not with apt-get update. Don't add it at all for now. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a25701991d
commit
404901bcff
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class Util(Base):
|
||||||
cmd = ['/usr/bin/apt-get']
|
cmd = ['/usr/bin/apt-get']
|
||||||
mod_env = None
|
mod_env = None
|
||||||
if not self.interactive:
|
if not self.interactive:
|
||||||
cmd.extend(['--yes', '--quiet', '--fix-broken'])
|
cmd.extend(['--yes', '--quiet'])
|
||||||
mod_env = { 'DEBIAN_FRONTEND': 'noninteractive' }
|
mod_env = { 'DEBIAN_FRONTEND': 'noninteractive' }
|
||||||
cmd.extend(args)
|
cmd.extend(args)
|
||||||
return await self._sudo(cmd, mod_env=mod_env)
|
return await self._sudo(cmd, mod_env=mod_env)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue