diff --git a/cmd/snapshot_pull.go b/cmd/snapshot_pull.go index c4a6c4f3..7604f0ec 100644 --- a/cmd/snapshot_pull.go +++ b/cmd/snapshot_pull.go @@ -125,9 +125,9 @@ func aptlySnapshotPull(cmd *commander.Command, args []string) error { continue } - // Find missing dependencies for single added package - pL := deb.NewPackageList() + // Find missing dependencies, for each added package for _, pkg := range searchResults { + pL := deb.NewPackageList() pL.Add(pkg) var missing []deb.Dependency