(Either you didn't Cc: me or the message got lost; it's a pity: we
pretty much wasted a week...)

Anyway.  What do you think about this:

--- apt-pkg/depcache.cc.orig    2008-09-30 17:08:10.630762912 +0200
+++ apt-pkg/depcache.cc 2008-09-30 17:09:22.239579934 +0200
@@ -204,6 +204,9 @@
    if(_config->FindB("Debug::pkgAutoRemove",false))
       std::clog << "pkgDepCache::writeStateFile()" << std::endl;
 
+   if(_config->FindB("APT::Get::Simulate"))
+      return true;
+
    FileFd StateFile;
    string state = _config->FindDir("Dir::State") + "extended_states";
 
I anything, this is small.  I'm no expert of apt code (this is the
first time I had a look), though, so comments are welcome.
-- 
Thanks,
Feri.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to