6 #include <zypp/base/Logger.h>
8 #include <zypp/ZYppFactory.h>
10 #include "zypp/Product.h"
11 #include "zypp/detail/PackageImplIf.h"
12 #include "zypp/Package.h"
13 #include "zypp2/RepositoryFactory.h"
14 #include "zypp2/repo/cached/RepoImpl.h"
15 #include "zypp/data/ResolvableData.h"
19 using namespace zypp::repo;
20 using namespace zypp::repo::cached;
23 int main(int argc, char **argv)
27 ZYpp::Ptr z = getZYpp();
29 z->initializeTarget("/");
30 ResStore res = z->target()->resolvables();
31 MIL << res.size() << " resolvables" << endl;
34 catch ( const Exception &e )
37 cout << e.msg() << endl;