[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476075: closed by Osamu Aoki <osamu@debian.org> (apt-get removes as instructed. Not a bug)



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 <osamu@debian.org>.

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 <osamu@debian.org> by
replying to this email.




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

Subject:
apt-get removes as instructed. Not a bug
From:
Osamu Aoki <osamu@debian.org>
Date:
Thu, 1 May 2008 21:36:58 +0900
To:
476075-done@bugs.debian.org

To:
476075-done@bugs.debian.org


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





Reply to: