mirror of
https://github.com/mudler/luet.git
synced 2025-09-13 22:01:39 +00:00
Allow more matches, we select the best one anyway
This commit is contained in:
@@ -190,7 +190,7 @@ func (l *LuetInstaller) Install(cp []pkg.Package, s *System) error {
|
|||||||
for _, assertion := range solution {
|
for _, assertion := range solution {
|
||||||
if assertion.Value {
|
if assertion.Value {
|
||||||
matches := syncedRepos.PackageMatches([]pkg.Package{assertion.Package})
|
matches := syncedRepos.PackageMatches([]pkg.Package{assertion.Package})
|
||||||
if len(matches) != 1 {
|
if len(matches) == 0 {
|
||||||
return errors.New("Failed matching solutions against repository - where are definitions coming from?!")
|
return errors.New("Failed matching solutions against repository - where are definitions coming from?!")
|
||||||
}
|
}
|
||||||
A:
|
A:
|
||||||
|
Reference in New Issue
Block a user