[Aptitude-devel] Bug#675833: aptitude changelog command returns exit code 0 on errors

Michael Prokop mika at debian.org
Sun Jun 3 15:35:13 UTC 2012


Package: aptitude
Version: 0.6.7-1
Severity: normal


aptitude changelog command returns with exit code 0 when
encountering problems:

,---- [ demonstration ]
| % aptitude changelog live-boot
| Err Changelog of live-boot
| E: Changelog download failed: 404  Not Found [IP: 2001:8d8:81:1520::1 80]
| E: Couldn't find a changelog for live-boot
| % echo $?
| 0
|
| % aptitude changelog live-boot/unstable
| Err Changelog of live-boot
| E: Changelog download failed: Download queue destroyed.
| E: Couldn't find a changelog for live-boot/unstable
| % echo $?
| 0
|
| % aptitude changelog live-boot
| Err Changelog of live-boot
| E: Changelog download failed: 404  Not Found [IP: 87.106.64.223 80]
| E: Couldn't find a changelog for live-boot
| % echo $?
| 0
`----

regards,
-mika-





More information about the Aptitude-devel mailing list