goto exit;
/* Search for an unsatisfied dependency. */
- if (adding && !retrying && !(dsflags & RPMSENSE_PRETRANS) &&
- !(rpmtsFlags(ts) & RPMTRANS_FLAG_NOSUGGEST)) {
+ if (adding && !retrying && !(dsflags & RPMSENSE_PRETRANS)) {
int xx = rpmtsSolve(ts, dep);
if (xx == 0)
goto exit;
{ NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE,
installArgCallback, 0, NULL, NULL },
- { "aid", '\0', POPT_BIT_SET | POPT_ARGFLAG_DOC_HIDDEN,
- &rpmIArgs.transFlags, RPMTRANS_FLAG_ADDINDEPS,
- N_("add suggested packages to transaction"), NULL },
-
{ "allfiles", '\0', POPT_BIT_SET,
&rpmIArgs.transFlags, RPMTRANS_FLAG_ALLFILES,
N_("install all files, even configurations which might otherwise be skipped"),
N_("do not reorder package installation to satisfy dependencies"),
NULL},
- { "nosuggest", '\0', POPT_BIT_SET | POPT_ARGFLAG_DOC_HIDDEN,
- &rpmIArgs.transFlags, RPMTRANS_FLAG_NOSUGGEST,
- N_("do not suggest missing dependency resolution(s)"), NULL},
-
{ "noscripts", '\0', 0, NULL, RPMCLI_POPT_NOSCRIPTS,
N_("do not execute package scriptlet(s)"), NULL },
vsflags = setvsFlags(ia);
ovsflags = rpmtsSetVSFlags(ts, vsflags);
- /* XXX suggest mechanism only meaningful when installing */
- ia->transFlags |= RPMTRANS_FLAG_NOSUGGEST;
-
(void) rpmtsSetFlags(ts, ia->transFlags);
#ifdef NOTYET /* XXX no callbacks on erase yet */
RPMTRANS_FLAG_NOMD5 = (1 << 27), /*!< from --nomd5 */
RPMTRANS_FLAG_NOFILEDIGEST = (1 << 27), /*!< from --nofiledigest (alias to --nomd5) */
- RPMTRANS_FLAG_NOSUGGEST = (1 << 28), /*!< from --nosuggest */
- RPMTRANS_FLAG_ADDINDEPS = (1 << 29), /*!< from --aid */
+ RPMTRANS_FLAG_NOSUGGEST = (1 << 28), /*!< obsolete, unused */
+ RPMTRANS_FLAG_ADDINDEPS = (1 << 29), /*!< obsolete, unused */
RPMTRANS_FLAG_NOCONFIGS = (1 << 30), /*!< from --noconfigs */
RPMTRANS_FLAG_DEPLOOPS = (1 << 31) /*!< from --deploops */
};