Просмотр исходного кода

dselect: Do not mark any package as unseen

This is a workaround until it learns how to store such information
again.

Closes: #545366
Guillem Jover лет назад: 16
Родитель
Сommit
d8603d75ba
2 измененных файлов с 6 добавлено и 1 удалено
  1. 2 1
      debian/changelog
  2. 4 0
      dselect/pkglist.cc

+ 2 - 1
debian/changelog

@@ -1,6 +1,7 @@
 dpkg (1.15.4.1) UNRELEASED; urgency=low
 
-  *
+  * Do not mark any package as unseen in dselect. This is a workaround
+    until it learns how to store such information again. Closes: #545366
 
  -- Guillem Jover <guillem@debian.org>  Mon, 19 Oct 2009 15:04:40 +0200
 

+ 4 - 0
dselect/pkglist.cc

@@ -192,8 +192,12 @@ void packagelist::ensurestatsortinfo() {
       case pkginfo::stat_configfiles:
         if (!informativeversion(&pkg->available.version)) {
           table[index]->ssavail= ssa_notinst_gone;
+// FIXME: Disable for now as a workaround, until dselect knows how to properly
+//        store seen packages.
+#if 0
         } else if (table[index]->original == pkginfo::want_unknown) {
           table[index]->ssavail= ssa_notinst_unseen;
+#endif
         } else {
           table[index]->ssavail= ssa_notinst_seen;
         }