Your message dated Mon, 02 Nov 2009 21:34:14 +0000
with message-id <[email protected]>
and subject line Bug#522450: fixed in command-not-found 0.2.38-1
has caused the Debian Bug report #522450,
regarding command-not-found: Crashes when trying to open database - Permission
denied
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
522450: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522450
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: command-not-found
Source-Version: 0.2.38-1
We believe that the bug you reported is fixed in the latest version of
command-not-found, which is due to be installed in the Debian FTP archive:
command-not-found_0.2.38-1.debian.tar.gz
to main/c/command-not-found/command-not-found_0.2.38-1.debian.tar.gz
command-not-found_0.2.38-1.dsc
to main/c/command-not-found/command-not-found_0.2.38-1.dsc
command-not-found_0.2.38-1_all.deb
to main/c/command-not-found/command-not-found_0.2.38-1_all.deb
command-not-found_0.2.38.orig.tar.gz
to main/c/command-not-found/command-not-found_0.2.38.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julian Andres Klode <[email protected]> (supplier of updated command-not-found
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Mon, 02 Nov 2009 20:43:12 +0100
Source: command-not-found
Binary: command-not-found
Architecture: source all
Version: 0.2.38-1
Distribution: unstable
Urgency: low
Maintainer: Julian Andres Klode <[email protected]>
Changed-By: Julian Andres Klode <[email protected]>
Description:
command-not-found - Suggest installation of packages in interactive bash
sessions
Closes: 503629 521276 522450 543747 551377
Changes:
command-not-found (0.2.38-1) unstable; urgency=low
.
* Update to latest release
- Prints an error message if the command could not be found in the
database (Closes: #551377)
* Packaging changes:
- Use python-support instead of python-central.
- Switch to the new 3.0 (quilt) source format.
* Bugfixing:
- Create symlinks for command-not-found in /usr/lib (used by bash),
and in /usr/bin for manual invocation (Closes: #543747)
- Strip package names so they don't contain newlines (Closes: #521276)
- Fix typo in the description (Closes: #503629)
- Use mode 0644 for the database files (Closes: #522450), and set
the umask to 022 while running the update-command-not-found script.
- Set -e in the maintainer scripts, reported by lintian.
* Change update-command-not-found to only add the section to the database
filenames. Delete old cache files in postinst, so users only get the
new ones.
* Stop installing /etc/bash_command_not_found, since the standard one
included in bash works now.
Checksums-Sha1:
7c6ff8d5011bd8a910dc6a9daeb9fbc8848526f4 1126 command-not-found_0.2.38-1.dsc
a2b86b5d63485b1bfe03324989e798afa2edf5bb 321963
command-not-found_0.2.38.orig.tar.gz
1a0183ae0061a9b1a5c157c306a1a5619517986b 9265
command-not-found_0.2.38-1.debian.tar.gz
931d948f92ed173649b783e6c2033ef3fb3110f0 12956
command-not-found_0.2.38-1_all.deb
Checksums-Sha256:
576694b3bb2e1498a8e5c6cf9201aa87c0a170c61b3748bb5c1fbb2393054147 1126
command-not-found_0.2.38-1.dsc
69f871a582102a16effbc4f038a55616603b87054fd2af1c1ccdd91d45f4759b 321963
command-not-found_0.2.38.orig.tar.gz
77887ab47d6a6969f4e8ff01db000570da05d2562f6c3bcdbc2adc4ca5bcff2d 9265
command-not-found_0.2.38-1.debian.tar.gz
e27847311bcc021a8dcc506c15c700a480a1c412fee340a3a56e3ce80fc8f014 12956
command-not-found_0.2.38-1_all.deb
Files:
376f063486e68a4f1f660d28d40f571b 1126 admin optional
command-not-found_0.2.38-1.dsc
8fb208e03a1dc6542c8ab18a3c8c4195 321963 admin optional
command-not-found_0.2.38.orig.tar.gz
b31c92481486d8b3128eefdaab7416a2 9265 admin optional
command-not-found_0.2.38-1.debian.tar.gz
718fec0f8c4a2312e30deb83b06066a5 12956 admin optional
command-not-found_0.2.38-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREDAAYFAkrvTjwACgkQrCpf/gCCPsL2gACgj/CxxTm9kvKXcUAAANb50Zi0
jEcAni7PbAfATe9PnfTqixx4IxoZ03t3
=v7oh
-----END PGP SIGNATURE-----
--- End Message ---