[Aptitude-devel] Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

Vladimir Stavrinov vstavrinov at gmail.com
Tue Apr 24 10:12:04 UTC 2012

On Tue, Apr 24, 2012 at 05:42:56PM +0800, Daniel Hartwig wrote:

> that will be released shortly.  In the meantime could you try the
> patch there and report if it solves this problem also?

After downloading source package, applying patch, 

dpkg-source --commit

I've got:

checking how to link gmock... configure: error: Can't figure out where Google Mock lives; either install the google-mock package or place the library in the link path
dh_auto_configure: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [build-stamp-curses] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed

While the package google-mock is installed.


##  Vladimir Stavrinov
##  vstavrinov at gmail.com

More information about the Aptitude-devel mailing list