Public bug reported:

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.

** Affects: aptitude (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053776

Title:
  ubuntu patch uses unsupported search pattern, redundant

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1053776/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to