apt search "-package" causes a segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Triaged
|
Medium
|
Unassigned |
Bug Description
user@hostname:~$ apt search -theme
Sorting... Error!
Full Text Search... 50% // hangs here until a ^C
^C // hangs for about a second here
Segmentation fault (core dumped) // the result
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.14
ProcVersionSign
Uname: Linux 3.13.0-92-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Aug 10 18:46:40 2016
InstallationDate: Installed on 2014-09-04 (707 days ago)
InstallationMedia: Ubuntu 12.04.5 LTS "Precise Pangolin" - Release amd64 (20140807.1)
SourcePackage: apt
UpgradeStatus: Upgraded to trusty on 2015-12-22 (232 days ago)
Can reproduce in trusty, but works properly in yakkety:
$ apt search -theme Release as such a release is not available in the sources
E: The value 'heme' is invalid for APT::Default-