Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165259 - app-portage/portage-utils: "qlist -D" doesn't check categories
Summary: app-portage/portage-utils: "qlist -D" doesn't check categories
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-02-04 12:27 UTC by TGL
Modified: 2010-01-24 21:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
20070204--qlist--fix_categories_false_positives.patch (20070204--qlist--fix_categories_false_positives.patch,945 bytes, patch)
2007-02-04 12:28 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2007-02-04 12:27:42 UTC
"qlist -D" only compare names of the installed packages, and not their categories.  Because of that, it may list some false-positives.

Here are the ones i get on my system for instance:
  app-admin/sudo-1.6.8_p12-r1
  app-vim/sudo-2.0
  cross-powerpc-gentoo-linux-uclibc/binutils-2.17
  cross-powerpc-gentoo-linux-uclibc/gcc-4.1.1-r1
  cross-powerpc-gentoo-linux-uclibc/linux-headers-2.6.16
  dev-db/mysql-5.0.32
  mail-mta/qmail-1.03-r16
  media-libs/glut-3.7.1
  sys-devel/binutils-2.17
  sys-devel/gcc-4.1.1-r3
  sys-kernel/linux-headers-2.6.19.2-r2
  virtual/glut-1.0
  virtual/mysql-5.0
  virtual/qmail-1.03

The attached patch fixes that.
Comment 1 TGL 2007-02-04 12:28:21 UTC
Created attachment 109104 [details, diff]
20070204--qlist--fix_categories_false_positives.patch
Comment 2 solar (RETIRED) gentoo-dev 2007-02-04 16:31:27 UTC
Thanks for the patch. 

cvs ci -m "- 20070204--qlist--fix_categories_false_positives.patch bug 165259 - TGL" qlist.c 
/var/cvsroot/gentoo-projects/portage-utils/qlist.c,v  <--  qlist.c
new revision: 1.43; previous revision: 1.42