mirror of
https://github.com/mudler/luet.git
synced 2025-09-08 02:29:38 +00:00
When attempting to uninstall, do it from the internal db so it can resolve the current versions
This commit is contained in:
@@ -607,7 +607,7 @@ func (s *Solver) Uninstall(checkconflicts, full bool, packs ...pkg.Package) (pkg
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s2 := NewSolver(Options{Type: SingleCoreSimple}, pkg.NewInMemoryDatabase(false), s.DefinitionDatabase, pkg.NewInMemoryDatabase(false))
|
s2 := NewSolver(Options{Type: SingleCoreSimple}, pkg.NewInMemoryDatabase(false), s.InstalledDatabase, pkg.NewInMemoryDatabase(false))
|
||||||
s2.SetResolver(s.Resolver)
|
s2.SetResolver(s.Resolver)
|
||||||
|
|
||||||
// Get the requirements to install the candidate
|
// Get the requirements to install the candidate
|
||||||
|
Reference in New Issue
Block a user