[Aptitude-devel] Bug#842707: Re: aptitude keep-all hangs forever
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sat Jan 7 22:27:58 UTC 2017
2017-01-01 15:12 GMT+01:00 Andreas Neudecker <zapyon at gmx.net>:
> Hi Manuel,
>
> I did not find this setting
>
>> Do you have GzipIndexes indexes enabled in apt/aptitude config?
>
> anywhere. root's ~/.aptitude/config is:
>
> ----8<----
> aptitude "";
> aptitude::Keep-Unused-Pattern "";
> aptitude::Delete-Unused-Pattern "";
> aptitude::Delete-Unused "false";
> aptitude::Auto-Upgrade "true";
> aptitude::UI "";
> aptitude::UI::Pause-After-Download "OnlyIfError";
> aptitude::UI::InfoAreaTabs "false";
> ----8<----
>
> I also checked in /etc/apt/apt.conf.d/* and a grep on GzipIndexes yielded nothing.
>
> Where else should I look?
What you cited is everywhere where you can look, I think. I think
that "apt-config dump -c /root/.aptitude/config" would also achieve
the same results, but basically you looked into the right places.
I was asking because several reports related with "freezes" when
changing the states of the packages were due to the gzipped indices.
<note for future investigations>
I could safely try this today in another machine, and with strace it
looks like there's an endless loop looking for a apt-xapian file that
does not exist.
[pid 28407] stat("/var/lib/apt-xapian-index/index", 0x7ffc41affc40) =
-1 ENOENT (No such file or directory)
[pid 28407] stat("/var/lib/apt-xapian-index/index", 0x7ffc41b00330) =
-1 ENOENT (No such file or directory)
[pid 28407] stat("/var/lib/apt-xapian-index/index", 0x7ffc41affc40) =
-1 ENOENT (No such file or directory)
[pid 28407] stat("/var/lib/apt-xapian-index/index", 0x7ffc41b00330) =
-1 ENOENT (No such file or directory)
[pid 28407] stat("/var/lib/apt-xapian-index/index", 0x7ffc41affc40) =
-1 ENOENT (No such file or directory)
When installing "apt-xapian-index" and then running
"update-apt-xapian-index" the strace changes but it also seems to get
caught in another kind of endless loop.
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list