Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Vladimir Stavrinov
Package: aptitude
Version: 0.6.6-1+b1
Severity: normal

Dear Maintainer,

the command

aptitude -d upgrade 

hang up for an hour or more and then issue the error in subject. Downgrade to
0.6.6-1 solve this problem


-- Package-specific info:
Terminal: screen
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.6.6 compiled at Apr 16 2012 22:17:55
Compiler: g++ 4.6.3
Compiled against:
  apt version 4.12.0
  NCurses version 5.9
  libsigc++ version: 2.2.10
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20110404
  cwidget version: 0.5.16
  Apt version: 4.12.0

aptitude linkage:
linux-vdso.so.1 =  (0x7fff391ff000)
libapt-pkg.so.4.12 = /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 
(0x7fd9c55c7000)
libncursesw.so.5 = /lib/x86_64-linux-gnu/libncursesw.so.5 
(0x7fd9c5398000)
libtinfo.so.5 = /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x7fd9c516f000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0x7fd9c4f6a000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0x7fd9c4c6a000)
libept.so.1.0.5.4.12 = /usr/lib/libept.so.1.0.5.4.12 
(0x7fd9c4a17000)
libxapian.so.22 = /usr/lib/libxapian.so.22 (0x7fd9c461a000)
libz.so.1 = /usr/lib/x86_64-linux-gnu/libz.so.1 (0x7fd9c4404000)
libsqlite3.so.0 = /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x7fd9c415c000)
libboost_iostreams.so.1.49.0 = /usr/lib/libboost_iostreams.so.1.49.0 
(0x7fd9c3f43000)
libpthread.so.0 = /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7fd9c3d27000)
libstdc++.so.6 = /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7fd9c3a1f000)
libm.so.6 = /lib/x86_64-linux-gnu/libm.so.6 (0x7fd9c379d000)
libgcc_s.so.1 = /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7fd9c3587000)
libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7fd9c31ff000)
libutil.so.1 = /lib/x86_64-linux-gnu/libutil.so.1 (0x7fd9c2ffc000)
libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7fd9c2df8000)
libbz2.so.1.0 = /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x7fd9c2be7000)
libuuid.so.1 = /lib/x86_64-linux-gnu/libuuid.so.1 (0x7fd9c29e2000)
librt.so.1 = /lib/x86_64-linux-gnu/librt.so.1 (0x7fd9c27d9000)
/lib64/ld-linux-x86-64.so.2 (0x7fd9c5918000)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  libapt-pkg4.120.9.2
ii  libboost-iostreams1.49.0  1.49.0-2
ii  libc6 2.13-30
ii  libcwidget3   0.5.16-3.2
ii  libept1.4.12  1.0.6.1
ii  libgcc1   1:4.7.0-3
ii  libncursesw5  5.9-6
ii  libsigc++-2.0-0c2a2.2.10-0.1
ii  libsqlite3-0  3.7.11-2
ii  libstdc++64.7.0-3
ii  libtinfo5 5.9-6
ii  libxapian22   1.2.8-1
ii  zlib1g1:1.2.6.dfsg-2

Versions of packages aptitude recommends:
ii  apt-xapian-indexnone
ii  aptitude-doc-en [aptitude-doc]  0.6.6-1
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils  0.0.6

Versions of packages aptitude suggests:
ii  debtags  1.9+b1
ii  tasksel  3.09

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Daniel Hartwig
On 24 April 2012 16:55, Vladimir Stavrinov vstavri...@gmail.com wrote:
 the command

 aptitude -d upgrade

 hang up for an hour or more and then issue the error in subject. Downgrade to
 0.6.6-1 solve this problem

Did the program hang after downloading the package files?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Vladimir Stavrinov
On Tue, Apr 24, 2012 at 05:08:39PM +0800, Daniel Hartwig wrote:

 Did the program hang after downloading the package files?

Yes, here is examples of output:

Fetched 114 MB in 2min 38s (718 kB/s)
E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
Reading package lists...

or

Writing extended state information...
E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
Reading package lists...

I am not sure about first example, because I've take it from log, but in
last case I saw many times it hang up exactly after output:

Writing extended state information...


-- 

***
##  Vladimir Stavrinov
##  vstavri...@gmail.com
***




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Daniel Hartwig
On 24 April 2012 17:20, Vladimir Stavrinov vstavri...@gmail.com wrote:
 On Tue, Apr 24, 2012 at 05:08:39PM +0800, Daniel Hartwig wrote:

 Did the program hang after downloading the package files?

 Yes, here is examples of output:

 Fetched 114 MB in 2min 38s (718 kB/s)
 E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
 Reading package lists...

 or

 Writing extended state information...
 E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
 Reading package lists...

 I am not sure about first example, because I've take it from log, but in
 last case I saw many times it hang up exactly after output:

 Writing extended state information...


Ok, this looks related to -d infinite loop aka #629266.  A fix for
that will be released shortly.  In the meantime could you try the
patch there and report if it solves this problem also?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Vladimir Stavrinov
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.

-- 

***
##  Vladimir Stavrinov
##  vstavri...@gmail.com
***




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Daniel Hartwig
On 24 April 2012 18:12, Vladimir Stavrinov vstavri...@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.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670222: E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp

2012-04-24 Thread Daniel Hartwig
On 24 April 2012 21:40, Vladimir Stavrinov vstavri...@gmail.com wrote:
 On Tue, Apr 24, 2012 at 09:10:11PM +0800, Daniel Hartwig wrote:


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

 The only relevant message I can see is /usr/bin/ld: cannot find
 -lgtest, but both packages

 libgtest-dev
 libgtest0

 are installed too.

 See this log in attachment.

Looks like gtest is no longer shipping the library.  Our build system
will need updating.

In the mean time Ubuntu has a patch, no-google-mock [1], which may get
you on your way.

[1] 
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/aptitude/precise/files/head:/debian/patches/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org