aptitude: install --without-recommends removes packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
aptitude (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm afraid I find the semantics of --without-
Pretty please could you provide an option which means "I don't want to install the Recommends: packages but if they are already on my system, don't remove them"?
For example, just now:
vnix$ sudo aptitude install language-pack-en
<... eek, wants to install openoffice.
0 packages upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.5MB of archives. After unpacking 74.4MB will be used.
Do you want to continue? [Y/n/?] n
Abort.
vnix$ sudo aptitude install --without-
<...>
The following packages are unused and will be REMOVED:
libjpeg-progs miscfiles openssl postfix resolvconf ssl-cert wamerican xli
The following NEW packages will be automatically installed:
language-
The following NEW packages will be installed:
language-pack-en language-
0 packages upgraded, 2 newly installed, 8 to remove and 0 not upgraded.
Need to get 1385kB of archives. After unpacking 3355kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
vnix$ # cripes
As a workaround, I "aptitude installed" those packages I wanted to keep on my system (postfix? sounds good. openssl? Yeah, I guess) and only then proceeded to install language-pack-en --without-
Changed in aptitude: | |
status: | Unknown → Unconfirmed |
Changed in apt: | |
status: | Confirmed → Rejected |
Changed in aptitude: | |
status: | New → Fix Released |
On Thu, Apr 18, 2002 at 07:43:23PM -0400, David B Harris <email address hidden> was heard to say:
> P.S.: 'sudo aptitude -i' doesn't want to remove/install any packages -
> so the above list was generated on-the-fly, nothing stateful involved
> with respect to the state of my selections.
Hm, I've been considering "closing over" the state of those options
for individual packages. I'm not sure this is ideal -- in particular,
it might result in hard-to-understand behavior in some cases -- but it's
a nice way of eliminating this problem (and its reciprocal)
Daniel
-- ------- ------- Daniel Burrows <email address hidden> ------- ------- -----\ www.debian. org --/
/------
| Wisdom is one of the few things |
| that looks bigger the farther away it is. |
| -- Terry Pratchett |
\-- Does your computer have Super Cow Powers? ------- http://