Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50793 - qpkg gives 'Argument list too long'
Summary: qpkg gives 'Argument list too long'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 13:38 UTC by viktor
Modified: 2004-08-21 13:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viktor 2004-05-11 13:38:41 UTC
qpkg -f /path/to/file *sometimes* gives the following error:

/usr/bin/qpkg: line 1: /bin/ls: Argument list too long

Strangely other times it gives the correct answer to the same file!

While trying to track down the problem found lot of `ls' invocations in qpkg,
like `ls .../*/CONTENTS'. These can lead to the error, question is why it somtimes works?
Maybe there are "too much" packages on the system, `qpkg -I | wc -l' gives 2454.
But the system should manage this situation anyway.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-05-11 14:13:06 UTC
quoted from `qpkg -h`:

[quote]
NOTICE: This tool will be phased out at some point in the
        future, please use equery instead.
        Bugs are still fixed but new features won't be added.
[/quote]

You might want to try `equery belongs /path/to/file`
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:54 UTC
this tool is deprecated