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

Bug#299035: apt-ftparchive: Failed run does not exit with exit status !=0



Package: apt-utils
Version: 0.5.4
Severity: important

Contradicting what is stated in the man page:

DIAGNOSTICS
       apt-ftparchive returns zero on normal operation, decimal 100 on error.
       
apt-ftparchive run exits with error code 0 even after failing some parts of
the directory structure:

~# apt-ftparchive generate apt.conf
...

E: Could not open file /home/.../source/Sources.gz.new - open (2 No such file or directory)
E: Could not open file /home/.../source/Sources.new - open (2 No such file or directory)
E: Error Processing directory .../source/
E: Could not open file /home/.../source/Sources.gz.new - open (2 No such file or directory)
E: Could not open file /home/.../source/Sources.new - open (2 No such file or directory)
E: Error Processing directory .../source/
E: Could not open file /home/.../source/Sources.gz.new - open (2 No such file or directory)
E: Could not open file /home/.../source/Sources.new - open (2 No such file or directory)
E: Error Processing directory .../source/
Done Packages, Starting contents.
 dists/.../Contents-arm:
E: Could not open file /home/.../binary-arm/Packages - open (2 No such file or directory)
E: Error Processing Contents dists/.../Contents-arm
Done. 30.1kB in 2 archives. Took 0s
W: Some files are missing in the package file group `dists/.../binary-i386/Packages'
W: Some files are missing in the package file group `dists/.../binary-i386/Packages'
W: Some files are missing in the package file group `dists/.../binary-i386/Packages'

~# echo $?
0

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux genarin 2.4.26 #1 Thu Apr 15 17:45:21 CEST 2004 i686
Locale: LANG=es_ES, LC_CTYPE=en_US

Versions of packages apt-utils depends on:
ii  apt [libapt-pkg-libc6. 0.5.4             Advanced front-end for dpkg
ii  libc6                  2.2.5-11.8        GNU C Library: Shared libraries an
ii  libdb2                 2:2.7.7.0-7       The Berkeley database routines (ru
ii  libstdc++2.10-glibc2.2 1:2.95.4-11woody1 The GNU stdc++ library

-- 
Jesus Climent                                      info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.6.10|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

That's thirty minutes away. I'll be there in ten.
		--Wolf (Pulp Fiction)



Reply to: