[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: comments/string changes and issues with dpkg's messages



On Fri, Aug 26, 2005 at 06:36:39PM +0100, Ian Jackson wrote:
> Adam Heath writes ("Re: comments/string changes and issues with dpkg's messages"):
> > ohshite should really be for internal errors only.  Things that "Should Not
> > Happen(tm)".
> 
> This is totally 100% INcorrect.  ohshite is used nearly everywhere for
> system call failures, eg `disk full'.

But ohshite already prints strerror(errno), so it could eg print

  dpkg: /var/lib/dpkg/status: No space left on device
  dpkg: /var/lib/dpkg/available: No such file or repertory

instead of

  dpkg: failed to write status record about `tcl8.4' to `/var/lib/dpkg/status': No space left on device
  dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or repertory

in order to remove many cryptic error messages from PO files.

Denis



Reply to: