[ubuntu-dev] Bug#613101: Bug#613101: ubuntu-dev-tools: Better error message for recommended packages that aren't installed

Benjamin Drung bdrung at debian.org
Sat Feb 12 22:15:01 UTC 2011


Am Samstag, den 12.02.2011, 19:02 -0200 schrieb Nelson A. de Oliveira:
> While I know that I don't have the necessary package installed, it would
> be good if a better message was displayed:
> 
> $ suspicious-source 
> Traceback (most recent call last):
>   File "/usr/bin/suspicious-source", line 17, in <module>
>     import magic
> ImportError: No module named magic
> 
> Something like:
> 
> "You need to have the package 'python-magic' in order to use suspicious-source" instead having the import error.
> 
> The same is valid for other tools, like dgetlp.

I have fixed dgetlp, import-bug-from-debian, and suspicious-source.
Please let us know if there are more failures caused by not installed
recommends.

-- 
Benjamin Drung
Debian & Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/ubuntu-dev-team/attachments/20110212/6eeed103/attachment-0001.pgp>


More information about the ubuntu-dev-team mailing list