[Bug 1053776] Re: ubuntu patch uses unsupported search pattern, redundant
Brian Murray
brian at ubuntu.com
Mon Sep 23 18:31:38 UTC 2013
** Changed in: aptitude (Ubuntu)
Importance: Undecided => High
** Changed in: aptitude (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1053776
Title:
ubuntu patch uses unsupported search pattern, redundant
Status in “aptitude” package in Ubuntu:
Triaged
Bug description:
Ubuntu changes to aptitude include the file 05aptitude containing this
configuration item:
aptitude::Keep-Unused-Pattern "^linux-image.*$ | ^linux-restricted-
modules.*$ | ^linux-ubuntu-modules.*$";
First, the search terms used are implicit and this is unsupported for
non-interactive use. From the aptitude user's manual section titled
“Search patterns”:
Warning
The behavior of aptitude when given a search pattern without a leading “?” (or “~”) is provided as a convenience for interactive use and will change in future releases; scripts that invoke aptitude should explicitly name the search strategy they want to use. That is, scripts should search for “?name(coq)” rather than “coq”).
Second, these terms already appear in the default value of
APT::NeverAutoRemove from 01autoremove (package apt). The aptitude
setting is used in a check which already considers the APT setting,
making the aptitude configuration redundant.
The setting should be removed from 05aptitude.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1053776/+subscriptions
More information about the foundations-bugs
mailing list