Skip to content

Commit

Permalink
Only do package update, no system upgrade
Browse files Browse the repository at this point in the history
The guides already say to to an upgrade before even running this script and the way this works right now it just hangs for a long time without any feedback for sometimes 10-20 minutes.
This is I think not a very good UX. See this issue on more reasoning: adafruit#174
The default nature of upgrading all the system packages is I think a bit too many changes than one would expect from installing a python package.
  • Loading branch information
timonsku authored May 14, 2021
1 parent 5d80647 commit a16d790
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions raspi-blinka.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def sys_update():
print("Updating System Packages")
if not shell.run_command("sudo apt-get update"):
shell.bail("Apt failed to update indexes!")
print("Upgrading packages...")
if not shell.run_command("sudo apt-get -y upgrade"):
shell.bail("Apt failed to install software!")

def set_raspiconfig():
"""
Expand Down

0 comments on commit a16d790

Please sign in to comment.