From 81d506b226316fdb52593adde433697ce121e7ce Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Thu, 10 Jul 2014 00:13:19 +0400 Subject: [PATCH] Dependencies should be matched for each package one by one. #70 --- cmd/snapshot_pull.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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