[elbe-devel] [PATCH v1 2/2] daemons: esoap: update package index before elbe installation
Holger Dengler
dengler at linutronix.de
Wed Mar 16 12:48:45 CET 2022
The apt package index inside of the initvm is created during its
creation. For a later installation of newer versions, this package
index must be updated, otherwise newer versions will not be found.
This closes issue #218.
Signed-off-by: Holger Dengler <dengler at linutronix.de>
---
elbepack/daemons/soap/esoap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/daemons/soap/esoap.py b/elbepack/daemons/soap/esoap.py
index 415b7f0d..8f881b59 100644
--- a/elbepack/daemons/soap/esoap.py
+++ b/elbepack/daemons/soap/esoap.py
@@ -83,7 +83,7 @@ class ESoap (ServiceBase):
'DEBIAN_FRONTEND': 'noninteractive',
'DEBCONF_NONINTERACTIVE_SEEN': 'true'}
- cmd = 'apt-get install -y --allow-downgrades %s' % ' '.join(pkgs)
+ cmd = 'apt-get update ; apt-get install -y --allow-downgrades %s' % ' '.join(pkgs)
ret, out = command_out(cmd, env_add=env)
finally:
--
2.35.1
More information about the elbe-devel
mailing list