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

Daniel Hartwig mandyke at gmail.com
Tue Apr 24 13:10:11 UTC 2012

On 24 April 2012 18:12, Vladimir Stavrinov <vstavrinov at gmail.com> wrote:
> 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
> debuild
> 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.

The file config.log will contain details of why the test failed.

More information about the Aptitude-devel mailing list