User friendly dpkg errors
Ryan Dwyer
ryandwyer1 at gmail.com
Sat Jan 23 02:01:14 UTC 2010
What are the chances of having these error messages changed?
Before:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another
process using it?
After:
Something like "You have another package manager running. Please close it
and run this command again."
Before:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
After:
Something like "You must run this command as root."
Many newbies are instructed to run commands in a terminal. For many, it's
probably the first time they've ever used one. Getting an error about locks,
administration, and a directory they've never heard of wouldn't give them a
good impression.
Although the error messages are pretty straightforward, users are having
problems understanding what they mean as shown in Launchpad Answers and the
Ubuntu Forums.
Here are some examples, both within the last 24 hours:
http://ubuntuforums.org/showthread.php?t=1387762&page=2
https://answers.launchpad.net/ubuntu/+question/98243 (scroll down)
-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20100123/a7426f22/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list