#endif
#include <string>
+#include <iostream>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/depcache.h>
bool goResult = Go(statusFd);
if(goResult == false)
return Failed;
-
+
// if all was fine update the state file
- if(Res == Completed)
+ if(Res == Completed) {
Cache.writeStateFile(NULL);
-
+ }
return Res;
};