<div>Package: aptitude</div>
<div>Version: 0.8.13-5</div>
<div>Severity: wishlist</div>
<div></div>
<div></div>
<div></div>
<div>Today I wanted to upgrade the pacakge sudo but made a typo:</div>
<div></div>
<div></div>
<div></div>
<div># aptitude upgrade suo</div>
<div><br>Couldn't find any package whose name is "suo", but there are 4 packages which contain "suo" in their name:</div>
<div><br> golang-github-bmatsuo-lmdb-go-dev festvox-suopuhe-lj festvox-suopuhe-mv festvox-suopuhe-common </div>
<div><br>Unable to apply some actions, aborting</div>
<div></div>
<div></div>
<div></div>
<div>Clearly, neither of the suggestions of aptitude is anywhere close to my intention. I propose that aptitude searches approximately, akin to what tre-agrep does, and suggests first packages whose names deviate by 1 character from the asked one, then by two characters, then by three, …, and stops after it has listed all the packages with the current number of deviations (and increases the admissible number of deviations if less than 4 packages have been found so far) or until the list of the known packages is exhausted, whichever comes first.</div>
<div></div>
<div>Gratefully,</div>
<div></div>
<div>AlMa</div>