On Sun, Oct 09, 2005 at 01:36:16PM +0200, Marc Haber wrote:
> Unfortunately, aptitude is buggy regarding --assume-yes. cron-apt's
> default rules already use --assume-yes (abbreviated as -y), which
> triggers aptitude bug #332885, the original cause of _this_ bug here.

#332885 is fixed in aptitude 0.3.4, which is in experimental, and
fixes the urgency of this bug, as it only breaks cron-apt and not the
entire system.

Additionally, aptitude 0.3.5 (which is not yet uploaded) will have an
option to ignore trust-violation warnings, so that cron-apt can safely
document -o "aptitude::Cmdline::ignore-trust-violations=yes" for
aptitude, and this will work with aptitude 0.3.5.

Suggested new config contents:
# General apt options that will be passed to all APTCOMMAND calls.
# Use "-o quiet" instead of "-q" for aptitude compatibility.
# OPTIONS="-o quiet=1"
# You can for example add an alternative sources.list file here.
# OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list"
# If you want to allow unauthenticated and untrusted packages add the
# following to your options directive.
#  OPTIONS="-o quiet=1 -o APT::Get::AllowUnauthenticated=true -o 
aptitude::Cmdline::ignore-trust-violations=yes"
# This will only work with aptitude >= 0.3.5
# The --assume-yes option will answer yes to almost all questions. This
# is not very safe, and can fill up your /tmp file system (#316606) due
# to an aptitude bug (#332885) which shows if --assume-yes is used and
# untrusted packages would be installed. This aptitude bug is fixed in
# aptitude 0.3.4.

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