Debian Bug report logs - #341400
aptitude: [extension] add custom package relationships

version graph

Package: aptitude; Maintainer for aptitude is Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>; Source for aptitude is src:aptitude.

Reported by: Bas Wijnen <shevek@fmf.nl>

Date: Wed, 30 Nov 2005 13:18:01 UTC

Severity: wishlist

Found in version aptitude/0.4.0-3

Fix blocked by 695436: aptitude: user extensions

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#341400; Package aptitude. Full text and rfc822 format available.

Acknowledgement sent to Bas Wijnen <shevek@fmf.nl>:
New Bug report received and forwarded. Copy sent to Daniel Burrows <dburrows@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Bas Wijnen <shevek@fmf.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: aptitude: Allow manual setting of dependancies
Date: Wed, 30 Nov 2005 14:09:54 +0100
Package: aptitude
Version: 0.4.0-3
Severity: wishlist

Compared to plain apt, I think the nicest feature of aptitude is the
handling of "automatically installed packages".  I think it could be
even improved a bit.

My idea is to determine automatically (from Depends: and Recommends:,
and possibly Suggests:) if a package is automatically installed, just
like it is now.  However, I would like to have an option to manually add
a dependency, which keeps a package automatically installed.  For
example, I don't want suggested packages to always be installed with a
package, but in many cases I want some of them.  What I currently have
to do is to manually install them, which means they will not be
deinstalled when I remove the package which suggests them.  In some
other cases there may not even be a suggests relation, and I might still
consider it "automatically installed because of this package".

So in short: I'd like each package to have the option of getting extra
dependancies, manually specified by the user, which keep automatically
installed packages from being removed.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.42.3   Advanced front-end for dpkg
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-4  GCC support library
ii  libncursesw5                  5.5-1      Shared libraries for terminal hand
ii  libsigc++-2.0-0c2             2.0.16-1   type-safe Signal Framework for C++
ii  libstdc++6                    4.0.2-4    The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.0-3    English manual for aptitude, a ter

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#341400; Package aptitude. (Sat, 08 Dec 2012 04:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Hartwig <mandyke@gmail.com>:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Sat, 08 Dec 2012 04:51:04 GMT) Full text and rfc822 format available.

Message #10 received at 341400@bugs.debian.org (full text, mbox):

From: Daniel Hartwig <mandyke@gmail.com>
To: Bas Wijnen <shevek@fmf.nl>, 341400@bugs.debian.org
Subject: Re: Bug#341400: aptitude: Allow manual setting of dependancies
Date: Sat, 08 Dec 2012 12:49:28 +0800
> However, I would like to have an option to manually [install]
> a dependency, which keeps a package automatically installed.  For
> example, I don't want suggested packages to always be installed with a
> package, but in many cases I want some of them.  What I currently have
> to do is to manually install them, which means they will not be
> deinstalled when I remove the package which suggests them.

If you manually install a suggested or recommended package, then mark it
as automatically-installed, it will remain installed.  This depends on
the setting of APT::AutoRemove::SuggestsImportant, which defaults to
true.

Where an actual relationship exists, the package should not be removed.

Nothing to see here either.

> In some
> other cases there may not even be a suggests relation, and I might
> still consider it "automatically installed because of this package".
>
> So in short: I'd like each package to have the option of getting extra
> dependancies, manually specified by the user, which keep automatically
> installed packages from being removed.

Ok.  Creating dependencies, that could be a useful extension.

Note that you can currently achieve this behaviour by creating local
metapackages.  Such a package should depend on the main package of
interest, and either suggest or recommend the supplementary package.
Then you install the metapackage rather than the main package.

Local metapackages are /extremely/ useful to control an entire set of
applications of interest.[1]

Regards

[1] <http://juliank.wordpress.com/2012/01/24/managing-system-package-selections-using-custom-meta-packages/>



Changed Bug title to 'aptitude: [extension] add custom package relationships' from 'aptitude: Allow manual setting of dependancies' Request was from Daniel Hartwig <mandyke@gmail.com> to control@bugs.debian.org. (Sat, 08 Dec 2012 06:00:07 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 341400: 695436 Request was from Daniel Hartwig <mandyke@gmail.com> to control@bugs.debian.org. (Sat, 08 Dec 2012 06:00:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 25 09:33:36 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.