Previously loply wrote:
> Im writing a KDE frontend for apt-get/dpkg (hybrid functionality). This will 
> ofcourse, be another one of those system(); intsense jobs...

In that case you're doing it wrong, just use libapt-pkg directly.

> Im going to need to display dependencies on screen when the user selects a 
> non-installed package from an extremely large list of packagenames. I know 
> that the dependencies arent stored in /var/lib/dpkg/available, so I will have 
> to rummage through the various *_Packages files in /var/lib/apt/list, 
> correct? 

No, libapt-pkg will parse all that for you and give you proper data
structures.

Wichert.

-- 
  _________________________________________________________________
 /[EMAIL PROTECTED]         This space intentionally left occupied \
| [EMAIL PROTECTED]            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |


Reply via email to