View Issue Details

IDProjectCategoryView StatusLast Update
0002301Kali LinuxGeneral Bugpublic2015-07-23 17:01
Reporterrhertzog Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionkali-dev 
Fixed in Version2.0 
Summary0002301: Dependencies of metapackages installed in live image are not marked as manually installed
Description

It looks like that the « APT::Never-MarkAuto-Sections:: "metapackages"; » setting of APT is not respected during the package installation done by live-build as the Kali live image seems to have dependencies of metapackages marked as "auto-installed" instead of "manually-installed", despite the fact that all kali-linux-* packages are in section "metapackages".

Steps To Reproduce

Running “apt-get remove nmap” in a live image will yield a long list of packages that can be autoremoved and it shouldn't (except possibly for nmap's own dependencies).

root@kali:~# apt-get remove nmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
0trace acccheck ace-voip afflib-tools aircrack-ng amap apache-users apktool arduino
arduino-core arp-scan arping arpwatch asleap automater autopsy avr-libc avrdude
[...]

Activities

rhertzog

rhertzog

2015-07-23 17:00

administrator   ~0003575

So I filed this bug on the Debian side: http://bugs.debian.org/793360 and I wrote a patch to fix this problem.

I uploaded fixed packages into kali-dev (apt 1.0.9.10+kali1) and sana (apt 1.0.9.10+kali1~r2u1).

Issue History

Date Modified Username Field Change
2015-05-28 18:51 rhertzog New Issue
2015-05-28 18:51 rhertzog Status new => assigned
2015-05-28 18:51 rhertzog Assigned To => sbrun
2015-07-23 17:00 rhertzog Note Added: 0003575
2015-07-23 17:01 rhertzog Status assigned => resolved
2015-07-23 17:01 rhertzog Fixed in Version => 2.0
2015-07-23 17:01 rhertzog Resolution open => fixed
2015-07-23 17:01 rhertzog Assigned To sbrun => rhertzog