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

张敬强 zh_jq at outlook.com
Sat Oct 10 03:27:14 UTC 2015


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 '_'
5.crash

 		 	   		  


More information about the Aptitude-devel mailing list