Sfoglia il codice sorgente

dselect-ftp: stop calling dpkg --forget-old-unavail as it's a no-op

And it outputs an annoying warning nowadays.
Raphaël Hertzog 17 anni fa
parent
commit
4f4f01eff0
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      dselect/methods/ftp/update

+ 0 - 5
dselect/methods/ftp/update

@@ -242,10 +242,5 @@ if (!$packages_modified) {
 	    $exit = 1;
 	}
     }
-
-    if(system("dpkg", "--forget-old-unavail")) {
-	print "dpkg --forget-old-unavail failed";
-	die "error";
-    }
 }
 exit $exit;