소스 검색

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 년 전
부모
커밋
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;
         }