[Aptitude-devel] Bug#808905: forbid-version vs. "Do you want to continue? [Y/n/?]"

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Dec 24 09:37:39 UTC 2015


Package: aptitude
Version: 0.7.5-3
Severity: minor

Come to think of it, it is not entirely clear, when we get to
"Do you want to continue? [Y/n/?]"
if that means we are being asked if we are sure we want to forbid, or if
that has already been done.

# aptitude forbid-version perl perl-base perl-doc  xserver-xorg-core
Marking version 5.22.1-2 of package perl as forbidden
Marking version 5.22.1-2 of package perl-base as forbidden
Marking version 5.22.1-2 of package perl-doc as forbidden
Marking version 2:1.18.0-1 of package xserver-xorg-core as forbidden
Marking version 5.22.1-2 of package perl as forbidden
Marking version 5.22.1-2 of package perl-base as forbidden
Marking version 5.22.1-2 of package perl-doc as forbidden
Marking version 2:1.18.0-1 of package xserver-xorg-core as forbidden
The following packages will NOT be UPGRADED:
  kmod{a} (R: module-init-tools)  libapt-pkg-perl{a}  libcommon-sense-perl{a}  libcurses-perl{a}
  libfile-fnmatch-perl{a}  libhtml-parser-perl{a} (S: libdata-dump-perl)  libjson-xs-perl  libkmod2{a}
  liblocale-gettext-perl  libnet-dns-perl  libnet-ssleay-perl{a}  libnetaddr-ip-perl  libsocket6-perl{a}
  libterm-readkey-perl{a}  libtext-charwidth-perl  libtext-iconv-perl  libunicode-map8-perl
  libunicode-string-perl  libuuid-perl{a}  libversion-perl{a}  libxml-libxml-perl  libyaml-syck-perl{a}
  perl  perl-base  perl-doc  xserver-xorg-core
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]

Current status: 0 (+0) broken, 26 (+0) upgradable, 12630 (+0) new.

Seen with
# apt-config dump|grep Aptitude
Aptitude "";
Aptitude::CmdLine "";
Aptitude::CmdLine::Always-Prompt "true";
Aptitude::CmdLine::Show-Why "true";
Aptitude::CmdLine::Show-Deps "true";
Aptitude::CmdLine::Verbose "1";
Aptitude::Purge-Unused "true";

We note "Marking version" double messages appear too, as reported elsewhere
by me.



More information about the Aptitude-devel mailing list