apt-get install ignores long package names
Bug #365611 reported by
Evgeny Kapun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: apt
Ubuntu 9.04 amd64, apt 0.7.20.2ubuntu6.
When package name given to `apt-get install` is too long, it is just ignored:
# apt-get install aaaaaaaa
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package aaaaaaaa
# apt-get install aaaaaaaaaaaaaaaa... ('a' x 500)
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(apt-get ignored nonexistent package).
To post a comment you must log in.
Can confirm.
"sudo apt-get install aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaa"
returns:
"Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libnspr4-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."