[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KAptGet - Database questions



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.

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



Reply to: