mirror of
https://github.com/mudler/luet.git
synced 2025-09-09 11:10:07 +00:00
Detect removed also when availables aren't found
This commit is contained in:
@@ -413,10 +413,8 @@ func (s *Solver) UpgradeUniverse(dropremoved bool) (pkg.Packages, PackagesAssert
|
||||
// Grab all the installed ones, see if they are eligible for update
|
||||
for _, p := range s.Installed() {
|
||||
available, err := s.DefinitionDatabase.FindPackageVersions(p)
|
||||
if err != nil {
|
||||
if len(available) == 0 || err != nil {
|
||||
removed = append(removed, p)
|
||||
}
|
||||
if len(available) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user