[Bug 56742] Re: aptitude: install --without-recommends removes packages
Sorry, dunno why I originally reported this against "apt" instead of "aptitude", could you please move the "Confirmed" tag and remove (or somehow invalidate) the "apt" package? ** Also affects: aptitude (Ubuntu) Importance: Undecided Status: Unconfirmed ** Bug watch added: Debian Bug tracker #143532 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143532 ** Also affects: aptitude (upstream) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143532 Importance: Unknown Status: Unknown -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
** Changed in: aptitude (upstream) Status: Unknown => Unconfirmed -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
** Changed in: apt (Ubuntu) Status: Confirmed => Rejected -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
I think I got something which looks sort of like an upstream confirmation in http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=143532;msg=68;att=0 -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Like I wrote in the initial comment, I cannot come up with a case where it would be useful for "install" to actually "remove" some (often, apparently unrelated) packages. For "upgrade", I can somehow see how at least sometimes this would not be surprising (if you have an auto-installed package which used to be Depends: but which was demoted to Recommends: maybe?) -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Actually, for completeness, merely installing those packages had no effect; the actual workaround for me was "aptitude install --without- recommends miscfiles openssl postfix resolvconf ssl-cert wamerican xli language-pack-en" (yeah, I let go of libjpeg-progs) -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Could you please try this again with: sudo aptitude install -vv --show-deps --without-recommends language- pack-en? And attach that output to this bug? You may have to mark those packages it wanted to remove as automatic, instead of explicit, to reproduce the behaviour. Thanks. ** Changed in: apt (Ubuntu) Status: Unconfirmed => Needs Info -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Out of curiosity, does: $ sudo apt-get install --install-recommends language-pack-en has the desired effect? -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
I created a VMware image so I could repro this ... good thing I took notes while installing that machine (-: I believe a minimal repro scenario for this would be to set up a plain server install, then install anacron, which pulls in postfix and other useful packages, and then install language-pack-en on top of that, and see those useful packages be removed if you use --without-recommends Here's what the requested commands do: vnix$ sudo apt-get install --install-recommends language-pack-en E: Command line option --install-recommends is not understood Speculating that this might be what Michael wanted (aptitude instad of apt-get, --with-recommends instead of --install-recommends): vnix$ sudo aptitude install --with-recommends language-pack-en <... reading package lists etc ...> The following NEW packages will be automatically installed: aspell aspell-en language-pack-en-base language-support-en libaspell15 mozilla-firefox-locale-en-gb myspell-en-gb myspell-en-us openoffice.org-help-en-us openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-us openoffice.org-l10n-en-za openoffice.org-thesaurus-en-us thunderbird-locale-en-gb wbritish The following NEW packages will be installed: <.. the same as above, plus language-pack-en ...> 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 -vv --show-deps --without-recommends language-pack-en <... reading package lists etc ...> The following packages are unused and will be REMOVED: libjpeg-progs miscfiles openssl (D: ssl-cert) postfix resolvconf ssl-cert (D: postfix) wamerican xli The following NEW packages will be automatically installed: language-pack-en-base (D: language-pack-en, R: language-pack-en) The following NEW packages will be installed: language-pack-en language-pack-en-base The following packages are RECOMMENDED but will NOT be installed: language-support-en (R: language-pack-en-base) 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. Sorry for any typos, I stupidly didn't set up VMware in a way that would have made it convenient to copy/paste stuff. Some packages such as wamerican were pulled in earlier by other dependencies but are not central to understanding what's going on here, I believe. -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
There are sufficient steps to reproduce this behaviour. I'm going to confirm that this report is valid. ** Changed in: apt (Ubuntu) Importance: Untriaged => Medium Status: Needs Info => Confirmed -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Is this a bug in aptitude or its manual page? I noticed aptitude -R upgrade also removes dependencies which were installed as Recommends: (or Suggests: ?). Useful feature, but should -R install/upgrade actually work this way? -- aptitude: install --without-recommends removes packages https://launchpad.net/bugs/56742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Marking as fixed in gutsy. Please reopen if you still have the issue. ** Changed in: aptitude (Ubuntu) Importance: Undecided => Medium Status: Incomplete => Fix Released -- aptitude: install --without-recommends removes packages https://bugs.launchpad.net/bugs/56742 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
** Changed in: aptitude Status: New => Fix Released -- aptitude: install --without-recommends removes packages https://bugs.launchpad.net/bugs/56742 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
This is supposed to be fixed in Gutsy with latest aptitude: * Automatically enable Keep-Recommends when --without-recommends is passed on the command-line. As a practical matter, this means that --without-recommends no longer tries to remove a bunch of packages. (Closes: #143532) era, can you confirm that this fixes the issue for you as well? ** Changed in: aptitude (Ubuntu) Status: New => Incomplete -- aptitude: install --without-recommends removes packages https://bugs.launchpad.net/bugs/56742 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 56742] Re: aptitude: install --without-recommends removes packages
Related Debian/upstream bug is also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424932. Adding"-o Aptitude::Keep-Recommends=true" from command-line works as a workaround. -- aptitude: install --without-recommends removes packages https://bugs.launchpad.net/bugs/56742 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs