[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt stuck at "Reading database"



Dear all,

I've been trying to fix this problem, but have not found a solution
yet. (I've also asked at the aptosid list without success.)

Before I resigned myself to a reinstall, I thought I'd post the output of

    strace apt-get dist-upgrade

(I killed the process a few seconds after it got stuck.)  The first
4000 lines are here:

http://www.math.utk.edu/~finotti/misc/DU.log

At line 37886, we start to see

    pselect6(43, [0 40 42], NULL, NULL, {0, 500000}, {[], 8}) = 0 (Timeout)
    wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

repeat over and over. At line 38006, we see:

    select6(43, [0 40 42], NULL, NULL, {0, 500000}, {[], 8}) = 1 (in
[40], left {0, 264028})
    read(40, "(Reading database ... \r", 1024) = 23
    write(1, "(Reading database ... \r", 23) = 23
    write(4, "(Reading database ... \r", 23) = 23
    wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

before the pattern above starts to repeat again.

Of the last 117592 lines, most are the (repeating ones) above, only
1012 are different. I've post these different ones, i.e., the result
of

    tail -117592 DU.txt | grep -F -v 'wait4(8948, 0x7ffd2430a5c0,
WNOHANG, NULL) = 0' | grep -F -v 'pselect6(43, [0 40 42], NULL, NULL,
{0, 500000}, {[], 8}) = 0 (Timeout)'

here:

http://www.math.utk.edu/~finotti/misc/DU2.log

Again, just a last attempt.

Best to all,

Luis


Reply to: