#include <apt-pkg/init.h>
#include <apt-pkg/fileutl.h>
+using namespace std;
+
int main(int argc,char *argv[])
{
- pkgInitialize(*_config);
+ pkgInitConfig(*_config);
+ pkgInitSystem(*_config,_system);
- cout << flNoLink(argv[1]) << endl;
+// cout << flNoLink(argv[1]) << endl;
- #if 0
+// #if 0
/* DynamicMMap *FileMap = new DynamicMMap(MMap::Public);
pkgFLCache *FList = new pkgFLCache(*FileMap);
Deb.ExtractArchive(Extract);
}
// #endif
-#endif
+//#endif
_error->DumpErrors();
}