[Aptitude-devel] Bug#887639: $? still 0 despite error

2018-01-18 Thread 積丹尼 Dan Jacobson
Package: aptitude Version: 0.8.10-6 Perl has use warnings FATAL => 'all'; to halt and return non-zero to the shell upon anything unexpected. Alas, aptitude gives no way to halt a shell script upon its errors at least like the one in #887624. Some people would like a chance to fix ANY error

[Aptitude-devel] Bug#887624: Bug#887624: $? still 0 despite error

2018-01-18 Thread Axel Beckert
Dear Jidanni, 積丹尼 Dan Jacobson wrote: > Also there should be a way to make aptitude stop scripts running it on > all errors. But as $0 is still 0 in this case that is impossible. This is a completely different issue. Please don't put more than one issue into one bug report. (And it's a

[Aptitude-devel] Processed: tagging 887624

2018-01-18 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > # At least a regression since Stretch > tags 887624 + confirmed Bug #887624 [aptitude] new hardwired SetupAPTPartialDirectory foils non-root use Added tag(s) confirmed. > thanks Stopping processing here. Please contact me if you need assistance.

[Aptitude-devel] Processed: severity of 887624 is minor

2018-01-18 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > severity 887624 minor Bug #887624 [aptitude] new hardwired SetupAPTPartialDirectory foils non-root use Severity set to 'minor' from 'normal' > thanks Stopping processing here. Please contact me if you need assistance. -- 887624:

[Aptitude-devel] Bug#887624: $? still 0 despite error

2018-01-18 Thread 積丹尼 Dan Jacobson
Also there should be a way to make aptitude stop scripts running it on all errors. But as $0 is still 0 in this case that is impossible. $ set -e won't detect it! ___ Aptitude-devel mailing list Aptitude-devel@lists.alioth.debian.org

[Aptitude-devel] Bug#887624: new hardwired SetupAPTPartialDirectory foils non-root use

2018-01-18 Thread 積丹尼 Dan Jacobson
Package: aptitude Version: 0.8.10-6 There is something now hardwired into aptitude that no -o option can change that causes this to complain when run as a regular user. As you can see the user just wants to download some .debs including dependencies and is not interested in locking any files or