Skip to content

Commit

Permalink
Re-run apt-get update after dist-upgrade (#1034)
Browse files Browse the repository at this point in the history
Fixes an issue where openaps-install.sh cannot find packages on the pi after running a dist-upgrade.
  • Loading branch information
cluckj authored and scottleibrand committed Jun 13, 2018
1 parent 26df3af commit 7a473f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/openaps-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dpkg-reconfigure tzdata
#dpkg -P nodejs nodejs-dev
# TODO: remove the `-o Acquire::ForceIPv4=true` once Debian's mirrors work reliably over IPv6
apt-get -o Acquire::ForceIPv4=true update && apt-get -o Acquire::ForceIPv4=true -y dist-upgrade && apt-get -o Acquire::ForceIPv4=true -y autoremove
apt-get -o Acquire::ForceIPv4=true install -y sudo strace tcpdump screen acpid vim python-pip locate ntpdate
apt-get -o Acquire::ForceIPv4=true update && apt-get -o Acquire::ForceIPv4=true install -y sudo strace tcpdump screen acpid vim python-pip locate ntpdate
#check if edison user exists before trying to add it to groups

if getent passwd edison > /dev/null; then
Expand Down

0 comments on commit 7a473f7

Please sign in to comment.