Re: Aptitude wants to remove OpenOffice.org



Hi Bob,

On 6/8/07, Bob Proulx <bob@xxxxxxxxxx> wrote:

To prevent aptitude from removing some packages that were pulled in
through dependencies, you need to manually unmark them as auto
packages. This includes OpenOffice and Vim for desktop installs:

# aptitude unmarkauto openoffice.org vim

And 2.6 kernel images if you have installed them using a kernel
metapackage:

# aptitude unmarkauto $(dpkg-query -W 'kernel-image-2.6.*' | cut
# -f1)

Note: You can review which packages are marked as auto in aptitude by
running:

# aptitude search 'i~M <package name>'




Thanks, I was not aware of these options.

Manon.

Relevant Pages

  • Re: Total confusion with aptitude. Help, please!
    ... Using the aptitude command `find broken', it reports, amongst others, ... vim works just fine. ... "aptitude install aptitude". ... followed by a frighteningly large list packages ...
    (Debian-User)
  • aptitude has poor exit status behaviour
    ... In the course of scripting some aptitude upgrade activity I've found ... Ign http://ftp.de.debian.org etch/main Packages/DiffIndex ... Ign http://security.debian.org etch/updates/main Packages/DiffIndex ... Err http://security.debian.org etch/updates/main Packages ...
    (Debian-User)
  • Re: Delete part of metapackage?
    ... example) without deleting or installing the entire KDE ... I'm guessing you are using aptitude to manage the package ... apt-get remove <a metapackage name> ... Then you can remove select packages in aptitude without questions ...
    (Debian-User)
  • [FLSA-2005:2343] Updated vim packages fix security issues
    ... Updated vim packages that fix multiple vulnerabilities are now ... VIM is an updated and improved version of the vi screen- ... where is a list of the RPMs you wish to upgrade. ...
    (Bugtraq)
  • [Full-Disclosure] [FLSA-2005:2343] Updated vim packages fix security issues
    ... Updated vim packages that fix multiple vulnerabilities are now ... VIM is an updated and improved version of the vi screen- ... where is a list of the RPMs you wish to upgrade. ...
    (Full-Disclosure)