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

Re: Bug#4974: Bug in dpkg Version: 1.4.0.3



'Dale Scheetz wrote:'
>
>On Mon, 4 Nov 1996, Heiko Schlittermann wrote:
>
>> Christoph Lameter wrote:
>> : 
>> : Package: dpkg
>> : Version: 1.4.0.3
>> : dpkg -s <packagename>
>> : where packagename is nonexistant still returns a result code of 0.
>> 
>> ... I dived somewhat in the source ... it seems not to be expected, that
>> someone will ask for the return code after 'dpkg -s somewhat'.
>> 
>I have had the same problem with the -I option and dpkg. I hope you are
>not defending this behavior. Programs that do not return proper error
>codes should be considered broken in this regard. It would be nice if dpkg
>would return proper error conditions.

I just tested dpkg-1.4.0.3 and the -s option is the only one it fails
to return a non-zero value on failure.  I tried -I, -c and -s.

Heiko, are you planning another dpkg release?

-- 
Christopher J. Fearnley            |    Linux/Internet Consulting
cjf@netaxs.com, cjf@onit.net       |    UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf         |    (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf    |    Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller |    Explorer in Universe

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: