[Aptitude-devel] Bug#801430: aptitude: segfault maybe casued by package dependency loop aptitudeDepCache::internal_mark_delete loop here

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Oct 10 15:45:09 UTC 2015

Control: tags -1 + moreinfo

Hi Zhang,

2015-10-10 04:27 张敬强:
>On Sat, 10 Oct 2015 09:56:50 +0800 Zhang Jingqiang <zh_jq at outlook.com> wrote:
>> Step to reproduce the bug:
>> 1.Install maint-guide, debian-policy, devscripts, doc-base, dput, fakeroot, lintian
>>   make sure all marked as auto-installed except maint-guide
>> 2.run "aptitude"
>> 3.Mark maint-guide as purge, this will lead to many packages (>= 27 on my case) marked as remove
>> 4.Pree "g" to review the action
>> 5.Mark "Packages being removed because they are no longer used" as purge, then crash occur
>> 6.run "aptitude", then mark maint-guide as purge, the number of pkgs marked as remove is reduced
>>   as many perl pkgs has been marked as manually installed, uninstall all pkgs except these perl pkgs
>> 7.Now mark all these perl pkgs as remove, press 'g', mark them as purge, crash
>The bug is caused by libxmlrpc-lite-perl and libsoap-lite-perl
>libsoap-lite-perl depends libxmlrpc-lite-perl, while the latter one recommends the previous one.
>The step to reproduce:
>1.Install libsoap-lite-perl, make sure libxmlrpc-lite-perl is marked as auto-installed
>2.Select package libsoap-lite-perl, Press 'M'
>3.Press 'g'
>4.Select libxmlrpc-lite-perl or libsoap-lite-perl, press '_'

I cannot reproduce it as it is, maybe because I have devscripts
installed, which recommends libsoap-lite-perl.

But interested to know, do you have ::Purge-Unused enabled in (user or
root's) ~/.aptitude/config ?  Can you post that file?

Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>

More information about the Aptitude-devel mailing list