[lucid] command-not-found can't be removed properly using apt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Debian) |
Fix Released
|
Unknown
|
|||
bash (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: command-not-found
When I was running karmic, I did an apt-get remove command-not-found, and that worked fine. However, when I upgraded to lucid, I started getting the following:
$ thereisnocomman
/usr/bin/python: can't find '__main__.py' in '/usr/share/
I do not actually have the command-not-found package installed:
# apt-get remove command-not-found
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package command-not-found is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
So removing the package doesn't fix anything. Even though the package is deselected, I have some of the package's files sitting around:
$ ls /usr/share/
data priority.txt programs.d
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: command-not-found (not installed)
ProcVersionSign
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sun Apr 11 15:28:10 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: command-not-found
Related branches
Changed in bash (Debian): | |
status: | Unknown → Fix Released |
Here is a tarball of /var/log/ dist-upgrade , in case that is helpful.