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

Bug#60730: marked as done (bad exit code on apt-get )



Your message dated Sun, 19 Mar 2000 01:53:32 -0700 (MST)
with message-id <[🔎] Pine.LNX.3.96.1000319015311.18600G-100000@wakko.deltatee.com>
and subject line Bug#60730: bad exit code on apt-get 
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Mar 2000 07:49:33 +0000
Received: (qmail 32420 invoked from network); 19 Mar 2000 07:49:30 -0000
Received: from ppp-243-115.velizy.club-internet.fr (HELO syspeo.linux) (@195.36.243.115)
  by master.debian.org with SMTP; 19 Mar 2000 07:49:30 -0000
Received: from mail.club-internet.fr (really [127.0.0.1]) by syspeo.linux
	via in.smtpd with esmtp (ident lacroix using rfc1413)
	id <m12Wac1-00000LC@syspeo.linux> (Debian Smail3.2.0.102)
	for <submit@bugs.debian.org>; Sun, 19 Mar 2000 08:59:01 +0100 (CET) 
Sender: lacroix
Message-ID: <[🔎] 38D488C1.DB756CDC@mail.club-internet.fr>
Date: Sun, 19 Mar 2000 08:58:58 +0100
From: Jean Marc LACROIX <jlacroix@mail.club-internet.fr>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.13-rtl2.0 i686)
X-Accept-Language: fr-FR
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: bad exit code on apt-get 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Package: apt
Version:  0.1.9

Problem ?
-------
There is a bad interpretation in the exist code of  dpkg-deb  with
apt-get..

my configuration:
HP Lhpro Bi pentium PRO

[root@syspeo:~] dpkg -l |grep dpkg
ii  apt             0.1.9          Front-End for dpkg
ii  dpkg            1.4.0.34       Package maintenance system for Debian
Linux
ii  dpkg-dev        1.4.0.34       Package building tools for Debian
Linux
ii  dpkg-mountable  0.7            Enhanced access method for dselect

[root@syspeo:~] uname -a
Linux syspeo 2.2.13-rtl2.0 #1 SMP Thu Dec 30 16:12:47 CET 1999 i686
unknown

[root@syspeo:~] dpkg -l |grep libc
ii  libc5           5.4.46-3       The Linux C library version 5
(run-time libr
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries
ii  libc6-dev       2.0.7.19981211 GNU C Library: Development libraries
and hea
ii  libcompfaceg1   1989.11.11-16  Compress/decompress images for
mailheaders,
ii  libg++272       2.7.2.8-0.1    The GNU C++ libraries (libc6
version).
ii  libgpmg1        1.14-3         General Purpose Mouse Library [libc6]

ii  libtiff3g       3.4beta037-5.1 tiff runtime library [libc6]
ii  tcl76           7.6p2-7        The Tool Command Language (TCL) v7.6
- libc5
ii  tk42            4.2p2-7        The Tk toolkit for TCL and X11 v4.2 -
libc5
ii  xlib6           3.3.6-1.99.sli shared libraries required by libc5 X
clients
ii  xpm4.7          3.4j-0.6       X Pixmap libraries (for libc5) -
runtime
ii  xpm4g           3.4j-0.6       X Pixmap libraries (for libc6) -
runtime

I am using apt-get in order to manage my local LAN, and i construct a
directory
with different packages i386.deb files.
the following command on my specific directory give.....

---------------
[root@syspeo:~]  dpkg-scanpackages
/libre_2/package_debian/dists/stable/main /tmp/. ../..
dpkg-deb (subprocess): unexpected end of file in member data in
/libre_2/package_debian/dists/stable/main/nethack_3.2.3-3_i386.deb

gzip: stdin: unexpected end of file
dpkg-deb: subprocess gzip -dc returned error exit status 1
Couldn't call dpkg-deb on
/libre_2/package_debian/dists/stable/main/nethack_3.2.3-3_i386.deb:
---------------


the problem is that the exit code is good ( $? = 0 ), and of course my
script wich used the
 dpkg-scanpackages can not stop ...
if i use the  dpkg-deb  with my test file, i have the following
result...

---------------
[root@syspeo:~]  dpkg-deb -I
/libre_2/package_debian/dists/stable/main/nethack_3.2.3-3_i386.deb;echo
$?
 new debian package, version 2.0.
 size 2920 bytes: control archive= 4412 bytes.
dpkg-deb (subprocess): unexpected end of file in member data in
/libre_2/package_debian/dists/stable/main/nethack_3.2.3-3_i386.deb

gzip: stdin: unexpected end of file
dpkg-deb: subprocess gzip -dc returned error exit status 1
2
---------------
 and this is normal because my package is broken.

Conclusion:
-----------
I suspect that in the apt-get utility, the exit code when using dpkg-deb
is not tested


best regards

--
----------------------------------------------------------------------------------
 Jean-Marc Lacroix e-Mail : jlacroix@mail.club-internet.fr



---------------------------------------
Received: (at 60730-done) by bugs.debian.org; 19 Mar 2000 08:53:36 +0000
Received: (qmail 6930 invoked from network); 19 Mar 2000 08:53:36 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 19 Mar 2000 08:53:36 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12WbSm-0006Yx-00 (Debian); Sun, 19 Mar 2000 01:53:32 -0700
Date: Sun, 19 Mar 2000 01:53:32 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: Jean Marc LACROIX <jlacroix@mail.club-internet.fr>, 
    60730-done@bugs.debian.org
cc: APT Development Team <deity@lists.debian.org>
Subject: Re: Bug#60730: bad exit code on apt-get 
In-Reply-To: <[🔎] 38D488C1.DB756CDC@mail.club-internet.fr>
Message-ID: <[🔎] Pine.LNX.3.96.1000319015311.18600G-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sun, 19 Mar 2000, Jean Marc LACROIX wrote:

> There is a bad interpretation in the exist code of  dpkg-deb  with
> apt-get..

apt-get does not call dpkg-deb. Your report is very nonsensical.

Jason


Reply to: