diff --git a/debian/remote.go b/debian/remote.go index 71fd8a49..ae7941c5 100644 --- a/debian/remote.go +++ b/debian/remote.go @@ -430,6 +430,9 @@ func (repo *RemoteRepo) Download(d utils.Downloader, packageCollection *PackageC d.DownloadWithChecksum(repo.PackageURL(task.RepoURI).String(), task.DestinationPath, ch, task.Checksums, ignoreMismatch) } + // We don't need queued after this point + queued = nil + // Wait for all downloads to finish errors := make([]string, 0)