diff --git a/metadata/registry.go b/metadata/registry.go index 38b6b17184720cd8a3d985f14fc92b6f1fdf34a3..6eb5dac02ddd587b907681ac1e28ab5b5fc1d7ad 100644 --- a/metadata/registry.go +++ b/metadata/registry.go @@ -151,7 +151,7 @@ func (m *manager) CacheDependency(registryName, libID, libName, libVersion strin } if _, ok := appSpec.Libraries[libName]; ok { - return nil, fmt.Errorf("Library '%s' already exists", libName) + return nil, fmt.Errorf("Package '%s' already exists. Use the --name flag to install this package with a unique identifier", libName) } // Retrieve registry manager for this specific registry.