Hopefully this gets improved properly, but in the meantime here's an alias that offers better convenience than 'apt search' for package name search:
alias apts="apt list 2> /dev/null | sed 's/\// \//' | grep " And a bulky, quick and dirty bash function for full description search: aptse() { # temporary 'apt search' improvement tput rmam; # no-wrap apt search $1 2>/dev/null | # skip the interface warning tail -n+3 | # skip unimportant sorting info grep -v '^$' | # delete empty lines sed 'N;s/\n//' | # append every second line sed 's/\// \//' | # replace first '/' with space awk '{$2="";$4="";print}' | # remove useless info sed -r 's/(\[.*)installed(.*\])/\1i\2/' | # shorten sed -r 's/(\[.*)automatic(.*\])/\1a\2/' | # shorten sed -r 's/(\[.*),(.*\])/\1\2/' | # prettier shortened '[]' egrep --color "$1|" # highlighting tput smam; # wrap again } Since the search expression is always a pattern with grep, neither suffers from the 'apt list' behaviour described in my previous comment (https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1639815/comments/1). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1639815 Title: apt list output format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1639815/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs