Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30653

Summary: gentoolkit: dep-clean failed to retrieve system packages
Product: Portage Development Reporter: Alex <arthax>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex 2003-10-08 03:50:23 UTC
dep-clean in app-admin/gentoolkit-0.1.31 is unable to retrieve the sysrem
packages list.

Lists the following err:
# dep-clean -v
  [...]
  "Retrieving system packages."
  "sort: open failed: uniq: No such file or directory"
  [...]


Reproducible: Always
Steps to Reproduce:
1. dep-clean -v
2.
3.




At line 152 of /usr/bin/dep-clean, may miss a pipe or uniq is unneeded?
Comment 1 Paul Varner (RETIRED) gentoo-dev 2003-10-10 13:25:04 UTC
Line 152 is missing the pipe symbol.

The line should read

sort -u | uniq \

not

sort -u uniq \
Comment 2 Paul Varner (RETIRED) gentoo-dev 2003-10-10 13:31:17 UTC
I just realized that this is a duplicate of #30248  The affected line should
actually read "sort -u \" although putting the pipe in also works as you
are just outputting the same unique output twice :)
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:45 UTC
this tool is deprecated