summaryrefslogtreecommitdiff
path: root/doUpgrade.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 02:57:53 -0500
committerJeff Carr <[email protected]>2025-10-14 02:57:53 -0500
commit5f1228689dd3d572750caaf6366a842c21c49f0c (patch)
tree82ac60ba12867bfa729c31e7d0887588a2559e84 /doUpgrade.go
parent31a9737bcba23fc2070de9a8140109bf21f18bcd (diff)
going around and around the blockv0.1.37
Diffstat (limited to 'doUpgrade.go')
-rw-r--r--doUpgrade.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/doUpgrade.go b/doUpgrade.go
index 6405f83..1fc14b3 100644
--- a/doUpgrade.go
+++ b/doUpgrade.go
@@ -43,6 +43,8 @@ func doUpgrade() error {
if !argv.DryRun {
checkSuperuser()
debian.AptUpdate()
+ // try to re-init due to new apt lists
+ me.machine = debian.InitMachine()
}
fmt.Println("Installed Packages:")