On Tue, Nov 20, 2007 at 05:43:25PM -0500, Frédéric Brière <email address hidden> was heard to say:
> Until this bug is fixed, could the following be redacted from the
> manpage?
>
> -R, --without-recommends
> [...]
> Packages previously installed due to recommendations will not be
> removed.
It was fixed in the same commit that introduced those lines:
changeset: 588:fc7b9b620fe9
user: Daniel Burrows <email address hidden>
date: Sat Jan 06 22:29:15 2007 +0000
summary: [aptitude @ Enable Keep-Recommends as well as disabling
Recommends-Important when --without-recommends is passed. This may have
side-effects I haven't forseen, but seems much better than removing
piles of packages for a single install. (Closes: #143532)]
daniel@alpaca:~/programming/aptitude/head$ hg diff -r 587:588
diff -r 0f9daa5a5dfc -r fc7b9b620fe9 doc/en/manpage.xml
--- a/doc/en/manpage.xml Sat Jan 06 06:27:33 2007 +0000
+++ b/doc/en/manpage.xml Sat Jan 06 22:29:15 2007 +0000
@@ -763,10 +763,12 @@ ihA raptor-utils - Ra
<para>
Do <emphasis>not</emphasis> treat recommendations as dependencies when installing new packages (this overrides
settings in <filename>/etc/apt/apt.conf</filename> and
<filename>~/.aptitude/config</filename>).
+ Packages previously installed due to recommendations
+ will not be removed.
</para>
<para>
- This corresponds to the configuration option <literal><link linkend='configRecommends-Important'>Aptitude::Recommends-Important</link></literal>
+ This corresponds to the pair of configuration options
<literal><link
linkend='configRecommends-Important'>Aptitude::Recommends-Important</link></literal>
and <literal><link
linkend='comfigKeep-Recommends'>Aptitude::Keep-Recommends</link></literal>.
</para>
</listitem> </varlistentry>
diff -r 0f9daa5a5dfc -r fc7b9b620fe9 src/main.cc
--- a/src/main.cc Sat Jan 06 06:27:33 2007 +0000
+++ b/src/main.cc Sat Jan 06 22:29:15 2007 +0000
@@ -1,6 +1,6 @@
// main.cc (ne�testscr.cc)
//
-// Copyright 1999-2006 Daniel Burrows
+// Copyright 1999-2007 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify
// it under the terms of the GNU General Public License as published
// by
@@ -323,6 +323,7 @@ int main(int argc, char *argv[])
break;
case 'R': aptcfg->SetNoUser(PACKAGE "::Recommends-Important", "false");
+ aptcfg->SetNoUser(PACKAGE "::Keep-Recommends", "true");
break;
case 't': aptcfg->SetNoUser("APT::Default-Release", optarg);
Apparently the Debian changelog didn't get picked up by the archive
software (maybe it was a multi-version upload?) so this wasn't closed.
Thanks for bringing this to my attention, I'll close it immediately.
On Tue, Nov 20, 2007 at 05:43:25PM -0500, Frédéric Brière <email address hidden> was heard to say: recommends
> Until this bug is fixed, could the following be redacted from the
> manpage?
>
> -R, --without-
> [...]
> Packages previously installed due to recommendations will not be
> removed.
It was fixed in the same commit that introduced those lines:
changeset: 588:fc7b9b620fe9 Important when --without- recommends is passed. This may have
user: Daniel Burrows <email address hidden>
date: Sat Jan 06 22:29:15 2007 +0000
summary: [aptitude @ Enable Keep-Recommends as well as disabling
Recommends-
side-effects I haven't forseen, but seems much better than removing
piles of packages for a single install. (Closes: #143532)]
daniel@ alpaca: ~/programming/ aptitude/ head$ hg diff -r 587:588 manpage. xml Sat Jan 06 06:27:33 2007 +0000 manpage. xml Sat Jan 06 22:29:15 2007 +0000 not</emphasis> treat recommendations as
dependenci es when installing new packages (this overrides /etc/apt/ apt.conf< /filename> and ~/.aptitude/ config< /filename> ).
diff -r 0f9daa5a5dfc -r fc7b9b620fe9 doc/en/manpage.xml
--- a/doc/en/
+++ b/doc/en/
@@ -763,10 +763,12 @@ ihA raptor-utils - Ra
<para>
Do <emphasis>
settings in <filename>
<filename>
+ Packages previously installed due to recommendations
+ will not be removed.
</para>
<para>
linkend= 'configRecommen ds-Important' >Aptitude: :Recommends- Important< /link>< /literal> 'configRecommen ds-Important' >Aptitude: :Recommends- Important< /link>< /literal> 'comfigKeep- Recommends' >Aptitude: :Keep-Recommend s</link> </literal> .
</varlistentry>
aptcfg- >SetNoUser( PACKAGE "::Recommends- Important" , "false"); >SetNoUser( PACKAGE "::Keep- Recommends" , "true");
aptcfg- >SetNoUser( "APT::Default- Release" , optarg);
- This corresponds to the configuration option <literal><link
+ This corresponds to the pair of configuration options
<literal><link
linkend=
and <literal><link
linkend=
</para>
</listitem>
diff -r 0f9daa5a5dfc -r fc7b9b620fe9 src/main.cc
--- a/src/main.cc Sat Jan 06 06:27:33 2007 +0000
+++ b/src/main.cc Sat Jan 06 22:29:15 2007 +0000
@@ -1,6 +1,6 @@
// main.cc (ne�testscr.cc)
//
-// Copyright 1999-2006 Daniel Burrows
+// Copyright 1999-2007 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify
// it under the terms of the GNU General Public License as published
// by
@@ -323,6 +323,7 @@ int main(int argc, char *argv[])
break;
case 'R':
+ aptcfg-
break;
case 't':
Apparently the Debian changelog didn't get picked up by the archive
software (maybe it was a multi-version upload?) so this wasn't closed.
Thanks for bringing this to my attention, I'll close it immediately.
Daniel