Package: command-not-found Version: 0.2.26-1 Severity: important 'command-not-found' crashes with the following message:
[snip] Unable to open binary database /var/cache/command-not-found//ftp.de.debian.org_debian_dists_experimental_main.db: (13, 'Permission denied') Sorry, command-not-found has crashed! Please file a bug report for the command-not-found package, see http://www.debian.org/Bugs/Reporting for further information Please include the following information with the report: command-not-found version: 0.2.26 Python version: 2.5.4 final 0 Distributor ID: Debian Description: Debian GNU/Linux unstable (sid) Release: unstable Codename: sid Exception information: 'NoneType' object is unsubscriptable Traceback (most recent call last): File "/usr/share/command-not-found/CommandNotFound/util.py", line 32, in crash_guard callback() File "/usr/share/command-not-found/command-not-found", line 24, in main CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed) File "/usr/share/command-not-found/CommandNotFound/CommandNotFound.py", line 64, in __init__ self.programs.append(ProgramDatabase(os.path.sep.join([data_dir, self.programs_dir, filename]))) File "/usr/share/command-not-found/CommandNotFound/CommandNotFound.py", line 49, in __init__ self.component = self.db.db[':component:'] TypeError: 'NoneType' object is unsubscriptable [snap] This is a freshly installed 'command-not-found' with nothing but one run of 'update-command-not-found' as root. I suspect my root's umask setting of '077' might be responsible for this. IMO, the update script should be able to handle such environments, too. Setting severity to 'important', because this renders the package unusable for me, but probably not for everyone. Regards, Frank -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.27.8-loopaes (PREEMPT) Locale: LANG=C, lc_ctype=de...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/dash Versions of packages command-not-found depends on: ii apt-file 2.2.2 search for files within Debian pac ii lsb-release 3.2-22 Linux Standard Base version report ii python 2.5.4-2 An interactive high-level object-o ii python-central 0.6.11 register and build utility for Pyt ii python-gdbm 2.5.2-1 GNU dbm database support for Pytho command-not-found recommends no packages. command-not-found suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org