On Thu, 21 Apr 2011, Bill Allombert wrote:
> Another issue with 'dpkg-query -L $(list-all-packages)' is that it is not 
> portable
> to system with a command-line length limit.
> 
> I suppose popcon will have to process packages by chunk of 100, say.

You have "xargs" to solve this problem.

BTW, don't parse /var/lib/dpkg/status directly either, but use "dpkg-query
-W -f'${Package} ${Status}\n'".

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to