[Bug 794467] [NEW] /usr/share/command-not-found remains in filesystem after 'apt-get remove command-not-found'

Bogdan Harjoc 794467 at bugs.launchpad.net
Wed Jun 8 10:01:34 UTC 2011


Public bug reported:

Binary package hint: command-not-found

I ran 'apt-get remove command-not-found' and expected the "Program xyz
is not installed" messages to go away, at least after logging out and
back in.

Apparently the file /usr/share/command-not-found was left on the
filesystem after uninstallation, causing something like

user at ubuntu:~/kit$ hg
/usr/bin/python: can't find '__main__.py' in '/usr/share/command-not-found'

I don't remember seeing any error/warning messages during 'apt-get
remove', fwiw. I could look into it some more if needed.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: command-not-found (not installed)
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Jun  8 12:56:11 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: command-not-found

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/794467

Title:
  /usr/share/command-not-found remains in filesystem after 'apt-get
  remove command-not-found'

Status in “command-not-found” package in Ubuntu:
  New

Bug description:
  Binary package hint: command-not-found

  I ran 'apt-get remove command-not-found' and expected the "Program xyz
  is not installed" messages to go away, at least after logging out and
  back in.

  Apparently the file /usr/share/command-not-found was left on the
  filesystem after uninstallation, causing something like

  user at ubuntu:~/kit$ hg
  /usr/bin/python: can't find '__main__.py' in '/usr/share/command-not-found'

  I don't remember seeing any error/warning messages during 'apt-get
  remove', fwiw. I could look into it some more if needed.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: command-not-found (not installed)
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  Architecture: amd64
  Date: Wed Jun  8 12:56:11 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: command-not-found




More information about the foundations-bugs mailing list