apt-get install crashes on zero length package name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt-get install ""
Reading package lists... Done
Building dependency tree
Reading state information... Done
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string:
Giving "" (zero length string) as the package name seems to be what causes the problem.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~
ProcVersionSign
Uname: Linux 3.5.0-39-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Thu Aug 29 12:07:54 2013
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.