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

Bug#431737: apt: Enable APT::Never-MarkAuto-Sections for metapackages, once section is added



I'm a bit confused about the status of this bug.

The 'metapackages' section has been added and the default configuration
has the requested change, but (1) the configuration variable doesn't
appear to be documented (2) it doesn't appear to have any effect.

I tested with apt 0.8.15.9 installed, and a local repository containing
a modified linux-latest package:

# apt-config dump | grep ^APT::Never-MarkAuto-Sections
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
...
# apt-get purge linux-image-{3.2.0-1-,}686-pae
...
# grep -A2 linux-image /var/lib/apt/extended_states
# apt-get install -y linux-image-686-pae
...
# dpkg -s linux-image-686-pae | grep ^Section:
Section: metapackages
# grep -A2 linux-image /var/lib/apt/extended_states
Package: linux-image-3.2.0-1-686-pae
Architecture: i386
Auto-Installed: 1
# apt-get remove -y linux-image-686-pae
...
# grep -A2 linux-image /var/lib/apt/extended_states
Package: linux-image-3.2.0-1-686-pae
Architecture: i386
Auto-Installed: 1

Now, I do actually want the dependencies of metapackages built from
linux-latest still to be marked auto-installed.  But I'm not sure
whether this is the intended behaviour or not.

Ben.

-- 
Ben Hutchings
Q.  Which is the greater problem in the world today, ignorance or apathy?
A.  I don't know and I couldn't care less.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: