Hi,

Then may I propose you to integrate the following patch (to be corrected if I am wrong) to the manual page apt-get.8?

--- apt-get.8.orig      2008-05-01 15:20:11.000000000 +0200
+++ apt-get.8   2008-05-01 15:15:55.000000000 +0200
@@ -100,7 +100,9 @@
 remove
 is identical to
 install
-except that packages are removed instead of installed\. If a plus sign is appended to the package name (with no intervening space), the identified package will be installed instead of removed\. +except that packages are removed instead of installed\. This is a very dangerous option, as not only the packages specified, but also their dependencies are removed, and without prompting. Please simulate the execution with the \fB\-s\fR option before executing it!
+.sp
+If a plus sign is appended to the package name (with no intervening space), the identified package will be installed instead of removed\.
 .RE
 .PP
 purge

(Sorry for the new lines added by icedove, please remove them to obtain the patch.)

Finally, in fact, I do not understand the algorithm. For ex., when I execute apt-get -s remove ^openof.*, why aspell is removed, but ttf-opensymbol not? I have both on my system.

What does it mean "identical to install except that packages are removed"? I know that installing means "install them and all their currently uninstalled dependencies, recursively". Does remove means "remove them and all its dependencies, and recursively all the dependencies of dependencies"?

Cheers,
Eugen Dedu

Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
which was filed against the apt package:

#476075: apt-get remove open* removes almost (or all) the packages without 
asking permission!!

It has been closed by Osamu Aoki <[EMAIL PROTECTED]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Osamu Aoki <[EMAIL 
PROTECTED]> by
replying to this email.




------------------------------------------------------------------------

Subject:
apt-get removes as instructed. Not a bug
From:
Osamu Aoki <[EMAIL PROTECTED]>
Date:
Thu, 1 May 2008 21:36:58 +0900
To:
[EMAIL PROTECTED]

To:
[EMAIL PROTECTED]


Hi,

This is how we expect this command to behave.

The original bug submitter may not got Bcced so here is URL:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476075

This is expected behavior so I think it is best closed.

You can remove quite bit more with sudo apt-get -s remove '*'
...

Osamu





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

Reply via email to