Skip to content

Commit

Permalink
Re-attempt old method of interacting with apt
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Castleman <contact@draugeros.org>
  • Loading branch information
Batcastle committed Jan 27, 2024
1 parent 38b2fb6 commit 1551dd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion usr/share/edamame/modules/install_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,12 @@ def install_extras():
install_list.append("nvidia-driver-latest")
# Install everything we want
os.environ["DEBIAN_FRONTEND"] = "noninteractive"
subproc.check_call(["apt-get", "install", "-o", "Dpkg::Options::='--force-confold'", "--force-yes", "-y"] + install_list)
with cache.actiongroup():
for each in install_list:
cache[each].mark_install()
#subproc.check_call(["apt-get", "install", "-o", "Dpkg::Options::='--force-confold'", "--force-yes", "-y"] + install_list)
# Purge all the stuff we don't want
cache.commit()
purge.purge_package("gstreamer1.0-fluendo-mp3")
cache.close()
__eprint__(" ### install_extras.py CLOSED ### ")

0 comments on commit 1551dd5

Please sign in to comment.