tags #217477 -fixed
found #217477 0.3.4-1
thanks

On Sat, Oct 01, 2005 at 04:47:07PM -0700, Daniel Burrows wrote:
> tag 217477 + fixed-in-experimental

Unfortunately, this is not quite the case.

 * --quiet is not recognized at all.
 * -q syntax and semantics is incompatible with apt-get (which uses
   -q=level instead of multiple -q options). This makes it hard to
   write scripts which can work with apt-get and aptitude exchangeably.
 * quiet behaves differently depending on whether output is redirected
   or not:

[29/[EMAIL PROTECTED] sid-cron-apt]:~$ sudo ./mytest
now invoking without redirection
Reading package lists...
Building dependency tree...
Reading extended state information...
Initializing package states...
Building tag database...
Reading package lists...
Building dependency tree...
Reading extended state information...
Initializing package states...
Building tag database...
now invoking with redirection
Reading package lists...
Building dependency tree...
Reading extended state information...
Initializing package states...
Building tag database...
Ign http://zg.debian.zugschlus.de zg/sid Release.gpg
Ign http://zg.debian.zugschlus.de zg/sarge Release.gpg
Ign http://zg.debian.zugschlus.de zg/testsarge Release.gpg
Ign http://zg.debian.zugschlus.de zg/sid Release
Ign http://zg.debian.zugschlus.de zg/sarge Release
Ign http://zg.debian.zugschlus.de zg/testsarge Release
Get:1 http://security.debian.org sarge/updates Release.gpg [197B]
Get:2 http://volatile.debian.zugschlus.de sarge/volatile Release.gpg [189B]
Hit http://zg.debian.zugschlus.de zg/sid/main Packages
Get:3 http://debian.debian.zugschlus.de sid Release.gpg [189B]
Hit http://security.debian.org sarge/updates Release
Hit http://zg.debian.zugschlus.de zg/sid/contrib Packages
Hit http://volatile.debian.zugschlus.de sarge/volatile Release
Get:4 http://debian.debian.zugschlus.de sarge Release.gpg [197B]
Hit http://zg.debian.zugschlus.de zg/sarge/main Packages
Hit http://security.debian.org sarge/updates/main Packages
Hit http://volatile.debian.zugschlus.de sarge/volatile/main Packages
Hit http://zg.debian.zugschlus.de zg/sarge/contrib Packages
Hit http://security.debian.org sarge/updates/contrib Packages
Hit http://volatile.debian.zugschlus.de sarge/volatile/contrib Packages
Get:5 http://debian.debian.zugschlus.de sarge/updates Release.gpg [197B]
Hit http://zg.debian.zugschlus.de zg/testsarge/main Packages
Hit http://debian.debian.zugschlus.de sid Release
Hit http://zg.debian.zugschlus.de zg/testsarge/contrib Packages
Hit http://debian.debian.zugschlus.de sarge Release
Hit http://debian.debian.zugschlus.de sarge/updates Release
Hit http://debian.debian.zugschlus.de sid/main Packages
Hit http://debian.debian.zugschlus.de sid/contrib Packages
Hit http://debian.debian.zugschlus.de sid/main Sources
Hit http://debian.debian.zugschlus.de sid/contrib Sources
Hit http://debian.debian.zugschlus.de sarge/main Packages
Hit http://debian.debian.zugschlus.de sarge/contrib Packages
Hit http://debian.debian.zugschlus.de sarge/updates/main Packages
Hit http://debian.debian.zugschlus.de sarge/updates/contrib Packages
Fetched 5B in 1s (4B/s)
Reading package lists...
Building dependency tree...
Reading extended state information...
Initializing package states...
Building tag database...
[30/[EMAIL PROTECTED] sid-cron-apt]:~$ cat mytest
#!/bin/sh

APTCOMMAND="/usr/bin/aptitude"
OPTIONS="-o quiet=2"
LINE="update"
TEMP="tempfile"

echo "now invoking without redirection"
$APTCOMMAND $OPTIONS $LINE
echo "now invoking with redirection"
$APTCOMMAND $OPTIONS $LINE >> $TEMP 2>&1
cat $TEMP
rm $TEMP
[31/[EMAIL PROTECTED] sid-cron-apt]:~$

I'd love these to be fixed soon.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to